@extends('layout.app') @section('title', 'Print Bility Entry') @push('header_script') @endpush @section('content')
@php $copies = ['First Copy', 'Second Copy']; @endphp @for ($i = 0; $i < count($copies); $i++)
{{ $copies[$i] }}
{{ strtoupper($companyDetails->company_name) }}
{{ ucfirst($companyDetails->address) }}
PAN No: {{ $companyDetails->pan_no }} GSTN No: {{ $companyDetails->gstn_no }}
CIN No: {{ $companyDetails->cin_no }}
Truck No: {{ $freightEntry->vehicle->vehicle_no }}
Truck Owner: {{ $freightEntry->vehicle->owner_name }}
Consignor/Sender Consignee GR No/GR Date
{{ $freightEntry->freight_type == 'Party' ? $freightEntry->consignor->address : $freightEntry->party->address }}
{{ $freightEntry->freight_type == 'Party' ? $freightEntry->consignor->state->state_name : $freightEntry->party->state->state_name }}
Pan No:{{ $freightEntry->freight_type == 'Party' ? $freightEntry->consignor->pan_no : $freightEntry->party->pan_no }}
GST No:{{ $freightEntry->freight_type == 'Party' ? $freightEntry->consignor->gst_no : $freightEntry->party->gst_no }}
{{ $freightEntry->freight_type == 'Party' ? $freightEntry->consignee->address : '' }}
{{ $freightEntry->freight_type == 'Party' ? $freightEntry->consignee->state->state_name : '' }}
Phone No: {{ $freightEntry->freight_type == 'Party' ? $freightEntry->consignee->mobile_no : '' }}
GST No: {{ $freightEntry->freight_type == 'Party' ? $freightEntry->consignee->gst_no : '' }}
GR No: {{ $freightEntry->gr_no ?? '' }}
GR Date: {{ date('d-m-Y', strtotime($freightEntry->date)) }}
Goods Particulars Particular Weight MT Rate PMT Amount Rs.
{{ $freightEntry->good_particular1 }}
{{ $freightEntry->good_particular2 }}
{{ $freightEntry->good_particular3 }}
{{ $freightEntry->good_particular4 }}
{{ $freightEntry->good_particular5 }}
{{ $freightEntry->good_particular6 }}
{{ $freightEntry->good_particular7 }}
{{ $freightEntry->good_particular8 }}
{{ $freightEntry->good_particular9 }}
No. of Bags: {{ $freightEntry->no_of_bag }}
Vasuli: {{ $freightEntry->vasuli }}
Loose: {{ $freightEntry->loose }}
Unloading: {{ $freightEntry->unloading }}
DI No: {{ $freightEntry->di_no }}
Holding: {{ $freightEntry->holding }}
Token No: {{ $freightEntry->token_no }}
Challan: {{ $freightEntry->challan_or_permission }}
Invoice No: {{ $freightEntry->invoice_no }}
Overload: {{ $freightEntry->overload }}
Invoice Date: {{ $freightEntry->invoice_date != '' && $freightEntry->invoice_date != '1970-01-01' ? date('d-m-Y', strtotime($freightEntry->invoice_date)) : '' }}
Kata Charge: {{ $freightEntry->kata_charge }}
Invoice Amount: {{ $freightEntry->invoice_amount }}
Eway Bill No: {{ $freightEntry->eway_bil_no }}
Eway Bill Validity: {{ $freightEntry->eway_bil_validity != '' && $freightEntry->eway_bil_validity != '1970-01-01' ? date('d-m-Y', strtotime($freightEntry->eway_bil_validity)) : '' }}
{{ $freightEntry->weight_mt }} {{ $freightEntry->rate_per_mt }} {{ $freightEntry->freight }}
GST payable by
{{ strtoupper($companyDetails->company_name) }}
For {{ strtoupper($companyDetails->company_name) }}
Authorized Signatory
@if ($i != count($copies) - 1)
@endif
@endfor @endsection @push('footer_script') @endpush