@extends('layouts.app') @section('content') @php($base = array_merge(['type'=>'purchases'], request()->query()))
{{ __('app.report_filter_hint') }}
| {{ __('app.invoice') }} | {{ __('app.date') }} | {{ __('app.type') }} | {{ __('app.party') }} | {{ __('app.country') }} | {{ __('app.currency') }} | {{ __('app.total') }} | {{ __('app.paid') }} | {{ __('app.due') }} |
|---|---|---|---|---|---|---|---|---|
| {{ $p->invoice_no }} | {{ $p->invoice_date?->format('Y-m-d') }} | {{ __('app.'.$p->purchase_type) }} | {{ $p->supplier->name ?? $p->customerSeller->name ?? '-' }} | {{ $p->country ?? '-' }} | {{ $p->currency ?? 'AFN' }} | {{ number_format($p->total,2) }} | {{ number_format($p->paid,2) }} | {{ number_format($p->due,2) }} |
| {{ __('app.no_records') }} | ||||||||