diff --git a/app/Http/Controllers/AliranTunaiController.php b/app/Http/Controllers/AliranTunaiController.php index 546a68c..1ec9bed 100644 --- a/app/Http/Controllers/AliranTunaiController.php +++ b/app/Http/Controllers/AliranTunaiController.php @@ -179,7 +179,7 @@ class AliranTunaiController extends Controller $pendahuluan = $alirantunai['tambah']; $serahan = $alirantunai['kurang']; - $updateTunai = Http::put( $request->hostname.'/api/updateTunaiGTByTarikh/'.$request->kodcaw, [ + $updateTunai = Http::post( $request->hostname.'/admin/updateTunaiGTByTarikh/'.$request->kodcaw, [ 'kodlaluan' => $request->teller, 'tarikh' => $request->tarikh, 'keluar'=> $request->gadaian, diff --git a/public/js/app.js b/public/js/app.js index f3149b7..9b78498 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -20129,7 +20129,7 @@ __webpack_require__.r(__webpack_exports__); case 'ARP': case '020303': { - this.sethostname('http://localhost:8000'); + this.sethostname('http://api.arrahn'); break; } @@ -20165,7 +20165,7 @@ __webpack_require__.r(__webpack_exports__); } default: - this.sethostname('http://localhost:8000'); + this.sethostname('http://api.arrahn'); break; } } @@ -23429,13 +23429,13 @@ vue__WEBPACK_IMPORTED_MODULE_14__["default"].use(__webpack_require__(/*! vue-pus encrypted: true } }); -vue__WEBPACK_IMPORTED_MODULE_14__["default"].prototype.$api1 = 'http://localhost:8000'; +vue__WEBPACK_IMPORTED_MODULE_14__["default"].prototype.$api1 = 'http://api.arrahn'; var initial = 'KB2'; -var initialhostname = 'http://localhost:8000'; +var initialhostname = 'http://api.arrahn'; var store = new vuex__WEBPACK_IMPORTED_MODULE_15__["default"].Store({ state: { $kodcaw: 'KB2', - $hostname: 'http://localhost:8000' + $hostname: 'http://api.arrahn' }, plugins: [(0,vuex_persistedstate__WEBPACK_IMPORTED_MODULE_2__["default"])()], mutations: { @@ -30105,7 +30105,7 @@ __webpack_require__.r(__webpack_exports__); var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]}); // Module -___CSS_LOADER_EXPORT___.push([module.id, "\n.vue-friendly-iframe iframe {\nheight:100% !important;\nwidth:100% !important;\n}\n", ""]); +___CSS_LOADER_EXPORT___.push([module.id, "\n.vue-friendly-iframe iframe {\r\nheight:100% !important;\r\nwidth:100% !important;\n}\r\n", ""]); // Exports /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); @@ -30129,7 +30129,7 @@ __webpack_require__.r(__webpack_exports__); var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]}); // Module -___CSS_LOADER_EXPORT___.push([module.id, "\n.radio input:checked + label{\n border-color:#F6D860;\n\tbackground-color:#FFF1BD;\n outline:none;\n}\n\n", ""]); +___CSS_LOADER_EXPORT___.push([module.id, "\n.radio input:checked + label{\r\n border-color:#F6D860;\r\n\tbackground-color:#FFF1BD;\r\n outline:none;\n}\r\n\r\n", ""]); // Exports /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); @@ -30153,7 +30153,7 @@ __webpack_require__.r(__webpack_exports__); var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]}); // Module -___CSS_LOADER_EXPORT___.push([module.id, "\n.radio input:checked + label{\n border-color:#F6D860;\n\tbackground-color:#FFF1BD;\n outline:none;\n}\n\n", ""]); +___CSS_LOADER_EXPORT___.push([module.id, "\n.radio input:checked + label{\r\n border-color:#F6D860;\r\n\tbackground-color:#FFF1BD;\r\n outline:none;\n}\r\n\r\n", ""]); // Exports /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); @@ -81298,7 +81298,7 @@ var render = function () { [ _c("a", { attrs: { href: "#" } }, [ _c("i", { staticClass: "mr-2", class: item.icon }), - _vm._v("\n " + _vm._s(item.title)), + _vm._v("\r\n " + _vm._s(item.title)), ]), ] ), @@ -86169,7 +86169,7 @@ var render = function () { "ml-5 w-0 flex items-center justify-end flex-1 text-green-500 text-base font-bold", }, [ - _vm._v("\n 14.6%\n "), + _vm._v("\r\n 14.6%\r\n "), _c( "svg", { @@ -86210,7 +86210,7 @@ var render = function () { "ml-5 w-0 flex items-center justify-end flex-1 text-green-500 text-base font-bold", }, [ - _vm._v("\n 32.9%\n "), + _vm._v("\r\n 32.9%\r\n "), _c( "svg", { @@ -86251,7 +86251,7 @@ var render = function () { "ml-5 w-0 flex items-center justify-end flex-1 text-red-500 text-base font-bold", }, [ - _vm._v("\n -2.7%\n "), + _vm._v("\r\n -2.7%\r\n "), _c( "svg", { @@ -86308,7 +86308,7 @@ var render = function () { }, [ _vm._v( - "\n 12.5%\n " + "\r\n 12.5%\r\n " ), _c( "svg", @@ -86477,7 +86477,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Transaction\n " + "\r\n Transaction\r\n " ), ] ), @@ -86491,7 +86491,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Date & Time\n " + "\r\n Date & Time\r\n " ), ] ), @@ -86505,7 +86505,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Amount\n " + "\r\n Amount\r\n " ), ] ), @@ -86522,7 +86522,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Payment from " + "\r\n Payment from " ), _c("span", { staticClass: "font-semibold" }, [ _vm._v("Bonnie Green"), @@ -86538,7 +86538,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Apr 23 ,2021\n " + "\r\n Apr 23 ,2021\r\n " ), ] ), @@ -86551,7 +86551,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n $2300\n " + "\r\n $2300\r\n " ), ] ), @@ -86566,7 +86566,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Payment refund to " + "\r\n Payment refund to " ), _c("span", { staticClass: "font-semibold" }, [ _vm._v("#00910"), @@ -86582,7 +86582,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Apr 23 ,2021\n " + "\r\n Apr 23 ,2021\r\n " ), ] ), @@ -86595,7 +86595,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n -$670\n " + "\r\n -$670\r\n " ), ] ), @@ -86610,7 +86610,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Payment failed from " + "\r\n Payment failed from " ), _c("span", { staticClass: "font-semibold" }, [ _vm._v("#087651"), @@ -86626,7 +86626,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Apr 18 ,2021\n " + "\r\n Apr 18 ,2021\r\n " ), ] ), @@ -86639,7 +86639,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n $234\n " + "\r\n $234\r\n " ), ] ), @@ -86654,7 +86654,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Payment from " + "\r\n Payment from " ), _c("span", { staticClass: "font-semibold" }, [ _vm._v("Lana Byrd"), @@ -86670,7 +86670,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Apr 15 ,2021\n " + "\r\n Apr 15 ,2021\r\n " ), ] ), @@ -86683,7 +86683,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n $5000\n " + "\r\n $5000\r\n " ), ] ), @@ -86698,7 +86698,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Payment from " + "\r\n Payment from " ), _c("span", { staticClass: "font-semibold" }, [ _vm._v("Jese Leos"), @@ -86714,7 +86714,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Apr 15 ,2021\n " + "\r\n Apr 15 ,2021\r\n " ), ] ), @@ -86727,7 +86727,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n $2300\n " + "\r\n $2300\r\n " ), ] ), @@ -86742,7 +86742,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Payment from " + "\r\n Payment from " ), _c("span", { staticClass: "font-semibold" }, [ _vm._v("THEMESBERG LLC"), @@ -86758,7 +86758,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Apr 11 ,2021\n " + "\r\n Apr 11 ,2021\r\n " ), ] ), @@ -86771,7 +86771,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n $560\n " + "\r\n $560\r\n " ), ] ), @@ -86786,7 +86786,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Payment from " + "\r\n Payment from " ), _c("span", { staticClass: "font-semibold" }, [ _vm._v("Lana Lysle"), @@ -86802,7 +86802,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Apr 6 ,2021\n " + "\r\n Apr 6 ,2021\r\n " ), ] ), @@ -86815,7 +86815,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n $1437\n " + "\r\n $1437\r\n " ), ] ), @@ -86862,7 +86862,11 @@ var staticRenderFns = [ "text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2", attrs: { href: "#" }, }, - [_vm._v("\n View all\n ")] + [ + _vm._v( + "\r\n View all\r\n " + ), + ] ), ] ), @@ -86896,7 +86900,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Neil Sims\n " + "\r\n Neil Sims\r\n " ), ] ), @@ -86929,7 +86933,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n $320\n " + "\r\n $320\r\n " ), ] ), @@ -86957,7 +86961,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Bonnie Green\n " + "\r\n Bonnie Green\r\n " ), ] ), @@ -86990,7 +86994,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n $3467\n " + "\r\n $3467\r\n " ), ] ), @@ -87018,7 +87022,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Michael Gough\n " + "\r\n Michael Gough\r\n " ), ] ), @@ -87051,7 +87055,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n $67\n " + "\r\n $67\r\n " ), ] ), @@ -87079,7 +87083,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Thomes Lean\n " + "\r\n Thomes Lean\r\n " ), ] ), @@ -87112,7 +87116,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n $2367\n " + "\r\n $2367\r\n " ), ] ), @@ -87140,7 +87144,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n Lana Byrd\n " + "\r\n Lana Byrd\r\n " ), ] ), @@ -87173,7 +87177,7 @@ var staticRenderFns = [ }, [ _vm._v( - "\n $367\n " + "\r\n $367\r\n " ), ] ), @@ -110011,7 +110015,7 @@ if (typeof window !== 'undefined' && window.Vue) { /***/ ((module) => { "use strict"; -module.exports = JSON.parse('{"_args":[["axios@0.21.4","C:\\\\laragon\\\\www\\\\adminpkb3"]],"_development":true,"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["#DEV:/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"C:\\\\laragon\\\\www\\\\adminpkb3","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}'); +module.exports = JSON.parse('{"_args":[["axios@0.21.4","C:\\\\laragon\\\\www\\\\adminpkb"]],"_development":true,"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["#DEV:/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"C:\\\\laragon\\\\www\\\\adminpkb","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}'); /***/ }) diff --git a/resources/js/app.js b/resources/js/app.js index 13f689e..cf1ad61 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -70,15 +70,15 @@ Vue.use(require('vue-pusher'), { } }); -Vue.prototype.$api1 = 'http://localhost:8000' +Vue.prototype.$api1 = 'http://api.arrahn' let initial = 'KB2'; -let initialhostname = 'http://localhost:8000'; +let initialhostname = 'http://api.arrahn'; const store = new Vuex.Store({ state: { $kodcaw: 'KB2', - $hostname: 'http://localhost:8000' + $hostname: 'http://api.arrahn' }, plugins: [createPersistedState()], mutations: { diff --git a/resources/js/components/Cawangan.vue b/resources/js/components/Cawangan.vue index 30ff797..2f4c63a 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://localhost:8000') + this.sethostname('http://api.arrahn') break; } case '010621': @@ -114,7 +114,7 @@ this.sethostname('http://api3.arrahn') break; } - default: this.sethostname('http://localhost:8000') + default: this.sethostname('http://api.arrahn') break; } }