@extends('app') @section('content') Ajouter une commande fournisseur @if(Session::get('erreur')) {{ Session::get('erreur') }} @endif @if(Session::has('msgAdd')) {!! session('msgAdd') !!} @endif @if(Session::has('msgExist')) {!! session('msgExist') !!} @endif {!! Form::open(['method'=>'POST','action' => ['CommandeFournisseurController@postForm']]) !!} N° Commande fournisseur : Fournisseur : Sélectionner le fournisseur ... @foreach($fournisseurs as $fournisseur) id_fournisseur == Session::get('idFournisseur')) selected @endif> {{$fournisseur->societe}} @endforeach Contact fournisseur : Adresse : Date de création : Statut : @foreach($statuts as $statut) valeur == Session::get('etatCommande')) selected @endif> {{$statut->valeur}} @endforeach Ajout produit Référence produit Désignation Quantité TVA (%) Prix Unitaire H.T Prix Unitaire T.T.C Quantité réceptionnée Reste à recevoir Totale H.T Totale T.T.C Modifier Annuler @foreach( $lignescommande as $ligne) {!!$ligne->produit->reference!!} {!!$ligne->produit->designation!!} {!!$ligne->quantite_commander!!} {!!$ligne->tva!!} {!!number_format($ligne->prix_ht,2)!!} {!!number_format($ligne->prix_ttc,2)!!} {!!(float)$ligne->quantite_receptionner!!} {!!($ligne->quantite_commander - $ligne->quantite_receptionner)!!} {!!number_format($ligne->total_prix_ht,2)!!} {!!number_format($ligne->total_prix_ttc,2)!!} ( ! ) Notice: Undefined variable: ligne in C:\wamp64\www\old_bo\bo\resources\views\commande_fournisseur\ajouter.blade.php on line 188 Call Stack #TimeMemoryFunctionLocation 10.0726271168{main}( )...\ajouter.blade.php:0 ( ! ) Notice: Trying to get property of non-object in C:\wamp64\www\old_bo\bo\resources\views\commande_fournisseur\ajouter.blade.php on line 188 Call Stack #TimeMemoryFunctionLocation 10.0726271168{main}( )...\ajouter.blade.php:0 ( ! ) Notice: Undefined variable: ligne in C:\wamp64\www\old_bo\bo\resources\views\commande_fournisseur\ajouter.blade.php on line 189 Call Stack #TimeMemoryFunctionLocation 10.0726271168{main}( )...\ajouter.blade.php:0 ( ! ) Notice: Trying to get property of non-object in C:\wamp64\www\old_bo\bo\resources\views\commande_fournisseur\ajouter.blade.php on line 189 Call Stack #TimeMemoryFunctionLocation 10.0726271168{main}( )...\ajouter.blade.php:0 @endforeach Total TTC TVA Total HT Valider Annuler {!! Form::close() !!} × Ajout produit {!! Form::open(['method'=>'POST','action' => ['CommandeFournisseurController@postAddLigneCommande']]) !!} Produit Sélectionner le produit @foreach($produits as $produit) {{$produit->reference}} @endforeach T.V.A Prix Unitaire H.T Quantité Prix Uniaire T.T.C Totale H.T Totale TTC {!! Form::close() !!} @foreach($lignescommande as $ligne) × Modifier produit {!! Form::open(['method'=>'PUT','action' => ['CommandeFournisseurController@postEditeLigneCommande',$ligne->id_ligne_commande_fournisseur]]) !!} Produit Sélectionner le produit @foreach($produits as $produit) id_produit == $ligne->id_produit) selected @endif> {{$produit->reference}} -- {{$produit->designation}} @endforeach T.V.A Prix Unitaire H.T Quantité Prix Uniaire T.T.C Totale H.T Totale TTC {!! Form::close() !!} × Confirmation Voulez-vous vraiment supprimer ce produit de la commande ? @endforeach @endsection
Voulez-vous vraiment supprimer ce produit de la commande ?