main
Ilham Wara Nugroho 2026-06-10 16:03:24 +07:00
parent 936659422c
commit 29801a5053
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ class FormController implements HasMiddleware
$allUnits = ReferenceUnit::rowActive()->get();
$unitsMap = $allUnits->keyBy('code');
$unitsByCategory = $allUnits->groupBy('category');
dd(json_encode($unitsByCategory));
// For Copy data feature
// $availableYears = ActivityForm::select('inventory_year')->distinct()