{{ __('equipment_maintenance.title') }}

@if ($flashMessage)

{{ $flashMessage }}

@endif @if ($showForm)
@endif
@foreach ([__('common.date'), __('common.equipment'), __('common.project'), __('common.type'), __('common.description'), __('common.cost'), __('equipment_maintenance.debit_account'), __('equipment_maintenance.credit_account'), __('equipment_maintenance.next_service'), __('common.remarks'), __('common.actions')] as $h) @endforeach @forelse ($rows as $item) @empty @endforelse
{{ $h }}
{{ $item->maintenance_date ? substr((string) $item->maintenance_date, 0, 10) : '-' }} {{ $item->equipment_code }} - {{ $item->equipment_name }} {{ $item->project_name ?: '-' }} {{ $item->maintenance_type }} {{ $item->description ?: '-' }} {{ $item->cost }} {{ $item->debit_account_name ?: '-' }} {{ $item->credit_account_name ?: '-' }} {{ $item->next_service_date ? substr((string) $item->next_service_date, 0, 10) : '-' }} {{ $item->remarks ?: '-' }}
{{ __('common.no_records') }}
{{ $rows->links() }}