choose corp tax history for admins
This commit is contained in:
@@ -37,10 +37,14 @@ class StructureTaxHelper {
|
|||||||
|
|
||||||
$totalFuelCost = $fuelCost * $count;
|
$totalFuelCost = $fuelCost * $count;
|
||||||
var_dump($revenue);
|
var_dump($revenue);
|
||||||
|
printf("<br>");
|
||||||
$totalRevenue = $revenue - $totalFuelCost;
|
$totalRevenue = $revenue - $totalFuelCost;
|
||||||
var_dump($totalRevenue);
|
var_dump($totalRevenue);
|
||||||
|
printf("<br>");
|
||||||
var_dump($totalFuelCost);
|
var_dump($totalFuelCost);
|
||||||
|
printf("<br>");
|
||||||
|
var_dump($ratio);
|
||||||
|
printf("<br>");
|
||||||
//Check to see if the revenue is greater than zero to avoid division by zero error.
|
//Check to see if the revenue is greater than zero to avoid division by zero error.
|
||||||
//Then calculate the tax owed which is revenue divided by ratio previously calcualted.
|
//Then calculate the tax owed which is revenue divided by ratio previously calcualted.
|
||||||
if($revenue > 0.00) {
|
if($revenue > 0.00) {
|
||||||
|
|||||||
Reference in New Issue
Block a user