fix fix bapenda

This commit is contained in:
arifal
2025-08-20 05:43:38 +07:00
parent fef6ae7522
commit 8de1b51fea
2 changed files with 9 additions and 9 deletions

View File

@@ -22,11 +22,11 @@ class LackOfPotentialController extends Controller
$total_tata_ruang_usaha = SpatialPlanning::where('building_function','like', '%usaha%')->count();
$total_tata_ruang_non_usaha = SpatialPlanning::where('building_function','not like', '%usaha%')->count();
$data_report_tourism = TourismBasedKBLI::all();
$data_pajak_reklame = Tax::where('tax_code','Reklame')->count();
$data_pajak_restoran = Tax::where('tax_code','Restoran')->count();
$data_pajak_hiburan = Tax::where('tax_code','Hiburan')->count();
$data_pajak_hotel = Tax::where('tax_code','Hotel')->count();
$data_pajak_parkir = Tax::where('tax_code','Parkir')->count();
$data_pajak_reklame = Tax::where('tax_code','Reklame')->distinct('business_name')->count();
$data_pajak_restoran = Tax::where('tax_code','Restoran')->distinct('business_name')->count();
$data_pajak_hiburan = Tax::where('tax_code','Hiburan')->distinct('business_name')->count();
$data_pajak_hotel = Tax::where('tax_code','Hotel')->distinct('business_name')->count();
$data_pajak_parkir = Tax::where('tax_code','Parkir')->distinct('business_name')->count();
return response()->json([
'total_reklame' => $total_reklame,