@extends('admin.layout.table.index') @section('page-title',trans('language.annualsOrders')) @section('root' , "annualsOrders") @section('nav') @endsection @section("buttons") {{trans("language.add")}} @if(Auth::user()->isEmployee() && Auth::user()->employee_type == "hasr") @endif @endsection @section('thead') @if(Auth::user()->isEmployee() && Auth::user()->employee_type == "hasr") @endif # {{trans('صاحب العادة السنوية')}} {{trans('language.name')}} {{trans('language.nationality')}} {{trans('language.id_number')}} {{trans('language.mobile')}} {{trans('language.city')}} اسم صاحب الحساب البنكي @if(Auth::user()->employee_type == "hasr" || Auth::user()->employee_type == "money" || Auth::user()->employee_type == "finisher") مبلغ الاعتماد @if(Auth::user()->employee_type == "finisher" || Auth::user()->employee_type == "money") مبلغ الحصر @endif @endif {{trans('language.status')}} {{trans('language.details')}} @endsection @section('tbody') @foreach($items as $item) @if(Auth::user()->isEmployee() && Auth::user()->employee_type == "hasr") @endif {{ $loop->iteration }} {{@$item->annualCustoms->name}} {{$item->name}} {{@$item->nationalityName->name}} {{$item->id_number}} {{$item->mobile}} {{@$item->cityName->name}} {{$item->bank_account_name}} @if(Auth::user()->employee_type == "hasr" || Auth::user()->employee_type == "money" || Auth::user()->employee_type == "finisher") {{$item->manager_amount}} ريال @if(Auth::user()->employee_type == "finisher" || Auth::user()->employee_type == "money") {{$item->hasr_amount}} ريال @endif @endif @if($item->finish_payment_file) تم أغلاق الطلب بنجاح @else @if(Auth::user()->employee_type == "annual") id)}}" class="btn btn-success"> اعتماد @endif @if( Auth::user()->employee_type == "social") id/updateSocialStatus")}}" data-toggle="modal" data-id="{{$item->id}}" data-target=".updateSocialApplicationStatusModal" title="{{trans('اعتماد')}}"> اعتماد @endif @if( Auth::user()->employee_type == "manager") id/confirmStatus")}}" data-toggle="modal" data-id="{{$item->id}}" data-target=".confirmApplicationStatusModal" title="{{trans('أعتماد الطلب')}}">أعتماد @endif @if(Auth::user()->employee_type == "hasr") id/confirmMoneyAmount")}}" data-toggle="modal" data-id="{{$item->id}}" data-amount="{{$item->manager_amount}}" data-target=".confirmApplicationMoneyAmountModal" title="{{trans('أعتماد مبلغ التيرع')}}">أعتماد @endif @if(Auth::user()->employee_type == "money") id/confirmCashAmount")}}" data-toggle="modal" data-id="{{$item->id}}" data-amount="{{$item->hasr_amount}}" data-target=".confirmApplicationCashModal" title="{{trans('أعتماد')}}">أعتماد الصرف @if(!$item->money_employment_exported) id/exportApplication")}}" class="btn btn-primary"> تحديث الحالة @endif @endif @if( Auth::user()->employee_type == "finisher") id/finishApplication")}}" data-toggle="modal" data-id="{{$item->id}}" data-amount="{{$item->hasr_amount}}" data-target=".confirmApplicationFinishModal" title="{{trans('أعتماد')}}">اغلاق الطلب @endif @endif id)}}" class="btn btn-outline"> @if(Auth::user()->employee_type == "annual") id)}}" class="btn btn-outline"> @endif @if(!$item->finish_payment_file) @includeIf("admin.components.buttons.delete",["message" => "($item->name)" , "action" => url("admin/annuals-orders/$item->id")]) @endif @endforeach @endsection @section("filters") @if(Auth::user()->employee_type == \App\Models\User::MONEY_EMPLOYEE)
تصدير الطلبات الغير مستخرجة

@endif
@if(Auth::user()->employee_type == \App\Models\User::MONEY_EMPLOYEE)
قم بأختيار حاله التصدير للطلبات
{{trans('language.start_at')}}
{{trans('language.end_at')}}
@endif

@stop @section("js") @endsection