@extends('admin/layouts/default') @section('title') Cargodetail @parent @stop @section('content') @include('common.errors')

Cargodetail

Create New Cargodetail


{!! Form::label('t1', 'T1:') !!}
{!! Form::label('t1', $cargoheader->t1) !!}
{!! Form::label('truck', 'Truck:') !!}
{!! Form::label('truck', $cargoheader->trucks->plate_number) !!}
{!! Form::label('declaration', 'Declaration No:') !!}
{!! Form::label('declaration', $cargodeclaration->declaration_number) !!}
{!! Form::label('consignee', 'Consignee:') !!}
{!! Form::label('consignee', $cargodeclaration->consignees->name) !!}
{!! Form::label('consignee', 'Transitor:') !!}
{!! Form::label('consignee',$cargodeclaration->transitors->name) !!}
{{-- {!! Form::open(['route' => 'admin.cargoheaders.check']) !!}--}} @if($cargoheader->driver) @else
{!! 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']); !!}
@endif {!! Form::open(['route' => 'admin.cargodetails.store','id'=>'formdetail']) !!} {{-- {!! Form::close() !!}--}} @if($cargoheader->driver)
{!! Form::label('full_name', 'Driver Full Name:') !!}
{!! Form::label('full_name', $cargoheader->drivers->full_name) !!}
{!! Form::label('licence_number', 'Licence number:') !!}
{!! Form::label('licence_number', $cargoheader->drivers->licence_number) !!}
@else
{!! Form::label('full_name', 'Driver 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']) !!}
@endif
{!! Form::label('cargotype', 'Cargo type:') !!} {!! Form::select('cargotype', $cargotype, $formdisplay, ['class' => 'form-control','id'=>'cargo_type']) !!}

@include('admin.cargoheaders.fields_detail') {!! Form::close() !!}
@stop @section('footer_scripts') @stop