@php
$configValue = \App\Models\Configuration::query()
->where('label', 'Configuration modules')
->first();
$clientAccess = (int) (auth()->user()->client->all_products ?? 0);
$decodedConfig = json_decode($configValue?->value ?? '{}', true);
$paraModule = (bool) ($decodedConfig['para'] ?? false);
@endphp
@if ($paraModule && $clientAccess)
@else
@endif
| N° document |
Montant |
Mode paiement |
État |
Échéance |
Date |
| N° document |
Montant |
Mode paiement |
État |
Échéance |
Date |