StructureController
This commit is contained in:
@@ -78,25 +78,25 @@ class StructureController extends Controller
|
||||
->avg('tax');
|
||||
|
||||
$monthTaxesMarket = $monthTaxesMarket - $fuelCost;
|
||||
$monthTaxesMarket = $hFinance->CalculateTax($monthTaxesMarket, $tax, 'market');
|
||||
$monthTaxesMarket = $hFinances->CalculateTax($monthTaxesMarket, $tax, 'market');
|
||||
if($monthTaxesMarket < 0.00) {
|
||||
$monthTaxesMarket = 0.00;
|
||||
}
|
||||
|
||||
$lastTaxesMarket = $lastTaxesMarket - $fuelCost;
|
||||
$lastTaxesMarket = $hFinance->CalculateTax($lastTaxesMarket, $tax, 'market');
|
||||
$lastTaxesMarket = $hFinances->CalculateTax($lastTaxesMarket, $tax, 'market');
|
||||
if($lastTaxesMarket < 0.00) {
|
||||
$lastTaxesMarket = 0.00;
|
||||
}
|
||||
|
||||
$monthTaxesReprocessing = $monthTaxesReprocessing - $fuelCost;
|
||||
$monthTaxesReprocessing = $hFinance->CalculateTax($monthTaxesReprocessing, $rTax, 'refinery');
|
||||
$monthTaxesReprocessing = $hFinances->CalculateTax($monthTaxesReprocessing, $rTax, 'refinery');
|
||||
if($monthTaxesReprocessing < 0.00) {
|
||||
$monthTaxesReprocessing = 0.00;
|
||||
}
|
||||
|
||||
$lastTaxesReprocessing = $lastTaxesReprocessing - $fuelCost;
|
||||
$lastTaxesReprocessing = $hFinance->CalculateTax($lastTaxesReprocessing, $rTax, 'refinery');
|
||||
$lastTaxesReprocessing = $hFinances->CalculateTax($lastTaxesReprocessing, $rTax, 'refinery');
|
||||
if($lastTaxesReprocessing < 0.00) {
|
||||
$lastTaxesReprocessing = 0.00;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user