@foreach($stockpile as $key=>$stock)
@if(isset($stockpile[$key+1]))
@if($stock['id_category'] != $stockpile[$key+1]['id_category'])
@endif
@else
@endif
@endforeach
|
{{__("Equipment")}} |
{{__("Quantity")}} |
{{__("Price")}} |
{{__("Amount")}} |
{{$stock['code']}} |
{{$stock['equipment']}} |
{{$stock['quantity']}} |
{{$stock['price']}} |
{{$stock['price']*$stock['quantity']}} |
{{__('Total')}} @if($stock['id_category']) {{' ('.$stock['category'].')'}} @endif: |
{{$totalCategory}} |
{{__('Total')}} @if($stock['id_category']) {{' ('.$stock['category'].')'}} @endif: |
{{$totalCategory}} |
{{__('Total')}}: |
{{$total}} |