Easy School ERP

School Address

Phone : 343434343434

Email : support@easylerningbd.com

Monthly and Yearly Profit

@php $student_fee = App\Models\AccountStudentFee::whereBetween('date',[$start_date,$end_date])->sum('amount'); $other_cost = App\Models\AccountOtherCost::whereBetween('date',[$sdate,$edate])->sum('amount'); $emp_salary = App\Models\AccountEmployeeSalary::whereBetween('date',[$start_date,$end_date])->sum('amount'); $total_cost = $other_cost+$emp_salary; $profit = $student_fee-$total_cost; @endphp

Reporting Date: {{ date('d M Y', strtotime($sdate) ) }} - {{ date('d M Y', strtotime($edate) ) }}

Purpose

Amount

Student Fee {{ $student_fee }}
Employee Salary {{ $emp_salary }}
Other Cost {{ $other_cost }}
Total Cost {{ $total_cost }}
Profit {{ $profit }}


Print Data : {{ date("d M Y") }}