taxes page
This commit is contained in:
@@ -31,14 +31,22 @@ class TaxesHelper {
|
||||
|
||||
$revenue = Invoice::where([
|
||||
'status' => 'Paid',
|
||||
])->orWhere([
|
||||
'status' => 'Paid Late',
|
||||
])->whereBetween('date_issued', [$start, $end])
|
||||
->sum('invoice_amount');
|
||||
|
||||
return $revenue;
|
||||
}
|
||||
|
||||
public function GetMoonMiningTaxesLateGross($start, $end) {
|
||||
$revenue = 0.00;
|
||||
|
||||
$revenue = Invoice::where([
|
||||
'status' => 'Paid Late',
|
||||
])->whereBetween('date_issued', [$start, $end])->sum('invoice_amount');
|
||||
|
||||
return $revenue;
|
||||
}
|
||||
|
||||
public function GetAllianceMarketGross($start, $end) {
|
||||
$revenue = 0.00;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user