diff --git a/app/Http/Controllers/PermohonanController.php b/app/Http/Controllers/PermohonanController.php new file mode 100644 index 0000000..4485f12 --- /dev/null +++ b/app/Http/Controllers/PermohonanController.php @@ -0,0 +1,20 @@ + - + diff --git a/resources/js/Online/SearchSAG.vue b/resources/js/Online/SearchSAG.vue index 36575ad..2f51b8c 100644 --- a/resources/js/Online/SearchSAG.vue +++ b/resources/js/Online/SearchSAG.vue @@ -127,7 +127,7 @@

- + {{ cust.status }} diff --git a/resources/js/Permohonan/SenaraiMohon.vue b/resources/js/Permohonan/SenaraiMohon.vue new file mode 100644 index 0000000..36dc79b --- /dev/null +++ b/resources/js/Permohonan/SenaraiMohon.vue @@ -0,0 +1,610 @@ + + \ No newline at end of file diff --git a/resources/js/Permohonan/StatusMohon.vue b/resources/js/Permohonan/StatusMohon.vue new file mode 100644 index 0000000..ea5df08 --- /dev/null +++ b/resources/js/Permohonan/StatusMohon.vue @@ -0,0 +1,241 @@ + + + + + diff --git a/resources/js/Permohonan/index.vue b/resources/js/Permohonan/index.vue new file mode 100644 index 0000000..580934b --- /dev/null +++ b/resources/js/Permohonan/index.vue @@ -0,0 +1,10 @@ + + + \ No newline at end of file diff --git a/resources/js/app.js b/resources/js/app.js index 19bcbcf..16b39d4 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -119,15 +119,15 @@ Vue.use(require('vue-pusher'), { } }); -Vue.prototype.$api1 = 'http://api.arrahn' +Vue.prototype.$api1 = 'http://localhost:8000' 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: { @@ -209,6 +209,11 @@ Vue.component('clock-component', require('./components/util/Clock.vue').default) Vue.component('logout-component', require('./Logout.vue').default) Vue.component('notify-component', require('./components/util/Notify.vue').default) + +Vue.component('permohonanindex-component', require('./Permohonan/index.vue').default) + +Vue.component('permohonan-component', require('./Permohonan/SenaraiMohon.vue').default) + Vue.component('apexchart', VueApexCharts) 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; } } diff --git a/resources/js/components/util/BlacklistModal.vue b/resources/js/components/util/BlacklistModal.vue index d419b9a..654bc61 100644 --- a/resources/js/components/util/BlacklistModal.vue +++ b/resources/js/components/util/BlacklistModal.vue @@ -66,7 +66,7 @@ -

diff --git a/resources/js/components/util/KomenModal.vue b/resources/js/components/util/KomenModal.vue index a8db475..d0c16bf 100644 --- a/resources/js/components/util/KomenModal.vue +++ b/resources/js/components/util/KomenModal.vue @@ -22,7 +22,7 @@ - diff --git a/resources/js/components/util/Modal.vue b/resources/js/components/util/Modal.vue index 7cf3bd9..5ef677e 100644 --- a/resources/js/components/util/Modal.vue +++ b/resources/js/components/util/Modal.vue @@ -74,9 +74,9 @@
-
+
-
+

PE

@@ -99,9 +99,9 @@
-
+
-
+

TS

diff --git a/resources/js/components/util/ModalTransaction.vue b/resources/js/components/util/ModalTransaction.vue index 9c12fc6..ca667f4 100644 --- a/resources/js/components/util/ModalTransaction.vue +++ b/resources/js/components/util/ModalTransaction.vue @@ -26,7 +26,7 @@
TRANSACTION
-
{{ this.referencestatus }}
+
{{ this.referencestatus }}
diff --git a/resources/js/components/util/PetiBesiModal.vue b/resources/js/components/util/PetiBesiModal.vue index b11d46f..848bc7f 100644 --- a/resources/js/components/util/PetiBesiModal.vue +++ b/resources/js/components/util/PetiBesiModal.vue @@ -70,9 +70,9 @@
-
+
-
+

STL

@@ -96,9 +96,9 @@
-
+
-
+

PHQ

@@ -120,9 +120,9 @@
-
+
-
+

BAK

diff --git a/resources/js/pages/Blacklist.vue b/resources/js/pages/Blacklist.vue index 405bc3e..41a4abe 100644 --- a/resources/js/pages/Blacklist.vue +++ b/resources/js/pages/Blacklist.vue @@ -6,7 +6,7 @@
- +
diff --git a/resources/js/pages/Detailspelanggan.vue b/resources/js/pages/Detailspelanggan.vue index 04e4835..27a862f 100644 --- a/resources/js/pages/Detailspelanggan.vue +++ b/resources/js/pages/Detailspelanggan.vue @@ -762,7 +762,7 @@ export default { } }, getDataSenaraiSAG: function(pageNumber){ - this.axios.get('http://api.arrahn/admin/customers/' + this.icnoasal + '/gadai/' + this.selected,{params: { + this.axios.get('http://localhost:8000/admin/customers/' + this.icnoasal + '/gadai/' + this.selected,{params: { page: pageNumber }}).then(response => { if(this.selected === 'belum_tebus') @@ -793,7 +793,7 @@ export default { }, searchsag: function(){ - this.axios.get('http://api.arrahn/admin/customers/' + this.icnoasal + '/gadai/' + this.selected,{params: { + this.axios.get('http://localhost:8000/admin/customers/' + this.icnoasal + '/gadai/' + this.selected,{params: { page: 0, search: this.search }}).then(response => { diff --git a/resources/js/pages/dashboard.vue b/resources/js/pages/dashboard.vue index e735684..11d77d7 100644 --- a/resources/js/pages/dashboard.vue +++ b/resources/js/pages/dashboard.vue @@ -326,7 +326,7 @@ 18%
-
+
diff --git a/resources/js/routes.js b/resources/js/routes.js index 462474c..b5cc236 100644 --- a/resources/js/routes.js +++ b/resources/js/routes.js @@ -24,6 +24,9 @@ import OnlineHome from './Online/SearchSAG' import SenaraiBajet from './Bajet/Senaraibajet' import BajetKemaskini from './Bajet/KemaskiniBajet' +import SenaraiMohon from './Permohonan/SenaraiMohon' +import StatusMohon from './Permohonan/StatusMohon' + @@ -52,7 +55,10 @@ export default new VueRouter({ { path: '/bajet/kemaskini', component: SenaraiBajet }, - { name: 'bajetkemaskini',path: '/bajet/kemaskini/:id', component: BajetKemaskini } + { name: 'bajetkemaskini',path: '/bajet/kemaskini/:id', component: BajetKemaskini }, + + { path: '/permohonan', component: SenaraiMohon }, + { path: '/permohonan/status', component: StatusMohon }, ], mode: 'history' diff --git a/resources/views/auth/login-backup.blade.php b/resources/views/auth/login-backup.blade.php new file mode 100644 index 0000000..97a864d --- /dev/null +++ b/resources/views/auth/login-backup.blade.php @@ -0,0 +1,59 @@ +@extends('layouts.app') + +@section('content') +
+ +
+ + {{--
+

Facebook

+ +

Pajak Gadai Islam.

+
--}} + +
+ +
+ + + @csrf + + @if (Session::has('error')) + {{-- --}} + + @endif + + +
+ + @error('email') +

{{ $message }}

+ @enderror +
+ +
+ + @error('password') +

{{ $message }}

+ @enderror +
+ + Forgot Pasword? +
+

+ Permodalan Kelantan Berhad +

+
+
+ +
+@endsection diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 97a864d..ef4f73a 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,59 +1,184 @@ -@extends('layouts.app') + + + + + -@section('content') -
- -
- - {{--
-

Facebook

- -

Pajak Gadai Islam.

-
--}} + Laravel -
+ + -
- + {{-- + --}} - @csrf + + + + +
+ + + +
- -
- - @error('password') -

{{ $message }}

- @enderror + + +
+
- - Forgot Pasword? - -

- Permodalan Kelantan Berhad -

-
-
- -
-@endsection + + diff --git a/resources/views/bajet/home.blade.php b/resources/views/bajet/home.blade.php index facca1f..b4c0ef2 100644 --- a/resources/views/bajet/home.blade.php +++ b/resources/views/bajet/home.blade.php @@ -11,7 +11,7 @@ @if (Session::has('type')) -