choose corp tax history for admins

This commit is contained in:
2018-12-14 17:40:30 -06:00
parent 728c10cb3f
commit 000b754716
@@ -31,9 +31,9 @@ class StructureTaxHelper {
//Calculate the tax ratio to later be divided against the tax to find the
//actual tax owed to the alliance. Revenue will be a separate function
$ratio = $this->CalculateTaxRatio($tax, $refType, $start, $end);
if($ratio == 0 || $ratio == null) {
$ratio = 1.0;
}
//if($ratio == 0 || $ratio == null) {
// $ratio = 1.0;
//}
//Get the total taxes produced by the structure(s) over a given set of dates
$revenue = $this->GetRevenue($corpId, $refType, $start, $end);