{{ __('Items Profit Report') }}

@foreach ($data as $item) @php $net_profit = $item->total_sales - $item->cost_of_goods_solid; @endphp @endforeach
{{ __('Item Name') }} {{ __('Value') }} {{ __('Sale') }} {{ __('Production Cost') }} {{ __('Total Profit') }}
{{ $item->name }} {{ $item->total_value }} {{ $item->total_sales }} {{ $item->cost_of_goods_solid }} {{ $net_profit }}