@if(isset($start_date))
Revenue
| Sales |
{{number_format($sales_income,2)}} |
@php $other_income = 0; @endphp
| Other Income |
|
@foreach($total_other_income as $data)
| {{$data->income_head}} |
{{number_format($data->amount,2)}} |
@php $other_income += $data->amount ; @endphp
@endforeach
| Less: Discount |
- {{number_format($sales_discount,2)}} |
| Total Revenue |
{{number_format($sales_income-$sales_discount+$other_income,2)}}
|
Expense
@php $expense = 0; @endphp
| COST OF GOODS SOLD |
{{number_format($cost_of_goods_sold,2)}} |
| Operating Expense |
|
@foreach($total_expense as $data)
| {{$data->expense_head}} |
{{number_format($data->amount,2)}} |
@php $expense += $data->amount ; @endphp
@endforeach
| Total Expense |
{{number_format($expense,2)}}
|
Income
| Net profit |
{{number_format($sales_income-$sales_discount+$other_income-$cost_of_goods_sold-$expense,2)}} |
@endif
@endsection
@endif