(Note: Print on both sides if note is available.)
@include('print.common.header')
Receipt Bill
Bill No.:
{{ __('app.bill') }} #: {{ $sale->sale_code }}
Date:
{{ __('app.date') }}: {{ $sale->formatted_sale_date }}
NAME
{{ $sale->party->first_name . ' ' . $sale->party->last_name }}
{{ $sale->party->shipping_address }}
@php
$isHasBatchItem =
$sale->itemTransaction->where('tracking_type', 'batch')->count() > 0
? true
: false;
//Return from Controller
$totalBatchTrackingRowCount = $isHasBatchItem
? $batchTrackingRowCount
: 0;
@endphp
| # | {{ __('item.item') }} | @if (app('company')['show_mrp']){{ __('item.mrp') }} | @endif{{ __('app.qty') }} | Amount (Rs.) |
|---|---|---|---|---|
| {{ $i++ }} |
{{ $transaction->item->name }}
{{ $transaction->description }}
@if ($transaction->itemSerialTransaction->count() > 0)
{{ $transaction->itemSerialTransaction->pluck('itemSerialMaster.serial_code')->implode(',') }} @endif |
@if (app('company')['show_mrp'])
{{ $formatNumber->formatWithPrecision($transaction->batch ? $transaction->batch->itemBatchMaster->mrp : $transaction->mrp) }} | @endif{{ $formatNumber->formatQuantity($transaction->quantity) }} | {{ $formatNumber->formatWithPrecision($transaction->total) }} |
| {{ __('app.total') }} | {{ $formatNumber->formatWithPrecision($sale->itemTransaction->sum('quantity')) }} | {{ $formatNumber->formatWithPrecision($sale->itemTransaction->sum('total')) }} | ||
|
{{ __('app.amount_in_words') }}: {{ ucwords($formatNumber->spell($sale->grand_total)) }} |
{{ __('app.grand_total') }} | {{ $formatNumber->formatWithPrecision($sale->grand_total) }} | ||
| {{ __('payment.paid_amount') }} | {{ $formatNumber->formatWithPrecision($sale->paid_amount) }} | |||
| {{ __('payment.balance') }} | {{ $formatNumber->formatWithPrecision($sale->grand_total - $sale->paid_amount) }} | |||
| {{ __('app.total_due_balance') }} | {{ $formatNumber->formatWithPrecision($partyTotalDueBalance) }} | |||
Signature