fix fix bapenda
This commit is contained in:
@@ -22,11 +22,11 @@ class LackOfPotentialController extends Controller
|
|||||||
$total_tata_ruang_usaha = SpatialPlanning::where('building_function','like', '%usaha%')->count();
|
$total_tata_ruang_usaha = SpatialPlanning::where('building_function','like', '%usaha%')->count();
|
||||||
$total_tata_ruang_non_usaha = SpatialPlanning::where('building_function','not like', '%usaha%')->count();
|
$total_tata_ruang_non_usaha = SpatialPlanning::where('building_function','not like', '%usaha%')->count();
|
||||||
$data_report_tourism = TourismBasedKBLI::all();
|
$data_report_tourism = TourismBasedKBLI::all();
|
||||||
$data_pajak_reklame = Tax::where('tax_code','Reklame')->count();
|
$data_pajak_reklame = Tax::where('tax_code','Reklame')->distinct('business_name')->count();
|
||||||
$data_pajak_restoran = Tax::where('tax_code','Restoran')->count();
|
$data_pajak_restoran = Tax::where('tax_code','Restoran')->distinct('business_name')->count();
|
||||||
$data_pajak_hiburan = Tax::where('tax_code','Hiburan')->count();
|
$data_pajak_hiburan = Tax::where('tax_code','Hiburan')->distinct('business_name')->count();
|
||||||
$data_pajak_hotel = Tax::where('tax_code','Hotel')->count();
|
$data_pajak_hotel = Tax::where('tax_code','Hotel')->distinct('business_name')->count();
|
||||||
$data_pajak_parkir = Tax::where('tax_code','Parkir')->count();
|
$data_pajak_parkir = Tax::where('tax_code','Parkir')->distinct('business_name')->count();
|
||||||
|
|
||||||
return response()->json([
|
return response()->json([
|
||||||
'total_reklame' => $total_reklame,
|
'total_reklame' => $total_reklame,
|
||||||
|
|||||||
@@ -306,23 +306,23 @@ class DashboardPotentialInsideSystem {
|
|||||||
safeSetText(
|
safeSetText(
|
||||||
"restoran-count-amount",
|
"restoran-count-amount",
|
||||||
addThousandSeparators(
|
addThousandSeparators(
|
||||||
(this.pajakRestoranCount * 2500000).toString()
|
(this.pajakRestoranCount * 6200000).toString()
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
safeSetText("hiburan-count", this.pajakHiburanCount);
|
safeSetText("hiburan-count", this.pajakHiburanCount);
|
||||||
safeSetText(
|
safeSetText(
|
||||||
"hiburan-count-amount",
|
"hiburan-count-amount",
|
||||||
addThousandSeparators((this.pajakHiburanCount * 2500000).toString())
|
addThousandSeparators((this.pajakHiburanCount * 6200000).toString())
|
||||||
);
|
);
|
||||||
safeSetText("hotel-count", this.pajakHotelCount);
|
safeSetText("hotel-count", this.pajakHotelCount);
|
||||||
safeSetText(
|
safeSetText(
|
||||||
"hotel-count-amount",
|
"hotel-count-amount",
|
||||||
addThousandSeparators(this.pajakHotelCount * 2500000).toString()
|
addThousandSeparators(this.pajakHotelCount * 6200000).toString()
|
||||||
);
|
);
|
||||||
safeSetText("parkir-count", this.pajakParkirCount);
|
safeSetText("parkir-count", this.pajakParkirCount);
|
||||||
safeSetText(
|
safeSetText(
|
||||||
"parkir-count-amount",
|
"parkir-count-amount",
|
||||||
addThousandSeparators((this.pajakParkirCount * 2500000).toString())
|
addThousandSeparators((this.pajakParkirCount * 6200000).toString())
|
||||||
);
|
);
|
||||||
safeSetText("pdam-count", this.pdamCount);
|
safeSetText("pdam-count", this.pdamCount);
|
||||||
safeSetText(
|
safeSetText(
|
||||||
|
|||||||
Reference in New Issue
Block a user