@extends('admin.layout.table.index')
@section('page-title',trans('language.annualsOrders'))
@section('root' , "annualsOrders")
@section('nav')
@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)