@extends('layout') @section('body')
Statements:
@if($statements) @foreach($statements as $statement) @if($statement->statementfile)
{{$statement->period_start}}
@endif @endforeach @else @endif
Claims:
@if(!$claims)

You have not any claims

@else @foreach($claims as $claim) {{$claim->truck_number}} | {{ $claim->pickup_city }}, {{ $claim->pickup_state }} @endforeach @endif
Maintenance:
@if($maintenance->isEmpty())

You have not any appointment.

@else @foreach($maintenance as $mt)
{{$mt->truck_number}} {{$mt->fullname}} @if($mt->invoice) @else waiting @endif
@endforeach @endif
@endsection