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,

View File

@@ -306,23 +306,23 @@ class DashboardPotentialInsideSystem {
safeSetText(
"restoran-count-amount",
addThousandSeparators(
(this.pajakRestoranCount * 2500000).toString()
(this.pajakRestoranCount * 6200000).toString()
)
);
safeSetText("hiburan-count", this.pajakHiburanCount);
safeSetText(
"hiburan-count-amount",
addThousandSeparators((this.pajakHiburanCount * 2500000).toString())
addThousandSeparators((this.pajakHiburanCount * 6200000).toString())
);
safeSetText("hotel-count", this.pajakHotelCount);
safeSetText(
"hotel-count-amount",
addThousandSeparators(this.pajakHotelCount * 2500000).toString()
addThousandSeparators(this.pajakHotelCount * 6200000).toString()
);
safeSetText("parkir-count", this.pajakParkirCount);
safeSetText(
"parkir-count-amount",
addThousandSeparators((this.pajakParkirCount * 2500000).toString())
addThousandSeparators((this.pajakParkirCount * 6200000).toString())
);
safeSetText("pdam-count", this.pdamCount);
safeSetText(