@extends('layouts.app') @section('title',$type==='sales'?'Sales Returns':'Purchase Returns') @section('content')
Returns preserve the original document and reverse inventory, VAT, subledger, and accounting entries.
| Return | Date | Original | {{ $type==='sales'?'Customer':'Supplier' }} | Taxable | VAT | Total | Status |
|---|---|---|---|---|---|---|---|
| {{ $doc->return_no }} | {{ $doc->return_date->format('d M Y') }} | {{ $type==='sales'?$doc->sale?->invoice_no:$doc->purchase?->purchase_no }} | {{ $type==='sales'?$doc->customer?->name_en:$doc->supplier?->name_en }} | {{ number_format((float)$doc->taxable_total,2) }} | {{ number_format((float)$doc->vat_total,2) }} | {{ number_format((float)$doc->grand_total,2) }} | {{ strtoupper($doc->status) }} |
| No returns have been posted. | |||||||