@extends('voyager::master') @section('content') @include('voyager::partials.breadcrumb', ['breadcrumbs' => $generatedBreadcrumbs])
@if(isset($glAccounts)) @foreach ($glAccounts as $glAccount) @endforeach @endif
{{__('datatable.sn')}} {{__('customform.form.al_account.name_ar')}} {{__('form.mobile_number')}} {{__('generic.email')}} {{__('customform.form.al_account.currency')}} {{__('customform.form.gl_account')}} {{__('customform.form.customer_type')}} {{__('customform.form.gl_purpose')}} {{__('datatable.status')}} {{__('voyager::generic.action')}}
{{$loop->index +1}} {{ $glAccount->name_ar }}
{{ $glAccount->name_en }}
{{ $glAccount->mobile }} {{ $glAccount->email }} {{ $glAccount->currency }} {{ $glAccount->gl_wallet_id }} {{ $glAccount->customer_type }} {{ \App\Enums\TransactionType::getStr($glAccount->gl_purpose) }}
{{ \App\Enums\Status::getStr($glAccount->status) }}
@if(hasPermission('approval', 'GlAccount') && checkAndReturnValue($glAccount, 'is_approval_needed') == true && ($glAccount->status != 1 && $glAccount->status != 2)) @endif @if(hasPermission('read', 'GlAccount')) {{__('generic.view')}} @endif @if(hasPermission('edit', 'GlAccount')) {{__('generic.edit')}} @endif @if(hasPermission('delete', 'GlAccount'))
@csrf @method('DELETE')
@endif
@endsection @section('javascript') @stop