financials

This commit is contained in:
2019-01-06 03:40:51 -06:00
parent 5002782db5
commit 0b8e3a32f0
2 changed files with 5 additions and 3 deletions
@@ -18,6 +18,8 @@ use App\Library\Finances\PlayerDonation;
use App\Library\Finances\ReprocessingTax;
use App\Library\Finances\JumpBridgeTax;
use App\Library\Finances\StructureIndustryTax;
use App\Library\Finances\OfficeFee;
use App\Library\Finances\PlanetProductionTax;
use Seat\Eseye\Containers\EsiAuthentication;
use Seat\Eseye\Eseye;
@@ -203,7 +205,7 @@ class FinanceHelper {
$industry = new StructureIndustryTax();
$industry->InsertStructureIndustryTax($entry, $corpId, $division);
} else if($entry['ref_type'] == 'planetary_import_tax' || $entry['ref_type'] == 'planetary_export_tax') {
$pi = new PlanetaryProductionTax();
$pi = new PlanetProductionTax();
$pi->InsertPlanetaryProductionTax($entry, $corpId, $division);
} else if($entry['ref_type'] == 'office_rental_fee') {
$office = new OfficeFee();
+2 -2
View File
@@ -13,9 +13,9 @@ use App\Library\Esi\Esi;
use App\Models\Finances\PlanetProductionTaxJournal;
class OfficeFee {
class PlanetProductionTax {
public function InsertOfficeFee($journal, $corpId, $division) {
public function InsertPlanetProductionTax($journal, $corpId, $division) {
//Create the ESI Helper class
$esiHelper = new Esi;