@if (@isset($products) && !@empty($products) && count($products) > 0)
| # | {{ __('report.invoiceNo') }} | {{ __('home.productNo') }} | {{ __('home.product') }} | {{ __('report.date') }} | {{ __('home.operationtype') }} | - | {{ __('home.quantity') }} | {{ __('home.price') }} | {{ __('home.operations') }} |
|---|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $invoice['id'] }} | {{ $invoice['Product_Code'] }} | {{ $invoice['product_name'] }} | {{ $invoice['created_at'] }} | {{ $invoice['operation'] }} | {{ $invoice['man'] }} | {{ $invoice['quantity'] }} | {{ $invoice['price'] }} | {{-- فحص الصلاحية العام --}} @can('System setting') @if($invoice['type'] == 40) - @elseif($invoice['type'] == 4) {{__('home.print')}} @elseif($invoice['type'] == 1) {{ __('home.show') }} @elseif($invoice['type'] == 2) {{__('home.print')}} @elseif($invoice['type'] == 3) {{ __('home.show') }} @endif @else {{-- ما يظهر في حال عدم وجود صلاحية System setting --}} لا تملك صلاحية @endcan |