@extends('layouts.app') @section('content')
| Supplier | Company | Product | Total Bill | Paid Amount | Due Amount | Date |
|---|---|---|---|---|---|---|
| {{ $payment['supplier_name'] }} | {{ $payment['company_name'] }} | {{ $payment['product_name'] }} | Rs. {{ number_format($payment['total_bill'], 2) }} | Rs. {{ number_format($payment['paid_amount'], 2) }} | Rs. {{ number_format($payment['due_amount'], 2) }} | {{ Carbon\Carbon::parse($payment['stock_date'])->format('Y-m-d') }} |
| Total Paid Payments | Rs. {{ number_format($paidTotal, 2) }} | |||||
| Total Due Payments | Rs. {{ number_format($dueTotal, 2) }} | |||||
No supplier payments recorded for the selected date range.
| Customer Name | Phone | Due Amount | Paid Amount | Date |
|---|---|---|---|---|
| {{ $credit['customer_name'] }} | {{ $credit['phone'] }} | Rs. {{ number_format($credit['due_amount'], 2) }} | Rs. {{ number_format($credit['is_paid'], 2) }} | {{ Carbon\Carbon::parse($credit['date'])->format('Y-m-d') }} |
| Total Credit Amount | Rs. {{ number_format($creditTotal, 2) }} | |||
| Paid Credit Amount | Rs. {{ number_format($creditPaid, 2) }} | |||
No extra expenses recorded for the selected date range.