taxes page

This commit is contained in:
2021-03-18 23:02:21 +09:00
parent 9798f8296b
commit d7d98b5195
3 changed files with 47 additions and 4 deletions
+10 -2
View File
@@ -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;