From 12f84475d48c32752ebd66f95e660a935728c508 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 5 Jan 2019 04:35:27 -0600 Subject: [PATCH] industry taxes testing --- app/Http/Controllers/StructureController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/StructureController.php b/app/Http/Controllers/StructureController.php index 94a72bece..dc62f6a68 100644 --- a/app/Http/Controllers/StructureController.php +++ b/app/Http/Controllers/StructureController.php @@ -43,7 +43,7 @@ class StructureController extends Controller //Get a list of structures $structures = StructureIndustryTaxJournal::select('context_id') - ->whereBetween('date', [$date[0]['start'], $date[0]['end']]) + ->whereBetween('date', [$dates[0]['start'], $dates[0]['end']]) ->groupBy('context_id') ->get();