{{-- --}} {{-- --}} @foreach ($product_summary as $key => $product) {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @endforeach {{-- @foreach ($consumption_products as $key => $consumption) @endforeach --}}
{{ __('#') }}{{ __('Product Type') }} {{ __('Product Code') }} {{ __('Paticulars') }}{{__('Description')}}{{ __('Beginning Balance') }} {{ __('Delivery') }} {{ __('Total') }} {{ __('Consumption') }} {{ __('End Balance') }} {{ __('Total Cost (Used)') }} {{ __('Supplies On Hand') }}
{{ __('Qty') }} {{ __('Cost/unit') }} {{ __('Supplier') }} {{ __('SI No.') }} {{ __('DR No.') }} {{ __('Qty Delivered') }} {{ __('Cost/unit') }} {{ __('No. of Units') }} {{ __('Cost/unit') }} {{ __('No. of Units') }} {{ __('Cost/unit') }} {{ __('No. of Units') }} {{ __('Cost/unit') }}
{{ $key + 1 }}{{$product->product->product_type->name}} {{$product->product->code}} {{$product->product->product_category->name}}{{ $product->name}} {{ $product->product->description}}{{ $product['product_type'] }} {{ $product['code'] }} {{ $product['particulars'] }}{{$product['description']}}{{ $product['beginning_qty'] }} @foreach ($product['beginning_cost_list'] as $bcl) {{ $bcl }}
@endforeach
{{ $product['supplier'] }} {{ $product['si_no'] }} {{ $product['dr_no'] }} {{ $product['total_in'] }} {{ $product['delivery_cost'] }} {{ $product['total_qty'] }}{{$product['total_out_cost']}} @foreach ($product['total_out_cost'] as $bcl) {{ $bcl }}
@endforeach
{{ $product['consumption'] }}{{$product['consumption_cost']}} @foreach ($product['consumption_cost'] as $bcl) {{ $bcl }}
@endforeach
{{ $product['end_balance'] }}{{$product['end_balance_cost']}} @foreach ($product['end_balance_cost'] as $bcl) {{ $bcl }}
@endforeach
{{ number_format((float) $product['total_cost'], 2, '.', '') }} {{ number_format((float) $product['supplies'], 2, '.', '') }}{{$product['consumption'] * $product['consumption_cost']}}
{{$key+1}} {{$consumption['branch']['name']}} {{$consumption['testable']['name']}} {{$consumption['product']['name']}} {{$consumption['quantity']}}