@extends('layouts.main', ['title' => 'Asset Services | ' . config('app.name')]) @section('navigation')
@stop @section('title') Asset Services @endsection @section('msghead_menu')Name | Location | {{--Custodian | --}}Service 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 |