create new command for insert init spatial plannings dan remove unused retribution tables

This commit is contained in:
arifal
2025-06-23 17:52:55 +07:00
parent 7eb5a850c2
commit 5dd92aa323
5 changed files with 826 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ class LackOfPotentialController extends Controller
$total_pdam = Customer::count();
$total_tata_ruang = SpatialPlanning::count();
$total_tata_ruang_usaha = SpatialPlanning::where('building_function','like', '%usaha%')->count();
$total_tata_ruang_non_usaha = SpatialPlanning::where('building_function','like', '%hunian%')->count();
$total_tata_ruang_non_usaha = SpatialPlanning::where('building_function','not like', '%usaha%')->count();
$data_report_tourism = TourismBasedKBLI::all();
return response()->json([