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

Gatepass In

@include('flash::message')

Cargo details

{!! Form::label('consignee', 'Consignee:') !!}
{!! Form::label('consignee', $cargodetail->cargoheader->cargodeclarations->consignees->name) !!}
{!! Form::label('transitor', 'Transitor:') !!}
{!! Form::label('transitor', $cargodetail->cargoheader->cargodeclarations->transitors->name) !!}
{!! Form::label('t1', 'T1:') !!}
{!! Form::label('t1', $cargodetail->cargoheader->t1) !!}
{!! Form::label('cargo_type', 'Cargo Type:') !!}
{!! Form::label('cargo_type', $cargodetail->cargotype->name) !!}
@if($emptycontainer->gatepass_in)
{!! Form::label('cargo_type', 'Driver:') !!}
{!! Form::label('cargo_type', $emptycontainer->gatepassin->drivers->full_name) !!}
{!! Form::label('cargo_type', 'Truck:') !!}
{!! Form::label('cargo_type', $emptycontainer->gatepassin->trucks->plate_number.'/'.$emptycontainer->gatepassin->trucks->trailer_plate_number) !!}
@endif
{!! Form::label('licence_no', 'Licence:') !!} {!! Form::text('licence_no', null, ['class' => 'form-control','id'=>'driver_licence', 'placeholder'=>'Driver licence no']) !!}
{!! Form::label('', '') !!}
{!! Form::submit('Check',['id'=>'check','class'=>'btn btn-sm btn-info']); !!}
{!! Form::open(['route' => 'emptycontainer.gatepassins.store','id'=>'formdetail']) !!}
{!! Form::label('full_name', 'Full Name:') !!}
{!! Form::text('full_name', null, ['class' => 'form-control full_name']) !!}
{!! Form::label('licence_number', 'Licence number:') !!}
{!! Form::text('licence_number', null, ['class' => 'form-control licence_number']) !!}
{!! Form::label('plate_number', 'Code:') !!}
{{-- --}} {!! Form::text('plate_front', 3, ['class' => 'form-control','style'=>'padding-left: 30px']) !!}
{!! Form::label('plate_number', 'Plate Number:') !!}
{!! Form::text('plate_number', null, ['class' => 'form-control','style'=>'margin-left: -30px;']) !!}
{!! Form::label('plate_number', 'Code:') !!}
{{-- --}} {!! Form::text('trailer_front', 3, ['class' => 'form-control','style'=>'padding-left: 30px']) !!}
{!! Form::label('trailer_plate_number', 'Trailer Plate Number:') !!}
{!! Form::text('trailer_plate_number', null, ['class' => 'form-control','style'=>'margin-left: -30px;']) !!}
{!! Form::submit('Save', ['class' => 'btn btn-primary','id'=>'savedetail']) !!} Cancel
{!! Form::close() !!}
@stop @section('footer_scripts') @stop