@include('layout.header')
@include('layout.navbar') @include('layout.breadscrum')
@include('layout.sidebar')

{{__('inventory.sp_table_title')}}

@csrf
@if(\App\Http\Controllers\Helper\GlobalController::user_can(Auth::user()->role_id, ['add_supplier'])) @endif

@foreach($suppliers as $k=>$supplier) @endforeach
{{__('physician.table_no')}} {{__('physician.table_action')}} {{__('VAT Number')}} {{__('Suppler Name')}} {{__('Contact Person')}} {{__('Position')}} {{__('Phone Number')}} {{__('Email')}} {{__('physician.table_status')}}
{{($k+1) + (($_GET['page'] ?? 1) * 20) - 20}}
@if(\App\Http\Controllers\Helper\GlobalController::user_can(Auth::user()->role_id, ['update_supplier'])) @endif @if($supplier->record_status_id==0) @else @if(\App\Http\Controllers\Helper\GlobalController::user_can(Auth::user()->role_id, ['delete_supplier'])) @endif @endif
{{$supplier->vat_number}} {{$supplier->name_en}} {{$supplier->contact_name}} {{$supplier->position}} {{$supplier->phone_number}} {{$supplier->email}}
{!! $suppliers->links('pagination.custom') !!}
@include('layout.footer')
@include('layout.common_script')