@extends(isset($input['print']) && $input['print']==1 ? 'layouts.general' : 'layouts.app') @section('link') @if(isset($input) && (!isset($input['print']) || $input['print']==1)) @endif @endsection @section('style') @endsection @section('content')
{{__('texte.references_arr.stocks.code')}} | {{__('texte.references_arr.stocks.product')}} | {{__('texte.references_arr.stocks.quantity')}} | {{__('texte.references_arr.stocks.material')}} | {{__('texte.references_arr.stocks.count')}} | {{__('texte.references_arr.stocks.price')}} | {{__('texte.references_arr.stocks.value')}} | {{__('texte.references_arr.stocks.barcode')}} |
---|---|---|---|---|---|---|---|
{{__('texte.references_arr.stocks.stocks_in')}} {{$stock->storage_name}} |
|||||||
{{$stock->producer_name ?? 'N/A'}} |
|||||||
{{$stock->product_id}} | {{$stock->name}} | {{$stock->total_quantity}} | {{$stock->package_count!=1 ? floor($stock->total_quantity/($stock->package_count ?? 1)) : ''}} | {{$stock->package_count!=1 ? $stock->total_quantity - floor($stock->total_quantity/($stock->package_count ?? 1))*($stock->package_count ?? 1) : ''}} | {{$stock->price}} | {{number_format($stock->total_quantity*$stock->price,2,'.',' ')}} | {{$stock->piece_barcode}} |
{{__('texte.references_arr.stocks.total_for')}} {{$stock->storage_name}} | {{number_format($stocks->where('storage_id',$stock->storage_id)->sum('total_value'),2,'.',' ')}} | ||||||
{{__('texte.references_arr.stocks.total_for_company')}} | {{number_format($stocks->sum('total_value'),2,'.',' ')}} |