@extends('admin.layout.print') @section('content')
{{ $admin->address ?? '' }}
Phone: {{ $admin->contact ?? 'N/A' }}
| # | Date | Item | Qty | Price | Payment | Debit | Credit | Balance |
|---|---|---|---|---|---|---|---|---|
| - | - | Opening Balance | - | - | - | - | - | Rs. {{ number_format($balance) }} |
| {{ $sr++ }} | {{ \Carbon\Carbon::parse($purchase->date)->format('d/m/Y') }} | {{ $purchase->item_name ?? 'Purchase' }} | {{ $purchase->quantity ?? '-' }} | {{ number_format($purchase->total ?? 0) }} | {{ ucfirst($purchase->mop ?? '-') }} | Rs. {{ number_format($debit) }} | - | Rs. {{ number_format($balance) }} |
| {{ $sr++ }} | {{ \Carbon\Carbon::parse($purchase->date)->format('d/m/Y') }} | Payment (Purchase) | - | - | {{ ucfirst($purchase->type ?? 'Cash') }} | - | Rs. {{ number_format($credit) }} | Rs. {{ number_format($balance) }} |
| {{ $sr++ }} | {{ \Carbon\Carbon::parse($wallet->date)->format('d/m/Y') }} | Payment | - | - | {{ ucfirst($paymentType) }} | - | Rs. {{ number_format($credit) }} | Rs. {{ number_format($balance) }} |
| Totals: | Rs. {{ number_format($totalDebitRow) }} | Rs. {{ number_format($totalCreditRow) }} | Rs. {{ number_format($balance) }} | |||||