@extends('release/layouts/default') @section('title') Gatepass In @parent @stop {{-- Page content --}} @section('content')

Gatepass In

@include('flash::message')

Gatepass In

{{-- --}}

{!! Form::open(['route' => 'release.gatepassins.search']) !!}
Search Cargo Header
{{-- --}}
using T1 search from detailed cargo
{!! Form::close() !!} @if(isset($cargoheader))
{!! Form::label('t1', 'T1:') !!}
{!! Form::label('t1', $cargoheader->t1) !!}
{!! Form::label('declaration', 'Declaration No:') !!}
{!! Form::label('declaration', $cargoheader->cargodeclarations->declaration_number) !!}
{!! Form::label('consignee', 'Consignee:') !!}
{!! Form::label('consignee', $cargoheader->cargodeclarations->consignees->name) !!}
{!! Form::label('consignee', 'Transitor:') !!}
{!! Form::label('consignee',$cargoheader->cargodeclarations->transitors->name) !!}
{!! Form::label('recieved_date', 'Recieved date:') !!}
{!! Form::label('recieved_date', $cargoheader->created_date) !!}
@endif @if(isset($gatepassin))
@foreach($gatepassin as $gatepass) @endforeach
Driver [Licence No] Plate T1 Cargo info Status Action
{!! $gatepass->drivers->full_name !!} [{!! $gatepass->drivers->licence_number !!}] {!! $gatepass->trucks->plate_number !!} /{!! $gatepass->trucks->trailer_plate_number !!} {!! $gatepass->cargoheader->t1 !!} {!! $gatepass->cargodetail->cargotype->name !!} @if($gatepass->cargodetail->cargo_type_id==1) - {{ $gatepass->cargodetail->container_number}} [ {{ $gatepass->cargodetail->container_size}}] @endif {{ $gatepass->status }} @if($gatepass->status=='Pending')
@endif
@if($gatepass->status=='Pending') @endif
@endif @if(isset($cargodetails))
@include('release.gatepassins.table_detail') @endif
@stop