@foreach ($accountingVouchers as $accountingVoucher) @php $separate_print = $company->separate_print_for_branch; if ($separate_print == 1) { $branch = $accountingVoucher->branch; } else { $branch = null; } @endphp @if ($show_seller) @endif
@if ($pageLogo != null) Logo @endif @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'] }}
--}}
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
@if ($company->show_weight_details == 1) @endif @foreach ($accountingVoucher->items as $key => $item) @if ($company->show_weight_details == 1) @endif @endforeach @if ($company->show_weight_details == 1) @endif
SN ItemLoad Weight Empty WeightQty Unit Price Dis
(%)
Total
{{ $key + 1 }} {{ $item->stockItem->name }} - {{ $item->stockItem->internal_barcode }}{{ $item->load_weight }} {{ $item->empty_weight }}{{ $item->quantity }} {{ $item->unit->symbol }} {{ $item->price_inc_tax }} {{ $item->disc_percentage }} {{ $item->total }}
Total {{ $accountingVoucher->items->sum('quantity') }} {{ number_format($accountingVoucher->items->sum('total'), 2) }}
@if ($company->show_remarks && $accountingVoucher->remarks != null)
Remarks : {{ $accountingVoucher->remarks }}
@endif @if ($company->bankLedger != null) @endif @if ($company->show_outstanding && $accountingVoucher->debitLedger->name != 'Cash') @endif
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 }}
Discount : Rs.{{ $accountingVoucher->discount ?? '0.00' }}
Freight/Etc : Rs.{{ $accountingVoucher->freight }}
Round Off : Rs.{{ $accountingVoucher->round_off }}
Grand Total : Rs.{{ $accountingVoucher->amount }}
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 }}
Authorized Signature
@if ($printsettings->terms_conditions_in_estimate == 1) @endif @if ($accountingVouchers->last() != $accountingVoucher)
@endif @endforeach