|
{{ $company->name }}
{{ $company->phone }}
{{ $company->gst }}
{{ $company->address }}
|
From {{ \Carbon\Carbon::parse($fromDate)->format('d-M-Y') }} To {{ \Carbon\Carbon::parse($toDate)->format('d-M-Y') }}
| SN | Date | Voucher No |
Item | Transaction | Party | Inwards | Outwards | Quantity | Unit | Rate | Amount |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $stockLedger->date != null ? \Carbon\Carbon::parse($stockLedger->date)->format('d-m-Y') : '' }} | {{ $stockLedger->voucher_number ?? '--' }} | {{ $stockLedger->stockItem->name }} | {{ $stockLedger->transaction }} | @if ($stockLedger->transaction === "Sales") {{ $stockLedger->accountingVoucherItem->accountingVoucher->debitLedger->name ?? '' }} @elseif ($stockLedger->transaction === "Sales Return") {{ $stockLedger->accountingVoucherItem->accountingVoucher->creditLedger->name ?? '' }} @elseif ($stockLedger->transaction === "Purchase") {{ $stockLedger->accountingVoucherItem->accountingVoucher->creditLedger->name ?? '' }} @elseif ($stockLedger->transaction === "Purchase Return") {{ $stockLedger->accountingVoucherItem->accountingVoucher->debitLedger->name ?? '' }} @elseif ($stockLedger->transaction === "Stock Journal") Stock Journal @elseif ($stockLedger->transaction === "Opening Stock") Opening Stock @endif | {{ $stockLedger->inwards }} | {{ $stockLedger->outwards }} | {{ $stockLedger->quantity }} | {{ $stockLedger->unit }} | {{ number_format($stockLedger->rate, 2) }} | {{ $stockLedger->amount }} |
| Total | {{ number_format($stockLedgers->sum('inwards'), 2) }} | {{ number_format($stockLedgers->sum('outwards'), 2) }} | {{ $stockLedgers->sum('quantity') }} | {{ number_format($stockLedgers->sum('rate'), 2) }} | {{ number_format($stockLedgers->sum('amount'), 2) }} | ||||||
|
Authorized Signature
|