@if(isset($cost_centers[0])) @if($print) Cost Centers
Date: {{ date('d/m/Y') }}

@if($type) {{$type}} @endif @if(isset($from) && isset($to)) FROM {{\Carbon\Carbon::parse($from)->toFormattedDateString()}} TO {{\Carbon\Carbon::parse($to)->toFormattedDateString()}} @elseif(isset($from) && !isset($to)) FROM {{\Carbon\Carbon::parse($from)->toFormattedDateString()}} TO {{\Carbon\Carbon::parse(date("Y/m/d"))->toFormattedDateString()}} @elseif(!isset($from) && isset($to)) AS OF {{\Carbon\Carbon::parse($to)->toFormattedDateString()}} @else AS OF {{\Carbon\Carbon::parse(date('Y-m-d'))->toFormattedDateString()}} @endif

@if($type == 'COST CENTERS') @else @endif @foreach($cost_centers as $index => $item) @if($type == 'COST CENTERS') @endif @endforeach
TypeRegistration #
{{++$index}} {{$item->registration_number}}{{$item->category == 'DRY CARGO' ? 'TRAILER': $item->category}}
@else @endif @else









Information Not Available.!!

@endif