Transporter | Document | Document Nr | Supplier | Registration Number | Equipment | Valid From | Valid To | Days Due | @foreach($finalArray as $data)
---|---|---|---|---|---|---|---|---|
{{ $data['transporter'] }} | {{ $data['document'] }} | {{ $data['document_nr'] }} | {{ $data['supplier'] }} | {{ $data['registration_number'] }} | {{ $data['equipment'] }} | {{ $data['valid_from'] }} | {{ $data['valid_to'] }} | @if($dys > 90) {{ $dys }} days @endif @if($dys <= 90 && $dys > 60) {{ $dys }} days @endif @if($dys <= 60 && $dys > 30) {{ $dys }} days @endif @if($dys <= 30 && $dys > 0) {{ $dys }} days @endif @if($dys < 0) Overdue @endif |