choose corp tax history for admins

This commit is contained in:
2018-12-14 17:53:08 -06:00
parent fdb0e39dc4
commit baf3caf731

View File

@@ -49,7 +49,7 @@ class StructureTaxHelper {
}
//Return the amount
return floor($taxOwed);
return $taxOwed;
}
public function GetRevenue($corpId, $refType, $start, $end) {
@@ -133,8 +133,8 @@ class StructureTaxHelper {
private function GetStructureCount($corpId, $structureType) {
$count = CorpStructure::where(['corporation_id' => $corpId, 'structure_type' => $structureType])->count();
return (float) $count;
dd($count);
return (int)$count;
}
}