structure market tax

This commit is contained in:
2019-07-24 01:51:32 -05:00
parent 00424b2384
commit 15e8d7fb6c
15 changed files with 610 additions and 95 deletions
+11
View File
@@ -31,6 +31,17 @@ class TaxesHelper {
$this->end = $en;
}
public function GetStructureMarketGross($start, $end, $corpId) {
$revenue = 0.00;
$revenu = CorpMarketJournal::where([
'second_party_id' => $corpId,
])->whereBetween('date', [$start, $end])
->sum('amount');
return $revenue;
}
public function GetJumpGateGross($start, $end) {
$revenue = 0.00;