@extends('layout.app')
@section('title', 'Create Freight Entry')
@push('header_script')
@endpush
@section('content')
{!! Form::open([
'route' => ['freight-entry.store'],
'class' => 'needs-validation',
'method' => 'post',
'autocomplete' => 'off',
'id' => 'freightForm',
]) !!}
Basic Information
@if (!empty($lastLr))
Last LR No: {{ $lastLr }}
@endif
{{ $errors->first('lr_no') }}
@php
$taxSettings = \App\Http\Helpers\CommonHelper::checkTaxSetting('enable_gst');
@endphp
{{--
@if (optional($taxSettings)->enable_gst == 'yes' && optional($taxSettings)->enable_gst_type == 'fcm')
{!! Form::select('paid_by', ['Transporter' => 'Transporter'], old('paid_by'), [
'class' => 'form-control select2',
'id' => 'paid_by',
'required',
]) !!}
@else
{!! Form::select(
'paid_by',
[
'' => '--Select--',
'Consignor' => 'Consignor',
'Consignee' => 'Consignee',
],
old('paid_by'),
['class' => 'form-control select2', 'id' => 'paid_by', 'required'],
) !!}
@endif
{{ $errors->first('paid_by') }}
--}}
{{-- CONSIGNOR --}}
{{-- CONSIGNEE --}}
{{-- TRUCK DETAILS --}}
{{-- GOODS DETAILS --}}
| Material Name / Desc |
HSN Code |
Packing Type |
No. of Units / Actual Weight |
Unit |
Charge Weight |
Rate |
Freight Amount |
Act |
{{-- Handled by JS logic below to preserve old values --}}
| Total: |
0.00 |
|
0.00 |
|
0.00 |
|
{{-- LEFT COLUMN: Invoice, Risk, Demurrage, Remarks --}}
{{-- Invoice No --}}
{{-- Invoice Date --}}
{{-- Invoice Amount --}}
{{-- E-Way Bill No --}}
{{-- E-Way Bill Validity --}}
{{-- E-Way Bill Generated On --}}
Demurrage Charge
{{-- Demurrage Charge --}}
{{-- Demurrage Per --}}
{!! Form::select(
'demurrage_per',
['' => '--Select--', 'Hour' => 'Per Hour', 'Day' => 'Per Day'],
old('demurrage_per'),
['class' => 'form-control select2', 'id' => 'demurrage_per'],
) !!}
{{ $errors->first('demurrage_per') }}
{{-- Applicable After --}}
{!! Form::select(
'demurrage_after',
[
'' => '--Select--',
'1 Hour' => '1 Hour',
'2 Hour' => '2 Hour',
'4 Hour' => '4 Hour',
'8 Hour' => '8 Hour',
'1 Day' => '1 Day',
'2 Days' => '2 Days',
],
old('demurrage_after'),
['class' => 'form-control select2', 'id' => 'demurrage_after'],
) !!}
{{ $errors->first('demurrage_after') }}
{{-- Loading Date --}}
{{-- Reporting Date --}}
{{-- MODE OF TRANSPORT --}}
{!! Form::select(
'transport_mode',
[
'Road' => 'By Road',
'Rail' => 'By Rail',
'Air' => 'By Air',
'Express' => 'Express',
],
old('transport_mode', 'Road'),
[
'class' => 'form-control select2',
'id' => 'transport_mode',
'required',
],
) !!}
{{ $errors->first('transport_mode') }}
{{-- RISK TYPE --}}
{{-- INSURANCE FIELDS --}}
{{-- RIGHT COLUMN: Freight Calculation & Submit --}}
{!! Form::close() !!}
@endsection
@push('footer_script')
@include('common.modal.party')
@include('common.modal.vehicle')
@include('common.modal.driver')
@include('common.modal.driver-mobile')
@endpush