@extends('layouts.app') @section('title', 'Invoice Details') @section('content')
{{ $invoice->flat->project->address ?? 'N/A' }}
| Customer ID(Remark): | {{ $invoice->user->username ?? 'N/A' }}({{ $invoice->remark ?? 'N/A' }}) | {{ $invoice->flat->category->name }} No: | {{ $invoice->flat->project->short_name }}-{{ $invoice->flat->no ?? 'N/A' }} |
| Customer Name: | {{ $invoice->user->name ?? 'N/A' }} | {{ $invoice->flat->category->name }} Size: | {{ $invoice->flat->size ?? 'N/A' }} Sft. |
| Mobile No.: | {{ $invoice->user->phone ?? 'N/A' }} | Purchase Date: | {{ $invoice->purchase_date }} |
| Date | Description | Price (Taka) | Received (Taka) | Dues Amount (Taka) | Remarks |
|---|---|---|---|---|---|
| {{ $tran->date }} | {{ $tran->description }} | {{ number_format($tran->price, 2) }} TK | {{ number_format($tran->paid, 2) }} TK | {{ number_format($runningDue, 2) }} TK | {{ $tran->remarks }} |
| No transactions found. | |||||
Total Price: {{ number_format($totalPrice, 2) }} TK
Total Paid: {{ number_format($totalPaid, 2) }} TK
Remaining Due: {{ number_format($totalDue, 2) }} TK