Today's Profit (Sales - Expenses)
₹{{\app\models\invoices::whereDate('created_at', \Carbon\Carbon::today())->sum('total')}} - ₹{{\app\models\expenses::whereDate('created_at', \Carbon\Carbon::today())->sum('total')}}
₹ {{\app\models\invoices::whereDate('created_at', \Carbon\Carbon::today())->sum('total') - \app\models\expenses::whereDate('created_at', \Carbon\Carbon::today())->sum('total')}}
This Months's Profit (Sales - Expenses)
₹{{\app\models\invoices::whereMonth('created_at', date('m'))->sum('total')}} - ₹{{\app\models\expenses::whereMonth('created_at',date('m'))->sum('total')}}
₹ {{\app\models\invoices::whereMonth('created_at', date('m'))->sum('total') - \app\models\expenses::whereMonth('created_at', date('m'))->sum('total')}}
@push('src') @endpush