@extends('layouts.app') @section('title', __('dashboard.sidebar_purchases')) @section('page_heading', __('dashboard.sidebar_purchases')) @section('content') @php $currentState = $state ?? request('state', 'active'); $hasFilter = request()->hasAny(['supplier_id','from_date','to_date']); @endphp {{-- KPIs --}}
| {{ $h }} | @endforeach{{ __('dashboard.Actions') }} | |||||
|---|---|---|---|---|---|---|
|
{{ $p->id }}
@if($p->trashed())
محذوف
@endif
|
{{ $p->supplier->name ?? '—' }}
{{ $p->created_at->format('Y-m-d') }}
|
@if($p->invoice_file) عرض الفاتورة @else — @endif |
{{ number_format($p->total, 2) }}
ج.م
|
@if($p->discount > 0) {{ $p->discount }} @else — @endif |
{{ number_format($p->final_total, 2) }}
ج.م
|
@canany(['view purchases','edit purchases','delete purchases','create purchase returns','view purchase returns'])
|