update
parent
936659422c
commit
29801a5053
|
|
@ -95,6 +95,7 @@ class FormController implements HasMiddleware
|
||||||
$allUnits = ReferenceUnit::rowActive()->get();
|
$allUnits = ReferenceUnit::rowActive()->get();
|
||||||
$unitsMap = $allUnits->keyBy('code');
|
$unitsMap = $allUnits->keyBy('code');
|
||||||
$unitsByCategory = $allUnits->groupBy('category');
|
$unitsByCategory = $allUnits->groupBy('category');
|
||||||
|
dd(json_encode($unitsByCategory));
|
||||||
|
|
||||||
// For Copy data feature
|
// For Copy data feature
|
||||||
// $availableYears = ActivityForm::select('inventory_year')->distinct()
|
// $availableYears = ActivityForm::select('inventory_year')->distinct()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue