@foreach($inventory as $data_item) @endforeach
{{ __('Barcode') }} {{ __('Description') }} {{ __('Qty') }} {{ __('In Stock') }} {{ __('Purchase Price') }} {{ __('Price') }}
{{$data_item->Barcode}} {{$data_item->Description}} {{$data_item->Quantity}} {{$data_item->CurrentQuantity}} {{ Invoice::format_payment($data_item->PurchasePrice) }} {{ Invoice::format_payment($data_item->SellingPrice) }}
Total {{ ($data_item->sum('Quantity'))}} {{ ($data_item->sum('CurrentQuantity'))}} {{ Invoice::format_payment($data_item->sum('PurchasePrice')) }} {{ Invoice::format_payment($data_item->sum('SellingPrice')) }}