taxes page

This commit is contained in:
2021-03-18 22:51:10 +09:00
parent 3be42738d7
commit e4115b64ff
3 changed files with 44 additions and 1 deletions
+13
View File
@@ -25,6 +25,19 @@ class TaxesHelper {
$this->end = $en;
}
public function GetMoonMiningTaxesGross($start, $end) {
$revenue = 0.00;
$revenue = Invoice::where([
'status' => 'Paid',
])->orWhere([
'status' => 'Paid Late',
])->whereBetween('date_issued', [$start, $end])
->sum('invoice_amount');
return $revenue;
}
public function GetAllianceMarketGross($start, $end) {
$revenue = 0.00;