industry taxes testing
This commit is contained in:
@@ -44,7 +44,8 @@ class StructureController extends Controller
|
||||
//Get the dates we are working with
|
||||
$dates = $sHelper->GetTimeFrameInMonths($months);
|
||||
|
||||
//Get a list of structures
|
||||
//Get a list of structures - context_id is not structure id, it's job id.
|
||||
|
||||
$structures = StructureIndustryTaxJournal::select('context_id')
|
||||
->whereBetween('date', [$dates[0]['start'], $dates[0]['end']])
|
||||
->groupBy('context_id')
|
||||
|
||||
@@ -84,7 +84,7 @@ class FinanceHelper {
|
||||
($entry['ref_type'] == 'corporation_account_withdrawal' && $entry['second_party_id'] == 98287666)) {
|
||||
$other = new PlayerDonation();
|
||||
$other->InsertPlayerDonation($entry, $corpId, $division);
|
||||
} else if($entry['ref_type'] == 'industry_facility_tax' && $entry['second_party_id'] == 98287666) {
|
||||
} else if($entry['ref_type'] == 'industry_job_tax' && $entry['second_party_id'] == 98287666) {
|
||||
$industry = new StructureIndustryTax();
|
||||
$industry->InsertStructureIndustryTax($entry, $corpId, $division);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user