@component('components.widget') @foreach($data['left_side_module_data'] as $module_data) @endforeach
{{ __('report.opening_stock') }}
(@lang('lang_v1.by_purchase_price')):
{{$data['opening_stock']}}
{{ __('report.opening_stock') }}
(@lang('lang_v1.by_sale_price')):
{{ __('home.total_purchase') }}:
(@lang('product.exc_of_tax'), @lang('sale.discount'))
{{$data['total_purchase']}}
{{ __('report.total_stock_adjustment') }}: {{$data['total_adjustment']}}
{{ __('report.total_expense') }}: {{$data['total_expense']}}
{{ __('lang_v1.total_purchase_shipping_charge') }}: {{$data['total_purchase_shipping_charge']}}
{{ __('lang_v1.purchase_additional_expense') }}: {{$data['total_purchase_additional_expense']}}
{{ __('lang_v1.total_transfer_shipping_charge') }}: {{$data['total_transfer_shipping_charges']}}
{{ __('lang_v1.total_sell_discount') }}: {{$data['total_sell_discount']}}
{{ __('lang_v1.total_reward_amount') }}: {{$data['total_reward_amount']}}
{{ __('lang_v1.total_sell_return') }}: {{$data['total_sell_return']}}
{{ $module_data['label'] }}: {{ $module_data['value'] }}
@endcomponent
@component('components.widget') @foreach($data['right_side_module_data'] as $module_data) @endforeach
{{ __('report.closing_stock') }}
(@lang('lang_v1.by_purchase_price')):
{{$data['closing_stock']}}
{{ __('report.closing_stock') }}
(@lang('lang_v1.by_sale_price')):
{{ __('home.total_sell') }}:
@if(count($data['total_sell_by_subtype']) > 1)
    @foreach($data['total_sell_by_subtype'] as $sell)
  • {{$sell->total_before_tax}} @if(!empty($sell->sub_type))  ({{ucfirst($sell->sub_type)}}) @endif
  • @endforeach
@endif (@lang('product.exc_of_tax'), @lang('sale.discount'))
{{$data['total_sell']}}
{{ __('lang_v1.total_sell_shipping_charge') }}: {{$data['total_sell_shipping_charge']}}
{{ __('lang_v1.sell_additional_expense') }}: {{$data['total_sell_additional_expense']}}
{{ __('report.total_stock_recovered') }}: {{$data['total_recovered']}}
{{ __('lang_v1.total_purchase_return') }}: {{$data['total_purchase_return']}}
{{ __('lang_v1.total_purchase_discount') }}: {{$data['total_purchase_discount']}}
{{ __('lang_v1.total_sell_round_off') }}: {{$data['total_sell_round_off']}}
 
{{ $module_data['label'] }}: {{ $module_data['value'] }}
@endcomponent

@component('components.widget')

{{ __('lang_v1.gross_profit') }}: {{$data['gross_profit']}}

(@lang('lang_v1.total_sell_price') - @lang('lang_v1.total_purchase_price')) @if(!empty($data['gross_profit_label'])) {{-- + {{$data['gross_profit_label']}} --}} @foreach ($data['gross_profit_label'] as $val) + {{$val}} @endforeach @endif

{{ __('report.net_profit') }}: {{$data['net_profit']}}

@lang('lang_v1.gross_profit') + (@lang('lang_v1.total_sell_shipping_charge') + @lang('lang_v1.sell_additional_expense') + @lang('report.total_stock_recovered') + @lang('lang_v1.total_purchase_discount') + @lang('lang_v1.total_sell_round_off') @foreach($data['right_side_module_data'] as $module_data) @if(!empty($module_data['add_to_net_profit'])) + {{$module_data['label']}} @endif @endforeach )
- ( @lang('report.total_stock_adjustment') + @lang('report.total_expense') + @lang('lang_v1.total_purchase_shipping_charge') + @lang('lang_v1.total_transfer_shipping_charge') + @lang('lang_v1.purchase_additional_expense') + @lang('lang_v1.total_sell_discount') + @lang('lang_v1.total_reward_amount') @foreach($data['left_side_module_data'] as $module_data) @if(!empty($module_data['add_to_net_profit'])) + {{$module_data['label']}} @endif @endforeach )
@endcomponent