esi helper

This commit is contained in:
2018-11-28 22:05:37 -06:00
parent e52099f0e3
commit 36fd0b0c22

View File

@@ -70,7 +70,7 @@ class FinancesController extends Controller
/** /**
* In this next section we are removing the cost of fuel blocks from one structure * In this next section we are removing the cost of fuel blocks from one structure
*/ */
$monthTaxesMarket = $monthTaxesMarket - ($hFinaces->CalculateFuelBlockCost('market') * $citadelCount); $monthTaxesMarket = $monthTaxesMarket - ($hFinances->CalculateFuelBlockCost('market') * $citadelCount);
if($monthTaxesMarket < 0.00) { if($monthTaxesMarket < 0.00) {
$monthTaxesMarket = 0.00; $monthTaxesMarket = 0.00;
} }
@@ -80,7 +80,7 @@ class FinancesController extends Controller
$lastTaxesMarket = 0.00; $lastTaxesMarket = 0.00;
} }
$monthTaxesReprocessing = $monthTaxesReprocessing - ($hFinaces->CalculateFuelBlockCost('reprocessing') * $refineryCount); $monthTaxesReprocessing = $monthTaxesReprocessing - ($hFinances->CalculateFuelBlockCost('reprocessing') * $refineryCount);
if($monthTaxesReprocessing < 0.00) { if($monthTaxesReprocessing < 0.00) {
$monthTaxesReprocessing = 0.00; $monthTaxesReprocessing = 0.00;
} }