@include('layouts.header')
@include('layouts.sidebar')
{{-- Permission Php --}} @php $choosePermission = []; if (auth()->user()->permission) { $decodedPermissions = json_decode(auth()->user()->permission, true); if (json_last_error() === JSON_ERROR_NONE) { $choosePermission = $decodedPermissions; } } @endphp {{-- End Php --}}

Purchase Return Report

Purchase Return Report

@php $no = '1'; @endphp @if (!empty($search_invoices)) @foreach ($search_invoices as $invoice) @endforeach @else @foreach ($invoices as $invoice) @endforeach @endif @php $no++; @endphp
No. Invoice No. Location Customer Name Phone Number Customer Type Address Register Mode Total Amount
{{ $no }} {{ $invoice->invoice_no }} @foreach ($branchs as $branch) @if ($branch->id == $invoice->branch) {{ $branch->name }} @endif @endforeach {{ $invoice->customer_name }} {{ $invoice->phno }} {{ $invoice->type }} {{ $invoice->address }} {{ $invoice->balance_due }} {{ number_format($invoice->total ?? 0, 2) }}
{{ $no }} {{ $invoice->invoice_no }} @foreach ($branchs as $branch) @if ($branch->id == $invoice->branch) {{ $branch->name }} @endif @endforeach {{ $invoice->customer_name }} {{ $invoice->phno }} {{ $invoice->type }} {{ $invoice->address }} {{ $invoice->balance_due }} {{ number_format($invoice->total ?? 0, 2) }}
Total @if (!empty($search_invoices)) {{ number_format($search_total ?? 0, 2) }}@else{{ number_format($total ?? 0, 2) }} @endif