industry taxes testing

This commit is contained in:
2019-01-05 19:51:36 -06:00
parent ecd0461b55
commit 0a5119c24d
2 changed files with 3 additions and 2 deletions

View File

@@ -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')