diff --git a/resources/js/Permohonan/RekodMohon.vue b/resources/js/Permohonan/RekodMohon.vue
index e3a3f9d..7288fac 100644
--- a/resources/js/Permohonan/RekodMohon.vue
+++ b/resources/js/Permohonan/RekodMohon.vue
@@ -5,7 +5,7 @@
+ +
+ +- Telah Lulus + Telah disahkan
@@ -283,7 +305,7 @@- DALAM PROCESS + DALAM PROSES
- {{ status.description }}
{{ 'NAMA PEMOHON : ' + status[0].nama_pemohon }}
+ {{ status.description }}
{{ 'Nama : ' + pembesarannama(status[0].nama_pemohon) }}
- {{ status.description }}
{{ 'NAMA OPERASI : ' + status[0].nama_operasi }}
+ {{ status.description }}
{{ 'Nama : ' + pembesarannama(status[0].nama_operasi) }}
- {{ status.description }}
{{ 'NAMA AKAUN : ' + status[0].nama_akaun }}
+ {{ status.description }}
{{ 'Nama : ' + pembesarannama(status[0].nama_akaun) }}
- {{ status.description }}
{{ 'JUMLAH DILULUSKAN : RM ' + formatterfunction(status[0].jumlah_diluluskan) }}
+ {{ status.description }}
{{ 'Jumlah Diluluskan : RM ' + formatterfunction(status[0].jumlah_diluluskan) }}
- {{ status.description }}
{{ 'NAMA PENERIMA : ' + status[0].nama_penerima }}
+ {{ status.description }}
{{ 'Nama : ' + pembesarannama(status[0].nama_penerima) }}
- {{ status.description }}
{{ 'KOMEN : ' + status[0].komen }}
+ {{ status.description }}
{{ 'Komen : ' + status[0].komen }}
- {{ status.description }}
{{ 'JENIS BANK : ' + status[0].jenisbank }}
+ {{ status.description }}
{{ 'Nama Bank : ' + status[0].jenisbank }}
@@ -480,6 +479,13 @@ export default {
},
downloadpb(pbid) {
window.open('/api/check/muatturun?files_id=' + pbid, '_blank');
+ },
+ pembesarannama(value){
+ const str = value.toLowerCase().replace(/\b[a-z]/g, function(response) {
+ return response.toUpperCase();
+ });
+
+ return str;
}
}
}
diff --git a/resources/js/app.js b/resources/js/app.js
index 5e87610..39b04f7 100644
--- a/resources/js/app.js
+++ b/resources/js/app.js
@@ -119,18 +119,18 @@ Vue.use(require('vue-pusher'), {
}
});
-Vue.prototype.$api1 = 'http://api.arrahn'
+Vue.prototype.$api1 = 'http://localhost:8000'
Vue.prototype.$username = document.querySelector("meta[name='user_name']").getAttribute('content');
Vue.prototype.$userroles = document.querySelector("meta[name='user_roles']").getAttribute('content');
let initial = 'KB2';
-let initialhostname = 'http://api.arrahn';
+let initialhostname = 'http://localhost:8000';
const store = new Vuex.Store({
state: {
$kodcaw: 'KB2',
- $hostname: 'http://api.arrahn'
+ $hostname: 'http://localhost:8000'
},
plugins: [createPersistedState()],
mutations: {
diff --git a/resources/js/components/Cawangan.vue b/resources/js/components/Cawangan.vue
index 2f4c63a..30ff797 100644
--- a/resources/js/components/Cawangan.vue
+++ b/resources/js/components/Cawangan.vue
@@ -84,7 +84,7 @@
case 'JLI':
case 'ARP':
case '020303':{
- this.sethostname('http://api.arrahn')
+ this.sethostname('http://localhost:8000')
break;
}
case '010621':
@@ -114,7 +114,7 @@
this.sethostname('http://api3.arrahn')
break;
}
- default: this.sethostname('http://api.arrahn')
+ default: this.sethostname('http://localhost:8000')
break;
}
}