Date : {!! date('d/m/Y') !!}

DEMURRAGE REPORT

{{----}} {{----}} @foreach($demurrage_reports as $index=>$demurrage_report) {{----}} {{----}} {{----}} @endforeach
S/N ID TruckTrailerDriverContainer Size Destination Client Shipping Line Loading Date Start Date Offloadind Date Free Days Charges/Day (USD) Elapsed Remaining Exceed Delay Charges
{{++$index}} {{$demurrage_report->loading_order_destination_id}} {{$demurrage_report->truck}}{{$demurrage_report->trailer}}{{$demurrage_report->driver}}{{$demurrage_report->container}} {{$demurrage_report->container_size}} {{$demurrage_report->destination}} {{$demurrage_report->client_code}} {{$demurrage_report->shipping_line}} {{\Carbon\Carbon::parse($demurrage_report->loading_date)->toFormattedDateString()}} {{\Carbon\Carbon::parse($demurrage_report->start_date)->toFormattedDateString()}} @if(!is_null($demurrage_report->expected_interchange_date)) {{\Carbon\Carbon::parse($demurrage_report->expected_interchange_date)->toFormattedDateString()}} @endif {{$demurrage_report->getFreeTime()}} {!! $demurrage_report->getDemurrageRate() !!}--}} {{--{{\Carbon\Carbon::parse($demurrage_report->loading_date)->addDays($demurrage_report->getFreeTime())->toFormattedDateString()}}--}} {{--{{$demurrage_report->getTimeElapsed()}} @if($demurrage_report->getTimeRemaining() > 0 ) {{$demurrage_report->getTimeRemaining()}} @else 0 @endif {{$demurrage_report->getExceedTime()}} {{$demurrage_report->getDelayTime()}} {{number_format($demurrage_report->getDemurrageCharges(),2)}}