@foreach ($accountingVouchers as $accountingVoucher)
|
@if ($pageLogo != null)
|
@php
$separate_print = $company->separate_print_for_branch;
if ($separate_print == 1) {
$branch = $accountingVoucher->branch;
} else {
$branch = null;
}
@endphp
@if ($show_seller)
@if ($branch == null || $branch->name == 'Main Branch')
{{ $company->name }}
Address : {{ $company->address }}
@else
{{ $branch->name }}
Address : {{ $branch->address }}
@endif
|
{{-- @if ($branch == null || $branch->name == 'Main Branch')
Phone : {{ $company['phone'] }}
@else
Phone : {{ $branch->mobile }}
@endif
GST No : {{ $company['gst'] }} --}}
|
@endif
|
Buyer Details
Party Name : @if ($accountingVoucher->customer != null)
{{ $accountingVoucher->customer->name }}
@else
{{ $accountingVoucher->debitLedger->name }}
@endif
Mobile No : @if ($accountingVoucher->customer != null)
{{ $accountingVoucher->customer->mobile }}
@else
{{ $accountingVoucher->debitLedger->mobile_no }}
@endif ,GST No :
{{ $accountingVoucher->debitLedger->gst }}
Address : {{ $accountingVoucher->debitLedger->address }}
@if ($printsettings->voucher_details_in_estimate == 1)
Ship To : {{ $accountingVoucher->ship_to_address }}
@endif
|
{{-- {{ $print_type }} --}} @if ($printsettings->estimate_heading != null) {{ $printsettings->estimate_heading }} @else Estimate @endif |
Estimate Details
Date : {{ \Carbon\Carbon::parse($accountingVoucher->voucher_date)->format('d M Y') }}
@if ($printsettings->voucher_details_in_estimate == 1)
Voucher No : {{ $accountingVoucher->voucher_number }}
Sales Staff : {{ $accountingVoucher->costCenter ? $accountingVoucher->costCenter->name : $accountingVoucher->user->name ?? '' }}
@endif
@if ($accountingVoucher->ship_to_address != null)
Ship To : {{ $accountingVoucher->ship_to_address }}
@endif
|
| SN | Item | @if ($company->show_weight_details == 1)Load Weight | Empty Weight | @endifQty | Unit | Price | Dis (%) |
Total |
|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $item->stockItem->name }} - {{ $item->stockItem->internal_barcode }} | @if ($company->show_weight_details == 1){{ $item->load_weight }} | {{ $item->empty_weight }} | @endif{{ $item->quantity }} | {{ $item->unit->symbol }} | {{ $item->price_inc_tax }} | {{ $item->disc_percentage }} | {{ $item->total }} |
| Total | @if ($company->show_weight_details == 1)@endif | {{ $accountingVoucher->items->sum('quantity') }} | {{ number_format($accountingVoucher->items->sum('total'), 2) }} |
|
Bank Name : {{ $company->bankLedger->name }}
Account No : {{ $company->bankLedger->account_number }}
@if($company->bankLedger->account_holder_name != null)
Account Holder Name : {{ $company->bankLedger->account_holder_name }}
@endif
IFSC Code : {{ $company->bankLedger->ifsc_code }}
Branch : {{ $company->bankLedger->branch }}
|
@endif
Discount : Rs.{{ $accountingVoucher->discount ?? '0.00' }}
Freight/Etc : Rs.{{ $accountingVoucher->freight }}
Round Off : Rs.{{ $accountingVoucher->round_off }}
Grand Total : Rs.{{ $accountingVoucher->amount }}
|
@if ($company->show_outstanding && $accountingVoucher->debitLedger->name != 'Cash')
Prev Day Balance : Rs.{{ $accountingVoucher->previousBalance }}
{{ $accountingVoucher->previousBalanceDrCr }}
Bill Date Summary :
@foreach ($accountingVoucher->todayVouchers as $todayVoucher)
{{ $todayVoucher->voucherType->name }} -
{{ $todayVoucher->voucher_number }} :
Rs.{{ $todayVoucher->amount }}
@endforeach
Bill Day Balance : Rs.{{ $accountingVoucher->todayBalance }}
{{ $accountingVoucher->todayBalanceDrCr }}
Total Outstanding : Rs.{{ $accountingVoucher->totalOutstanding }}
{{ $accountingVoucher->totalOutstandingDrCr }}
|
@endif
Authorized Signature
|