@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']]) !!}





@foreach( $lignescommande as $ligne)
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
{!!$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
Annuler
{!! Form::close() !!}
@foreach($lignescommande as $ligne)
@endforeach
@endsection