Commit f96df7dd authored by Manggar Mahardhika's avatar Manggar Mahardhika

push inform kdb klb pbb

parent 02e84de5
...@@ -10503,6 +10503,14 @@ var geo_bangunan = L.geoJson(null, { ...@@ -10503,6 +10503,14 @@ var geo_bangunan = L.geoJson(null, {
var pbb_depan = pbb var pbb_depan = pbb
var pbb_dpn_jd = "";
if (isNaN(pbb_depan)){
pbb_dpn_jd = "-"
}else{
pbb_dpn_jd = pbb_depan
}
if (feature.administrasi.f6 == null){ if (feature.administrasi.f6 == null){
var luas_bangun = 50 var luas_bangun = 50
}else{ }else{
...@@ -10521,6 +10529,21 @@ var geo_bangunan = L.geoJson(null, { ...@@ -10521,6 +10529,21 @@ var geo_bangunan = L.geoJson(null, {
var klb = luas_lantai / luas_tanah var klb = luas_lantai / luas_tanah
var kdb = luas_bangun / luas_tanah * 100 var kdb = luas_bangun / luas_tanah * 100
var klb_dpn = ""
var kdb_dpn = ""
if (isNaN(klb)){
klb_dpn = "-"
}else{
klb_dpn = klb
}
if (isNaN(kdb)){
kdb_dpn = "-"
}else{
kdb_dpn = kdb
}
// if (feature.administrasi.f18 == null) { // if (feature.administrasi.f18 == null) {
// var pbb = 0 // var pbb = 0
// var pbb_depan = "Belum Dihitung" // var pbb_depan = "Belum Dihitung"
...@@ -10982,7 +11005,7 @@ var geo_bangunan = L.geoJson(null, { ...@@ -10982,7 +11005,7 @@ var geo_bangunan = L.geoJson(null, {
<span style="font-family: 'gilroylight';">KDB</span> <span style="font-family: 'gilroylight';">KDB</span>
</div> </div>
<div> <div>
<span style="font-family: 'gilroysemibold';"> ` + kdb + ` % </span> <span style="font-family: 'gilroysemibold';"> ` + kdb_dpn + ` % </span>
</div> </div>
</div> </div>
...@@ -10992,7 +11015,7 @@ var geo_bangunan = L.geoJson(null, { ...@@ -10992,7 +11015,7 @@ var geo_bangunan = L.geoJson(null, {
<span style="font-family: 'gilroylight';">KLB</span> <span style="font-family: 'gilroylight';">KLB</span>
</div> </div>
<div> <div>
<span style="font-family: 'gilroysemibold';"> ` + klb + ` </span> <span style="font-family: 'gilroysemibold';"> ` + klb_dpn + ` </span>
</div> </div>
</div> </div>
...@@ -11021,7 +11044,7 @@ var geo_bangunan = L.geoJson(null, { ...@@ -11021,7 +11044,7 @@ var geo_bangunan = L.geoJson(null, {
<span style="font-family: 'gilroylight';">Estimasi PBB</span> <span style="font-family: 'gilroylight';">Estimasi PBB</span>
</div> </div>
<div> <div>
<span style="font-family: 'gilroysemibold';"> RP. ` + pbb_depan + ` </span> <span style="font-family: 'gilroysemibold';"> RP. ` + pbb_dpn_jd + ` </span>
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment