@php $bon_commande = $demande->bonCommande()->first(); $fournisseur = $demande->fournisseur; $typesValidateurs = [ 'N+1'=> 'N+1', 'Appro' => 'Service Moyen Généraux', 'Ctrl-gestion' => 'Controleur de Gestion', 'DFC' => 'Directeur Financier', ]; function validation($demande, $niveau_validation){ return $demande->validations() ->where('decision', 'autorise') ->where('niveau_validation', $niveau_validation) ->orderBy('niveau_validation', 'desc') ->first(); } $chef_appro = Modules\Gestion\Models\Validateur::where('niveau', 'Appro')->where('est_chef', true)->first(); $chef_ctrl_gestion = Modules\Gestion\Models\Validateur::where('niveau', 'Ctrl-gestion')->where('est_chef', true)->first(); @endphp
N° BON DE COMMANDE {{ $bon_commande->numero_bon }} Date : {{ \Carbon\Carbon::parse($demande->date_demande)->format('d/m/Y') }} Délai de livraison : {{ \Carbon\Carbon::parse($demande->delais_livraison)->format('d/m/Y') }} |
{{ $fournisseur->nom }} @isset($fournisseur->adresse_geo){{ strtoupper($fournisseur->adresse_geo) }} @endisset @isset($fournisseur->email->adresse){{ $fournisseur->email->adresse }} @endisset @isset($fournisseur->registre_com){{ $fournisseur->registre_com }} @endisset @isset($fournisseur->compte_contr){{ $fournisseur->compte_contr }} @endisset |
|
Référence {{ $demande->entite->nom ?? '' }} |
A livrer à COCODY CITE DES CADRES Rue des jardins, en face du petit portail de l'Ecole Nationale de Police, Villa N° 106. BP 2691 Abidjan 01 TEL : 27 20 00 68 05 |
| Référence | Désignation | Qté | Prix Unitaire | Remise | TVA | Montant HT | Montant TTC |
|---|---|---|---|---|---|---|---|
| {{ $ligne->reference }} | {{ $ligne->designation }} | {{ $ligne->quantite }} | {{ number_format($ligne->prix_unitaire, 0, '.', ' ') }} FCFA | {{ round($ligne->remise, 2) }}% | {{ round($ligne->tva, 2) }}% | {{ number_format($ligne->montant_ht, 0, '.', ' ') }} FCFA | {{ number_format($ligne->montant_ttc, 0, '.', ' ') }} FCFA |
| Brut HT | {{ number_format($demande->total_brut_ht, 0, '.', ' ') }} FCFA | ||||||
| Remise | {{ number_format($demande->total_remise, 0, '.', ' ') }} FCFA | ||||||
| Total HT | {{ number_format($demande->total_ht, 0, '.', ' ') }} FCFA | ||||||
| TVA | {{ number_format($demande->total_tva, 0, '.', ' ') }} FCFA | ||||||
| Total TTC | {{ number_format($demande->total_ttc, 0, '.', ' ') }} FCFA | ||||||
| VISA ACHAT | VISA CG |
|---|---|
|
{!! $chef_appro->signature ? ' |
{!! $chef_ctrl_gestion->signature ? ' |