Transaction Add Payment
{{ session('success') }}
@endif
@if (session('deleteStatus'))
{{ session('deleteStatus') }}
@endif
@if (session('updateStatus'))
{{ session('updateStatus') }}
@endif
{{-- @dd($transaction); --}}
Transaction Name -{{ $transaction->transaction_name }}
{{--Amount: {{ $TotalInvoice[$transaction->id] + $TotalDepositInvoice[$transaction->id] + $TotalRemainInvoice[$transaction->id] + $TotalDepositPoReturn[$transaction->id] + $TotalDepositPointOfSale[$transaction->id] - ($TotalDepositSaleReturnPos[$transaction->id] + $TotalPurchaseOrder[$transaction->id] + $TotalDepositPurchaseOrder[$transaction->id] + $TotalDepositSaleReturnInvoice[$transaction->id] + $TotalRemainPurchaseOrder[$transaction->id] + $TotalExpense[$transaction->id]) }}
--}} {{--Amount: {{ number_format($TotalInvoice[$transaction->id] + $TotalDepositInvoice[$transaction->id] + $TotalRemainInvoice[$transaction->id] + $TotalDepositPoReturn[$transaction->id] + $TotalDepositPointOfSale[$transaction->id] - ($TotalPurchaseOrder[$transaction->id] + $TotalDepositPurchaseOrder[$transaction->id] + $TotalDepositSaleReturnInvoice[$transaction->id] + $TotalDepositSaleReturn[$transaction->id] + $TotalExpense[$transaction->id] + $TotalRemainPurchaseOrder[$transaction->id])) }}
--}} {{--Transaction Name -{{ $transaction->transaction_name }}
--}}Amount: {{ number_format($total_invoices + $total_deposit_invoices + $total_remain_invoices + $total_deposit_po_returns + $total_deposit_point_of_sales + $totalIn - ($total_purchase_orders + $total_deposit_purchase_orders + $total_deposit_sale_return_invoices + $total_deposit_sale_return_pos + $total_expense + $total_remain_purchase_orders + $totalOut)) }}
{{-- Modal Content --}}
{{--
--}}
| No | Account Name | Transaction Name | Source | Status | Amount | Description | |
|---|---|---|---|---|---|---|---|
| {{ $no }} | {{ $payments->account->account_name }} | {{ $payments->transaction->transaction_name }} | Add Payment | {{ $payments->payment_status }} | {{-- $TotalInvoice = []; $TotalDepositInvoice = []; $TotalRemainInvoice = []; $TotalDepositPurchaseOrder = []; $TotalPurchaseOrder = []; $TotalRemainPurchaseOrder = []; $TotalDepositSaleReturn = []; $TotalDepositPointOfSale = []; $TotalExpense = []; --}} {{ number_format($payments->amount ?? 0, 2) }} | {{ $payments->note ?? 'N/A' }} | |
| {{ $no }} | {{ $account->account_name }} | {{ $invoice->transaction->transaction_name }} | {{ $invoice->invoice_no }} | {{--{{ $invoice->invoice_no }} | --}}IN | {{ number_format($invoice->total) }} | {{ $invocie->remark ?? 'N/A' }} |
| {{ $no }} | {{ $account->account_name }} | {{ $invoice->transaction->transaction_name }} | {{--{{ $invoice->invoice_no }} | --}}{{ $invoice->invoice_no }} | IN | {{ number_format($invoice->deposit) }} | {{ $invocie->remark ?? 'N/A' }} |
| {{ $no }} | {{ $account->account_name }} | {{ $invoice->transaction->transaction_name }} | {{--{{ $invoice->invoice_no }} | --}}{{ $invoice->invoice_no }} | IN | {{ number_format($invoice->deposit) }} | {{ $invocie->remark ?? 'N/A' }} |
| {{ $no }} | {{ $account->account_name }} | {{ $invoice->transaction->transaction_name }} | {{--{{ $invoice->invoice_no }} | --}}{{ $invoice->quote_no }} | OUT | {{ number_format($invoice->deposit) }} | {{ $invocie->remark ?? 'N/A' }} |
| {{ $no }} | {{ $account->account_name }} | {{ $invoice->transaction->transaction_name }} | {{--{{ $invoice->invoice_no }} | --}}{{ $invoice->invoice_no }} | IN | {{ number_format($invoice->remain_balance) }} | {{ $invocie->remark ?? 'N/A' }} |
| {{ $no }} | {{ $account->account_name }} | {{ $po_return->transaction->transaction_name }} | {{ $po_return->invoice_no }} | OUT | {{ number_format($po_return->total) }} | {{ $po_return->remark ?? 'N/A' }} | |
| {{ $no }} | {{ $account->account_name }} | {{ $po->transaction->transaction_name }} | {{ $po->quote_no }} | OUT | {{ number_format($po->total) }} | {{ $po->remark ?? 'N/A' }} | |
| {{ $no }} | {{ $account->account_name }} | {{ $po->payable_transaction->transaction_name }} | {{ $po->quote_no }} | OUT | {{ number_format($po->remain_balance) }} | {{ $po->remark ?? 'N/A' }} | |
| {{ $no }} | {{ $account->account_name }} | {{ $po->transaction->transaction_name }} | {{ $po->quote_no }} | OUT | {{ number_format($po->deposit) }} | {{ $po->remark ?? 'N/A' }} | |
| {{ $no }} | {{ $account->account_name }} | {{ $po->transaction->transaction_name }} | {{ $po->quote_no }} | OUT | {{ number_format($po->deposit) }} | {{ $po->remark ?? 'N/A' }} | |
| {{ $no }} | {{ $account->account_name }} | {{ $exp->transaction->transaction_name }} | Expense | OUT | {{ number_format($exp->amount) }} | {{ $exp->description ?? 'N/A' }} | |
| Total | {{ number_format($total) }} | ||||||
| No | Invoice No. | {{--Location | --}}Deposit | Balance | Total | Payment Status | Invoice Date | |
|---|---|---|---|---|---|---|---|---|
| {{ $no }} | {{ $invoice->invoice_no }} | {{ number_format($invoice->deposit) }} | {{ number_format($invoice->remain_balance) }} | {{ number_format($invoice->total) }} | @if ($invoice->total == $invoice->deposit)Paid | @elseif($invoice->total > $invoice->deposit && $invoice->deposit > 0)Partial Paid | @elseUnpaid | @endif{{ $invoice->invoice_date }} |
| {{ $no }} | {{ $invoice->invoice_no }} | {{ number_format($invoice->deposit) }} | {{ number_format($invoice->remain_balance) }} | {{ number_format($invoice->total) }} | @if ($invoice->total == $invoice->deposit)Paid | @elseif($invoice->total > $invoice->deposit && $invoice->deposit > 0)Partial Paid | @elseUnpaid | @endif{{ $invoice->invoice_date }} |
| {{ $no }} | {{ $invoice->invoice_no }} | {{ number_format($invoice->deposit) }} | {{ number_format($invoice->remain_balance) }} | {{ number_format($invoice->total) }} | @if ($invoice->total == $invoice->deposit)Paid | @elseif($invoice->total > $invoice->deposit && $invoice->deposit > 0)Partial Paid | @elseUnpaid | @endif{{ $invoice->invoice_date }} |
| No. | POS No. | Location | Date | Cash | Change Due | Total Amount | Sale By |
|---|---|---|---|---|---|---|---|
| {{ $no }} | {{ $pos->invoice_no }} | @foreach ($warehouses as $warehouse) @if ($warehouse->id == $pos->branch) {{ $warehouse->name }} @endif @endforeach | {{ $pos->invoice_date }} | {{ number_format($pos->deposit) }} | {{ number_format($pos->remain_balance) }} | {{ number_format($pos->total) }} | {{ $pos->sale_by }} |
| No | PO No. | {{--Location | --}}Deposit | Balance | Total | PO Date |
|---|---|---|---|---|---|---|
| {{ $no }} | {{ $po->quote_no }} | {{--@foreach ($warehouses as $warehouse) @if ($warehouse->id == $po->branch) {{ $warehouse->name }} @endif @endforeach | --}}{{ number_format($po->remain_balance) }} | {{ number_format($po->deposit) }} | {{ number_format($po->total) }} | {{ $po->po_date }} |
| {{ $no }} | {{ $po->quote_no }} | {{--@foreach ($warehouses as $warehouse) @if ($warehouse->id == $po->branch) {{ $warehouse->name }} @endif @endforeach | --}}{{ number_format($po->remain_balance) }} | {{ number_format($po->deposit) }} | {{ number_format($po->total) }} | {{ $po->po_date }} |
| {{ $no }} | {{ $po->quote_no }} | {{--@foreach ($warehouses as $warehouse) @if ($warehouse->id == $po->branch) {{ $warehouse->name }} @endif @endforeach | --}}{{ number_format($po->remain_balance) }} | {{ number_format($po->deposit) }} | {{ number_format($po->total) }} | {{ $po->po_date }} |
| No | PO Return No. | Location | Deposit | Balance | Total | Invoice Date |
|---|---|---|---|---|---|---|
| {{ $no }} | {{ $po->invoice_no }} | @foreach ($warehouses as $warehouse) @if ($warehouse->id == $po->branch) {{ $warehouse->name }} @endif @endforeach | {{ number_format($po->deposit) }} | {{ number_format($po->remain_balance) }} | {{ number_format($po->total) }} | {{ $po->invoice_date }} |
| No | Sale Return No. | Location | Deposit | Balance | Total | Date |
|---|---|---|---|---|---|---|
| {{ $no }} | {{ $sr_inv->quote_no }} | @foreach ($warehouses as $warehouse) @if ($warehouse->id == $sr_inv->branch) {{ $warehouse->name }} @endif @endforeach | {{ number_format($sr_inv->deposit) }} | {{ number_format($sr_inv->remain_balance) }} | {{ number_format($sr_inv->total) }} | {{ $sr_inv->po_date }} |
| No | Sale Return No. | Location | Deposit | Balance | Total | Date |
|---|---|---|---|---|---|---|
| {{ $no }} | {{ $sr_pos->quote_no }} | @foreach ($warehouses as $warehouse) @if ($warehouse->id == $sr_pos->branch) {{ $warehouse->name }} @endif @endforeach | {{ number_format($sr_pos->deposit) }} | {{ number_format($sr_pos->remain_balance) }} | {{ number_format($sr_pos->total) }} | {{ $sr_pos->po_date }} |