@extends('layouts.main', ['title' => 'Asset Services | ' . config('app.name')]) @section('navigation') @stop @section('title') Asset Services @endsection @section('msghead_menu')
  • {{-- --}} {{-- @if(auth()->user()->can('IMPORT ASSET OPEN SERVICES'))--}} {{-- @endif--}}

  • @stop @section('contentinner')
    ×
    @include('errors.errors-list') {{-- @include('stores.inventories.items.includes.tabs')--}}
    {{-- --}} @foreach($asset_services as $index=>$asset) {{-- --}} @endforeach
    Name LocationCustodianService TYpe Service Frequency Service Date Due Next Service
    {{++$index}} {{ $asset->asset_code }} {{ $asset->asset->location }}{{ $asset->asset->custodian }}{{ $asset->service_code }} {{ $asset->service_frequency }} Months {{\Carbon\Carbon::parse($asset->date)->toFormattedDateString() }} {{ \Carbon\Carbon::parse($asset->date)->addMonths($asset->service_frequency)->toFormattedDateString() }} In {{ \Carbon\Carbon::now()->diffInDays(\Carbon\Carbon::parse($asset->date)->addMonths($asset->service_frequency))}} Days
    @stop