{{$i++}} |
{{$each->barcode}} |
{{$each->ticket_no}} |
@if($each->in_type == 2){{$each->in_type_id}}@elseif($each->out_type == 2){{$each->out_type_id}}@elseif($each->cps_type == 2){{$each->cps_type_id}}@endif |
{{$each->vehicle_number}} |
{{$each->in_time != '0000-00-00 00:00:00' ? date("d-m-Y H:i:s",strtotime($each->in_time)) : ''}} |
{{$each->in_user_name}} |
{{$each->in_gate_name}} |
@if($each->out_time != '0000-00-00 00:00:00')
{{date("d-m-Y H:i:s",strtotime($each->out_time))}} |
@else
{{'0000-00-00 00:00:00'}} |
@endif
{{$each->out_user_name}} |
{{$each->out_gate_name}} |
{{--Added CPS --}}
@if($each->cps_out_time != '0000-00-00 00:00:00')
{{date("d-m-Y H:i:s",strtotime($each->cps_out_time))}} |
@else
{{'0000-00-00 00:00:00'}} |
@endif
{{--{{!empty($each->cps_out_time) ? date("d-m-Y H:i:s",strtotime($each->cps_out_time)) : '0000-00-00 00:00:00'}} | --}}
{{$each->cps_user_name}} |
{{$each->cps_gate_name}} |
{{--End CPS--}}
@endforeach