taxes controller

This commit is contained in:
2019-02-27 22:40:11 -06:00
parent 14eaa4063e
commit 82fc40f18c
2 changed files with 7 additions and 8 deletions

View File

@@ -45,17 +45,17 @@ class TaxesController extends Controller
$industrys[] = [
'date' => $date['start']->toFormattedDateString(),
'tax' => number_format($tHelper->GetIndustryGross($date['start'], $date['end']), 2, ".", ","),
'gross' => number_format($tHelper->GetIndustryGross($date['start'], $date['end']), 2, ".", ","),
];
$reprocessings[] = [
'date' => $date['start']->toFormattedDateString(),
'tax' => number_format($tHelper->GetReprocessingGross($date['start'], $date['end']), 2, ".", ","),
'gross' => number_format($tHelper->GetReprocessingGross($date['start'], $date['end']), 2, ".", ","),
];
$offices[] = [
'date' => $date['start']->toFormattedDateString(),
'tax' => number_format($tHelper->GetOfficeGross($date['start'], $date['end']), 2, ".", ","),
'gross' => number_format($tHelper->GetOfficeGross($date['start'], $date['end']), 2, ".", ","),
];
}
@@ -64,6 +64,5 @@ class TaxesController extends Controller
->with('industrys', $industrys)
->with('reprocessings', $reprocessings)
->with('offices', $offices);
}
}