@can('read_contractors')
المقاولين
@endcan
@can('read_suppliers')
@endcan
| # |
المورد |
المبلغ |
الضريبة |
المجموع |
المدفوع |
المتبقي |
التاريخ |
التحكم |
@foreach ($purchases as $purchase)
| {{ $loop->iteration }} |
{{ $purchase->supplier?->name }} |
{{ number_format($purchase->amount, 2) }} |
{{ number_format($purchase->tax, 2) }} |
{{ number_format($purchase->total, 2) }} |
{{ number_format($purchase->payment_amount, 2) }} |
{{ number_format($purchase->total - $purchase->payment_amount, 2) }} |
{{ $purchase->date }} |
@can('update_purchases')
@endcan
@can('delete_purchases')
@endcan
|
@endforeach
{{ $purchases->links() }}