@can('create_approbation')
@if ($pec->statut != 0)
Ajouter une nouvelle pièce
@endif
@endcan
@if ($attributions->count() > 0)
| # |
Nom du pièce |
Quantité |
Prix |
Fournisseur |
@if ($pec->statut != 0)
Action |
@endif
@foreach ($attributions as $key => $attribution)
| {{ $key + 1 }} |
{{ $attribution->name }} |
{{ $attribution->quantity }} |
{{ $attribution->price }} |
{{ $attribution->fournisseur->name }} |
@if ($pec->statut != 0)
|
@endif
@endforeach
@else
@endif