diff --git a/public/js/app.js b/public/js/app.js index 39af476..3cf51e4 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -18696,235 +18696,21 @@ __webpack_require__.r(__webpack_exports__); // // /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + props: { + kodcaw: String + }, data: function data() { return { series: [{ name: 'Gadai', - // data: [44, 55, 57, 56, 61, 58, 63, 60, 66, 80, 68] - data: [{ - x: 'Jan', - y: 44, - goals: [{ - name: 'Expected', - value: 32, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Feb', - y: 55, - goals: [{ - name: 'Expected', - value: 56, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Mac', - y: 57, - goals: [{ - name: 'Expected', - value: 40, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Apr', - y: 56, - goals: [{ - name: 'Expected', - value: 77, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Mei', - y: 61, - goals: [{ - name: 'Expected', - value: 65, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Jun', - y: 58, - goals: [{ - name: 'Expected', - value: 60, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Jul', - y: 63, - goals: [{ - name: 'Expected', - value: 43, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Ogos', - y: 60, - goals: [{ - name: 'Expected', - value: 20, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Sept', - y: 66, - goals: [{ - name: 'Expected', - value: 60, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Okt', - y: 80, - goals: [{ - name: 'Expected', - value: 60, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Nov', - y: 86, - goals: [{ - name: 'Expected', - value: 60, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Dis', - y: 101, - goals: [{ - name: 'Expected', - value: 60, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }] + data: [] }, { name: 'Tebus', - // data: [76, 85, 101, 98, 87, 105, 91, 114, 94, 67, 65] - data: [{ - x: 'Jan', - y: 76, - goals: [{ - name: 'Expected', - value: 80, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Feb', - y: 85, - goals: [{ - name: 'Expected', - value: 60, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Mac', - y: 101, - goals: [{ - name: 'Expected', - value: 50, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Apr', - y: 76, - goals: [{ - name: 'Expected', - value: 56, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Mei', - y: 85, - goals: [{ - name: 'Expected', - value: 70, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Jun', - y: 101, - goals: [{ - name: 'Expected', - value: 40, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Jul', - y: 76, - goals: [{ - name: 'Expected', - value: 44, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Ogos', - y: 85, - goals: [{ - name: 'Expected', - value: 45, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Sept', - y: 101, - goals: [{ - name: 'Expected', - value: 80, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Okt', - y: 101, - goals: [{ - name: 'Expected', - value: 70, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Nov', - y: 101, - goals: [{ - name: 'Expected', - value: 40, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }, { - x: 'Dis', - y: 101, - goals: [{ - name: 'Expected', - value: 80, - strokeHeight: 5, - strokeColor: '#775DD0' - }] - }] + data: [] }], chartOptions: { chart: { + id: 'bilangan-bulanan', type: 'bar', height: 350 }, @@ -18938,9 +18724,6 @@ __webpack_require__.r(__webpack_exports__); } } }, - // dataLabels: { - // enabled: false - // }, dataLabels: { enabled: true, style: { @@ -18962,9 +18745,14 @@ __webpack_require__.r(__webpack_exports__); width: 2, colors: ['transparent'] }, - // xaxis: { - // categories: ['Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct','Nov','Dis'], - // }, + legend: { + show: true, + showForSingleSeries: true, + customLegendItems: ['Gadai', 'Tebus', 'Expected'], + markers: { + fillColors: ['#3498db', '#e74c3c', '#775DD0'] + } + }, yaxis: { title: { text: '(Bilangan Orang)' @@ -18982,6 +18770,46 @@ __webpack_require__.r(__webpack_exports__); } } }; + }, + created: function created() { + this.getData(); + }, + methods: { + getData: function getData() { + var _this = this; + + this.axios.all([axios.get("http://localhost:8000/admin/bilangan/gadai", { + params: { + kodcaw: this.kodcaw + } + }), axios.get("http://localhost:8000/admin/bilangan/tebus", { + params: { + kodcaw: this.kodcaw + } + })]).then(this.axios.spread(function (datagadai, datatebus) { + _this.$apexcharts.exec('bilangan-bulanan', 'updateSeries', [{ + name: 'Gadai', + data: datagadai.data + }, { + name: 'Tebus', + data: datatebus.data + }]); + })); + } + }, + mounted: function mounted() { + var _this2 = this; + + var channel = this.$pusher.subscribe('gadai-notify'); + channel.bind('trigger-gadai', function (_ref) { + var response = _ref.response; + if (response.cawangan = _this2.kodcaw) _this2.getData(); + }); + var channel2 = this.$pusher.subscribe('tebus-notify'); + channel2.bind('trigger-tebus', function (_ref2) { + var response = _ref2.response; + if (response.cawangan = _this2.kodcaw) _this2.getData(); + }); } }); @@ -19104,16 +18932,14 @@ var self = undefined; var channel = this.$pusher.subscribe('keuntungan-notify'); channel.bind('trigger-keuntungan', function (_ref) { var response = _ref.response; - console.log("".concat(response)); - - _this2.getDatakeuntungan(); + // console.log(`${response}`); + if (response.cawangan == _this2.kodcaw) _this2.getDatakeuntungan(); }); var channel2 = this.$pusher.subscribe('tebus-notify'); channel2.bind('trigger-tebus', function (_ref2) { var response = _ref2.response; - console.log("".concat(response)); - - _this2.getDatakeuntungan(); + // console.log(`${response}`); + if (response.cawangan == _this2.kodcaw) _this2.getDatakeuntungan(); }); } }); @@ -19236,9 +19062,8 @@ var _formatter = new Intl.NumberFormat('en-US', { var channel = this.$pusher.subscribe('gadai-notify'); channel.bind('trigger-gadai', function (_ref) { var response = _ref.response; - console.log("".concat(response)); - - _this2.getDataPembiayaan(); + // console.log(`${response}`); + if (response.cawangan == _this2.kodcaw) _this2.getDataPembiayaan(); }); } }); @@ -19361,9 +19186,8 @@ var _formatter = new Intl.NumberFormat('en-US', { var channel = this.$pusher.subscribe('tebus-notify'); channel.bind('trigger-tebus', function (_ref) { var response = _ref.response; - console.log("".concat(response)); - - _this2.getDataPenebusan(); + // console.log(`${response}`); + if (response.cawangan == _this2.kodcaw) _this2.getDataPenebusan(); }); } }); @@ -20510,6 +20334,278 @@ __webpack_require__.r(__webpack_exports__); /***/ }), +/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/BlacklistModal.vue?vue&type=script&lang=js&": +/*!**************************************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/BlacklistModal.vue?vue&type=script&lang=js& ***! + \**************************************************************************************************************************************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js"); +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _popperjs_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @popperjs/core */ "./node_modules/@popperjs/core/lib/popper.js"); + + +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } + +function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } + +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + props: { + placement: { + type: String, + "default": "bottom-start" + } + }, + name: "modal", + data: function data() { + return { + showModal: false, + kodcaw: '', + dropdownShow: false, + param1: "", + arrayCustomer: [], + specCust: [] + }; + }, + mounted: function mounted() { + document.addEventListener('click', this.onClick); + }, + beforeDestroy: function beforeDestroy() { + document.removeEventListener('click', this.onClick); + }, + created: function created() { + console.log(this.kodcaw); + }, + methods: { + toggleModal: function toggleModal() { + this.showModal = !this.showModal; + }, + toggleDropdown: function toggleDropdown() { + var _this = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return _this.getData(); + + case 2: + if (_this.arrayCustomer.length > 0) { + _this.dropdownShow = true; + (0,_popperjs_core__WEBPACK_IMPORTED_MODULE_1__.createPopper)(_this.$refs.btnDropdownRef, _this.$refs.popoverDropdownRef, { + placement: "bottom-start", + modifiers: [{ + name: "preventOverflow" + }] + }); + } else { + console.log('siap'); + } + + case 3: + case "end": + return _context.stop(); + } + } + }, _callee); + }))(); + }, + getData: function getData() { + var _this2 = this; + + var inputvalue = document.getElementById("frminput").value; + + if (inputvalue) { + if (this.hasNumber(inputvalue)) { + this.axios.get('http://localhost:8000/admin/searchByIC', { + params: { + ic: inputvalue + } + }).then(function (response) { + _this2.arrayCustomer = response.data; + })["catch"](function (error) { + console.log(error); + }); + } else { + this.axios.get('http://localhost:8000/admin/searchByName', { + params: { + nama: inputvalue + } + }).then(function (response) { + _this2.arrayCustomer = response.data; + })["catch"](function (error) { + console.log(error); + }); + } + } + }, + hasNumber: function hasNumber(inputString) { + return /\d/.test(inputString); + }, + onClick: function onClick() { + var isClickInside = this.$refs.popoverDropdownRef.contains(event.target); + var searchInside = this.$refs.btnDropdownRef.contains(event.target); + var buttonSearch = document.getElementById('buttonsearch'); + + if (isClickInside || searchInside || buttonSearch.contains(event.target)) { + if (buttonSearch.value !== '') { + this.dropdownShow = true; + } + } else { + if (this.$refs.btnDropdownRef.value != '') { + this.dropdownShow = false; + } else { + this.dropdownShow = false; + this.arrayCustomer = []; + } + } + }, + ClickUrl: function ClickUrl(customer) { + console.log(customer.cust); + var self = this; + this.arrayCustomer.map(function (value, key) { + if (customer.cust == value.id) { + self.specCust = value; + } + }); + } // kemaskinifunc: function(){ + // // console.log(this.kodcaw + this.kodlaluan + this.tarikh) + // axios.put('/api/check/kemaskinialirantunai', + // { + // kodcaw: this.kodcaw, + // teller: this.kodlaluan, + // tarikh: this.tarikh, + // gadaian: this.gadaian.replace(/[^0-9.-]+/g,""), + // penebusan: this.penebusan.replace(/[^0-9.-]+/g,""), + // bakiakhir: this.bakiakhir.replace(/[^0-9.-]+/g,"") + // }).then(response => { + // if(response.data == 'berjaya') + // { + // this.showModal = false; + // this.$toast.success("Kemaskini Sudah Berjaya!") + // // vm.$forceUpdate(); + // this.$emit('clickEvent_', this.pageNumber) + // // setTimeout("window.location.reload()", 3000); + // }else{ + // this.showModal = false; + // this.$toast.error("Kemaskini tidak berjaya") + // } + // }); + // } + + } +}); + +/***/ }), + /***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/Clock.vue?vue&type=script&lang=js&": /*!*****************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/Clock.vue?vue&type=script&lang=js& ***! @@ -21143,6 +21239,8 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); +/* harmony import */ var _components_pagination_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../components/pagination.vue */ "./resources/js/components/pagination.vue"); +/* harmony import */ var _components_util_BlacklistModal_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/util/BlacklistModal.vue */ "./resources/js/components/util/BlacklistModal.vue"); // // // @@ -21254,25 +21352,64 @@ __webpack_require__.r(__webpack_exports__); // // // -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({}); + + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + components: { + pagination: _components_pagination_vue__WEBPACK_IMPORTED_MODULE_0__["default"], + modal: _components_util_BlacklistModal_vue__WEBPACK_IMPORTED_MODULE_1__["default"] + }, + props: { + kodcaw: { + type: String + } + }, + data: function data() { + return { + currentPage: 1, + showblacklist: [], + paginate: {}, + search: '' + }; + }, + created: function created() { + this.getBlacklist(this.currentPage); + }, + methods: { + getBlacklist: function getBlacklist(pageNumber) { + var _this = this; + + this.axios.get('http://localhost:8000/admin/SenaraiBlacklist/' + this.kodcaw, { + params: { + page: pageNumber + } + }).then(function (response) { + _this.showblacklist = response.data; + _this.paginate = response.data; + _this.currentPage = pageNumber; + }); + }, + searchname: function searchname() { + var _this2 = this; + + this.axios.get('http://localhost:8000/admin/SenaraiBlacklist/' + this.kodcaw, { + params: { + page: 0, + search: this.search + } + }).then(function (response) { + console.log(response.data); + _this2.showblacklist = response.data; + _this2.paginate = response.data; + }); + }, + showModal: function showModal() { + // let element = this.$refs.modal.$el + // $(element).modal('show') + this.$refs.modal.showModal = true; + } + } +}); /***/ }), @@ -28268,6 +28405,30 @@ ___CSS_LOADER_EXPORT___.push([module.id, "\n.radio input:checked + label{\r\n /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); +/***/ }), + +/***/ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/BlacklistModal.vue?vue&type=style&index=0&lang=css&": +/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/BlacklistModal.vue?vue&type=style&index=0&lang=css& ***! + \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/***/ ((module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); +/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__); +// Imports + +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.modal-fade-enter,\n.modal-fade-leave-to {\n opacity: 0;\n}\n.modal-fade-enter-active,\n.modal-fade-leave-active {\n transition: opacity .5s ease;\n}\n", ""]); +// Exports +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); + + /***/ }), /***/ "./node_modules/css-loader/dist/runtime/api.js": @@ -68464,6 +68625,36 @@ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js /***/ }), +/***/ "./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/BlacklistModal.vue?vue&type=style&index=0&lang=css&": +/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/BlacklistModal.vue?vue&type=style&index=0&lang=css& ***! + \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"); +/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _node_modules_css_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_2_node_modules_vue_loader_lib_index_js_vue_loader_options_BlacklistModal_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BlacklistModal.vue?vue&type=style&index=0&lang=css& */ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/BlacklistModal.vue?vue&type=style&index=0&lang=css&"); + + + +var options = {}; + +options.insert = "head"; +options.singleton = false; + +var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_2_node_modules_vue_loader_lib_index_js_vue_loader_options_BlacklistModal_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_1__["default"], options); + + + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_css_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_2_node_modules_vue_loader_lib_index_js_vue_loader_options_BlacklistModal_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_1__["default"].locals || {}); + +/***/ }), + /***/ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js": /*!****************************************************************************!*\ !*** ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***! @@ -70686,6 +70877,47 @@ component.options.__file = "resources/js/components/pagination.vue" /***/ }), +/***/ "./resources/js/components/util/BlacklistModal.vue": +/*!*********************************************************!*\ + !*** ./resources/js/components/util/BlacklistModal.vue ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _BlacklistModal_vue_vue_type_template_id_6f9e963c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BlacklistModal.vue?vue&type=template&id=6f9e963c& */ "./resources/js/components/util/BlacklistModal.vue?vue&type=template&id=6f9e963c&"); +/* harmony import */ var _BlacklistModal_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BlacklistModal.vue?vue&type=script&lang=js& */ "./resources/js/components/util/BlacklistModal.vue?vue&type=script&lang=js&"); +/* harmony import */ var _BlacklistModal_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BlacklistModal.vue?vue&type=style&index=0&lang=css& */ "./resources/js/components/util/BlacklistModal.vue?vue&type=style&index=0&lang=css&"); +/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js"); + + + +; + + +/* normalize component */ + +var component = (0,_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( + _BlacklistModal_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], + _BlacklistModal_vue_vue_type_template_id_6f9e963c___WEBPACK_IMPORTED_MODULE_0__.render, + _BlacklistModal_vue_vue_type_template_id_6f9e963c___WEBPACK_IMPORTED_MODULE_0__.staticRenderFns, + false, + null, + null, + null + +) + +/* hot reload */ +if (false) { var api; } +component.options.__file = "resources/js/components/util/BlacklistModal.vue" +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (component.exports); + +/***/ }), + /***/ "./resources/js/components/util/Clock.vue": /*!************************************************!*\ !*** ./resources/js/components/util/Clock.vue ***! @@ -71389,6 +71621,22 @@ __webpack_require__.r(__webpack_exports__); /***/ }), +/***/ "./resources/js/components/util/BlacklistModal.vue?vue&type=script&lang=js&": +/*!**********************************************************************************!*\ + !*** ./resources/js/components/util/BlacklistModal.vue?vue&type=script&lang=js& ***! + \**********************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _node_modules_babel_loader_lib_index_js_clonedRuleSet_5_0_rules_0_use_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BlacklistModal_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BlacklistModal.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/BlacklistModal.vue?vue&type=script&lang=js&"); + /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_babel_loader_lib_index_js_clonedRuleSet_5_0_rules_0_use_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BlacklistModal_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]); + +/***/ }), + /***/ "./resources/js/components/util/Clock.vue?vue&type=script&lang=js&": /*!*************************************************************************!*\ !*** ./resources/js/components/util/Clock.vue?vue&type=script&lang=js& ***! @@ -71509,6 +71757,19 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _node_modules_style_loader_dist_cjs_js_node_modules_css_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Pendahuluanserahan_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/style-loader/dist/cjs.js!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Pendahuluanserahan.vue?vue&type=style&index=0&lang=css& */ "./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Pendahuluanserahan.vue?vue&type=style&index=0&lang=css&"); +/***/ }), + +/***/ "./resources/js/components/util/BlacklistModal.vue?vue&type=style&index=0&lang=css&": +/*!******************************************************************************************!*\ + !*** ./resources/js/components/util/BlacklistModal.vue?vue&type=style&index=0&lang=css& ***! + \******************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _node_modules_style_loader_dist_cjs_js_node_modules_css_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_2_node_modules_vue_loader_lib_index_js_vue_loader_options_BlacklistModal_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/style-loader/dist/cjs.js!../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BlacklistModal.vue?vue&type=style&index=0&lang=css& */ "./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/BlacklistModal.vue?vue&type=style&index=0&lang=css&"); + + /***/ }), /***/ "./node_modules/vuejs-datetimepicker/src/datetime_picker.vue?vue&type=script&lang=js&": @@ -72001,6 +72262,23 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_pagination_vue_vue_type_template_id_603a89b6___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./pagination.vue?vue&type=template&id=603a89b6& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/pagination.vue?vue&type=template&id=603a89b6&"); +/***/ }), + +/***/ "./resources/js/components/util/BlacklistModal.vue?vue&type=template&id=6f9e963c&": +/*!****************************************************************************************!*\ + !*** ./resources/js/components/util/BlacklistModal.vue?vue&type=template&id=6f9e963c& ***! + \****************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "render": () => (/* reexport safe */ _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_BlacklistModal_vue_vue_type_template_id_6f9e963c___WEBPACK_IMPORTED_MODULE_0__.render), +/* harmony export */ "staticRenderFns": () => (/* reexport safe */ _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_BlacklistModal_vue_vue_type_template_id_6f9e963c___WEBPACK_IMPORTED_MODULE_0__.staticRenderFns) +/* harmony export */ }); +/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_BlacklistModal_vue_vue_type_template_id_6f9e963c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BlacklistModal.vue?vue&type=template&id=6f9e963c& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/BlacklistModal.vue?vue&type=template&id=6f9e963c&"); + + /***/ }), /***/ "./resources/js/components/util/Clock.vue?vue&type=template&id=26a23fac&": @@ -75490,20 +75768,22 @@ var render = function () { ]), _vm._v(" "), _c("div", { staticClass: "w-1/4 grid grid-rows-2" }, [ - _c("span", { staticClass: "text-sm ml-2 font-bold -mt-0.5" }, [ - _vm._v("RM " + _vm._s(_vm.gadaianremaining)), - ]), + _c( + "span", + { staticClass: "text-sm ml-2 font-bold -mt-0.5 xs:invisible" }, + [_vm._v("RM " + _vm._s(_vm.gadaianremaining))] + ), ]), ]), _vm._v(" "), _c("div", { staticClass: "flex pt-2 -mt-2" }, [ - _c("div", { staticClass: "grid grid-rows-2 ml-1 mt-2 w-1/3" }, [ + _c("div", { staticClass: "grid grid-rows-2 ml-1 mt-2 w-1/2" }, [ _c("div", { staticClass: "flex" }, [ _c( "span", { staticClass: - "text-sm leading-none font-bold text-gray-700 w-1/3 uppercase", + "text-sm leading-none font-bold text-gray-700 w-1/4 uppercase", }, [_vm._v(" Harian")] ), @@ -75511,7 +75791,8 @@ var render = function () { _c( "span", { - staticClass: "text-sm leading-none font-bold text-gray-700", + staticClass: + "text-sm leading-none font-bold text-gray-700 mr-2", }, [_vm._v(":")] ), @@ -75530,7 +75811,7 @@ var render = function () { "span", { staticClass: - "text-sm leading-none font-bold text-yellow-700 w-1/3 uppercase", + "text-sm leading-none font-bold text-yellow-700 w-1/4 uppercase", }, [_vm._v(" Bajet")] ), @@ -75538,7 +75819,8 @@ var render = function () { _c( "span", { - staticClass: "text-sm leading-none font-bold text-gray-700", + staticClass: + "text-sm leading-none font-bold text-gray-700 mr-2", }, [_vm._v(":")] ), @@ -75554,7 +75836,7 @@ var render = function () { ]), ]), _vm._v(" "), - _c("div", { staticClass: "ml-4 text-center w-1/4" }), + _c("div", { staticClass: "ml-4 text-center w-1/6" }), _vm._v(" "), _c( "div", @@ -75715,13 +75997,13 @@ var render = function () { ]), _vm._v(" "), _c("div", { staticClass: "flex pt-2 -mt-2" }, [ - _c("div", { staticClass: "grid grid-rows-2 ml-1 mt-2 w-1/3" }, [ + _c("div", { staticClass: "grid grid-rows-2 ml-1 mt-2 w-1/2" }, [ _c("div", { staticClass: "flex" }, [ _c( "span", { staticClass: - "text-sm leading-none font-bold text-gray-700 w-1/3 uppercase", + "text-sm leading-none font-bold text-gray-700 w-1/4 uppercase", }, [_vm._v(" Harian")] ), @@ -75729,7 +76011,8 @@ var render = function () { _c( "span", { - staticClass: "text-sm leading-none font-bold text-gray-700", + staticClass: + "text-sm leading-none font-bold text-gray-700 mr-2", }, [_vm._v(":")] ), @@ -75748,7 +76031,7 @@ var render = function () { "span", { staticClass: - "text-sm leading-none font-bold text-yellow-700 w-1/3 uppercase", + "text-sm leading-none font-bold text-yellow-700 w-1/4 uppercase", }, [_vm._v(" Bajet")] ), @@ -75756,7 +76039,8 @@ var render = function () { _c( "span", { - staticClass: "text-sm leading-none font-bold text-gray-700", + staticClass: + "text-sm leading-none font-bold text-gray-700 mr-2", }, [_vm._v(":")] ), @@ -75772,7 +76056,7 @@ var render = function () { ]), ]), _vm._v(" "), - _c("div", { staticClass: "ml-4 text-center w-1/3" }), + _c("div", { staticClass: "ml-4 text-center w-1/6" }), _vm._v(" "), _c( "div", @@ -75933,13 +76217,13 @@ var render = function () { ]), _vm._v(" "), _c("div", { staticClass: "flex pt-2 -mt-2" }, [ - _c("div", { staticClass: "grid grid-rows-2 ml-1 mt-2 w-1/3" }, [ + _c("div", { staticClass: "grid grid-rows-2 ml-1 mt-2 w-1/2" }, [ _c("div", { staticClass: "flex" }, [ _c( "span", { staticClass: - "text-sm leading-none font-bold text-gray-700 w-1/3 uppercase", + "text-sm leading-none font-bold text-gray-700 w-1/4 uppercase", }, [_vm._v(" Harian")] ), @@ -75947,7 +76231,8 @@ var render = function () { _c( "span", { - staticClass: "text-sm leading-none font-bold text-gray-700", + staticClass: + "text-sm leading-none font-bold text-gray-700 mr-2", }, [_vm._v(":")] ), @@ -75966,7 +76251,7 @@ var render = function () { "span", { staticClass: - "text-sm leading-none font-bold text-yellow-700 w-1/3 uppercase", + "text-sm leading-none font-bold text-yellow-700 w-1/4 uppercase", }, [_vm._v(" Bajet")] ), @@ -75974,7 +76259,8 @@ var render = function () { _c( "span", { - staticClass: "text-sm leading-none font-bold text-gray-700", + staticClass: + "text-sm leading-none font-bold text-gray-700 mr-2", }, [_vm._v(":")] ), @@ -75990,7 +76276,7 @@ var render = function () { ]), ]), _vm._v(" "), - _c("div", { staticClass: "ml-4 text-center w-1/3" }), + _c("div", { staticClass: "ml-4 text-center w-1/6" }), _vm._v(" "), _c( "div", @@ -78384,6 +78670,382 @@ render._withStripped = true +/***/ }), + +/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/BlacklistModal.vue?vue&type=template&id=6f9e963c&": +/*!*******************************************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/BlacklistModal.vue?vue&type=template&id=6f9e963c& ***! + \*******************************************************************************************************************************************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "render": () => (/* binding */ render), +/* harmony export */ "staticRenderFns": () => (/* binding */ staticRenderFns) +/* harmony export */ }); +var render = function () { + var _vm = this + var _h = _vm.$createElement + var _c = _vm._self._c || _h + return _c( + "div", + [ + _c("transition", { attrs: { name: "modal-fade" } }, [ + _vm.showModal + ? _c( + "div", + { + staticClass: + " overflow-x-hidden overflow-y-auto fixed inset-0 z-50 outline-none focus:outline-none justify-center items-center flex", + }, + [ + _c( + "div", + { staticClass: "relative w-1/3 my-6 mx-auto max-w-6xl" }, + [ + _c( + "div", + { + staticClass: + "border-0 rounded-lg shadow-lg relative flex flex-col w-full bg-white outline-none focus:outline-none", + }, + [ + _c("div", { staticClass: "relative p-6 flex-auto" }, [ + _c( + "h3", + { + staticClass: "text-center text-3xl font-semibold", + }, + [ + _vm._v( + "\n Daftar Senarai Hitam\n " + ), + ] + ), + _vm._v(" "), + _c("div", { staticClass: "flex flex-wrap mt-4" }, [ + _c( + "div", + { staticClass: "flex flex-row mx-auto" }, + [ + _c("div", { staticClass: "flex flex-col" }, [ + _c("input", { + ref: "btnDropdownRef", + staticClass: + "mr-2 bg-white appearance-none border-2 border-gray-400 rounded w-full py-2 px-4 text-gray-700 leading-tight focus:outline-none focus:bg-white focus:border-blue-500 border-black", + attrs: { id: "frminput", type: "text" }, + }), + _vm._v(" "), + _c( + "div", + { + ref: "popoverDropdownRef", + staticClass: + "origin-top-right w-96 right-0 mt-2 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none", + class: { + hidden: !_vm.dropdownShow, + block: _vm.dropdownShow, + }, + attrs: { + role: "menu", + "aria-orientation": "vertical", + "aria-labelledby": "menu-button", + tabindex: "-1", + }, + }, + [ + _c( + "div", + { + staticClass: "py-1", + attrs: { role: "none" }, + }, + _vm._l( + _vm.arrayCustomer, + function (cust, i) { + return _c( + "a", + { + key: i, + staticClass: + "text-gray-700 block px-4 py-2 text-sm hover:bg-yellow-500 cursor-pointer", + attrs: { + role: "menuitem", + tabindex: "-1", + id: "menu-item-0", + }, + on: { + click: function ($event) { + return _vm.ClickUrl({ + cust: cust.id, + }) + }, + }, + }, + [ + _vm._v(_vm._s(cust.nama)), + _c("br"), + _c("b", [ + _vm._v( + _vm._s( + cust.kpbaru + ? cust.kpbaru + : cust.kplama + ) + ), + ]), + ] + ) + } + ), + 0 + ), + ] + ), + ]), + _vm._v(" "), + _c( + "button", + { + staticClass: + "px-4 py-2 bg-blue-600 rounded ml-2", + attrs: { id: "buttonsearch" }, + on: { + click: function ($event) { + return _vm.toggleDropdown() + }, + }, + }, + [ + _c("i", { + staticClass: "fas fa-search text-white", + }), + ] + ), + ] + ), + ]), + _vm._v(" "), + _c( + "div", + { + directives: [ + { + name: "show", + rawName: "v-show", + value: this.specCust, + expression: "this.specCust", + }, + ], + }, + [ + _c( + "form", + { + staticClass: + "w-full mx-auto border border-gray-200 px-4 py-4 rounded mt-4", + }, + [ + _c( + "div", + { staticClass: "w-full px-3 mb-6 md:mb-0" }, + [ + _c( + "label", + { + staticClass: + "block uppercase tracking-wide text-gray-700 text-xs font-bold mb-2", + attrs: { for: "grid-first-name" }, + }, + [ + _vm._v( + "\n Nama\n " + ), + ] + ), + _vm._v(" "), + _c("input", { + staticClass: + "appearance-none block w-full bg-gray-200 text-gray-700 border border-red-500 rounded py-3 px-4 mb-3 leading-tight focus:outline-none focus:bg-white", + attrs: { name: "nama" }, + domProps: { value: this.specCust.nama }, + }), + _vm._v(" "), + _c( + "p", + { + staticClass: + "text-red-500 text-xs italic", + }, + [_vm._v("Please fill out this field.")] + ), + ] + ), + _vm._v(" "), + _c( + "div", + { staticClass: "w-full px-3 mt-3" }, + [ + _c( + "label", + { + staticClass: + "block uppercase tracking-wide text-gray-700 text-xs font-bold mb-2", + attrs: { for: "grid-last-name" }, + }, + [ + _vm._v( + "\n Nokp\n " + ), + ] + ), + _vm._v(" "), + _c("input", { + staticClass: + "appearance-none block w-full bg-gray-200 text-gray-700 border border-gray-200 rounded py-3 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500", + attrs: { name: "nokp", type: "text" }, + domProps: { + value: this.specCust.kpbaru + ? this.specCust.kpbaru + : this.specCust.kplama, + }, + }), + _vm._v(" "), + _c( + "p", + { + staticClass: + "text-red-500 text-xs italic", + }, + [_vm._v("Please fill out this field.")] + ), + ] + ), + _vm._v(" "), + _c( + "div", + { staticClass: "w-full px-3 mt-3" }, + [ + _c( + "label", + { + staticClass: + "block uppercase tracking-wide text-gray-700 text-xs font-bold mb-2", + attrs: { for: "grid-password" }, + }, + [ + _vm._v( + "\n Nota\n " + ), + ] + ), + _vm._v(" "), + _c("textarea", { + directives: [ + { + name: "model", + rawName: "v-model", + value: _vm.nota, + expression: "nota", + }, + ], + staticClass: + "appearance-none block h-36 w-full bg-gray-200 text-gray-700 border border-gray-200 rounded py-3 px-4 mb-3 leading-tight focus:outline-none focus:bg-white focus:border-gray-500", + domProps: { value: _vm.nota }, + on: { + input: function ($event) { + if ($event.target.composing) { + return + } + _vm.nota = $event.target.value + }, + }, + }), + _vm._v(" "), + _c( + "p", + { + staticClass: + "text-red-500 text-xs italic", + }, + [_vm._v("Please fill out this field.")] + ), + ] + ), + ] + ), + ] + ), + ]), + _vm._v(" "), + _c( + "div", + { + staticClass: + "flex items-center justify-end p-6 border-t border-solid border-blueGray-200 rounded-b", + }, + [ + _c( + "button", + { + staticClass: + "bg-gray-500 hover:bg-gray-700 text-white font-bold py-2 px-4 border border-gray-700 rounded mr-1", + attrs: { type: "button" }, + on: { + click: function ($event) { + return _vm.toggleModal() + }, + }, + }, + [_vm._v("\n Batal\n ")] + ), + _vm._v(" "), + _c( + "button", + { + staticClass: + "bg-green-500 hover:bg-green-700 text-white font-bold py-2 px-4 border border-green-700 rounded", + attrs: { type: "button" }, + }, + [_vm._v("\n Daftar\n ")] + ), + ] + ), + ] + ), + ] + ), + ] + ) + : _vm._e(), + ]), + _vm._v(" "), + _c( + "transition", + { + attrs: { + "enter-active-class": + "transition-all transform duration-200 ease-out", + }, + }, + [ + _vm.showModal + ? _c("div", { + staticClass: "opacity-25 fixed inset-0 z-40 bg-black", + }) + : _vm._e(), + ] + ), + ], + 1 + ) +} +var staticRenderFns = [] +render._withStripped = true + + + /***/ }), /***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/Clock.vue?vue&type=template&id=26a23fac&": @@ -79574,265 +80236,244 @@ var render = function () { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h - return _c("div", { staticClass: "bg-white" }, [ - _c("table", { staticClass: "min-w-full leading-normal" }, [ - _vm._m(0), + return _c( + "div", + {}, + [ + _c("modal", { ref: "modal" }), _vm._v(" "), - _c( - "tbody", - _vm._l(_vm.active.vault, function (petibesi, i) { - return _c("tr", { key: i }, [ - _c( - "td", - { - staticClass: - "px-5 py-5 border-b border-gray-200 bg-white text-sm", + _c("div", { staticClass: "flex justify-between mb-2" }, [ + _c("div", [ + _c( + "button", + { + staticClass: + "border border-green-600 text-green-600 font-montserrat py-2 px-3 font-medium rounded-xl hover:bg-green-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.showModal.apply(null, arguments) + }, }, - [ - _c("div", { staticClass: "flex items-center" }, [ - _c("div", { staticClass: "ml-3" }, [ - _c("p", { - staticClass: "text-gray-900 whitespace-no-wrap", - domProps: { - textContent: _vm._s(i + 1 + _vm.active.mulaPage), - }, - }), - ]), - ]), - ] - ), - _vm._v(" "), - _c( - "td", + }, + [_c("i", { staticClass: "fas fa-plus mr-2" }), _vm._v("Tambah")] + ), + ]), + _vm._v(" "), + _c("div", [ + _c("input", { + directives: [ { - staticClass: - "px-5 py-5 border-b border-gray-200 bg-white text-sm", + name: "model", + rawName: "v-model", + value: _vm.search, + expression: "search", }, - [ - _c("div", { staticClass: "flex items-center" }, [ - _c("div", { staticClass: "ml-3" }, [ - _c("p", { - staticClass: "text-gray-900 whitespace-no-wrap", - domProps: { textContent: _vm._s(petibesi.tarikh) }, - }), - ]), - ]), - ] - ), - _vm._v(" "), - _c( - "td", - { - staticClass: - "px-5 py-5 border-b border-gray-200 bg-white text-sm", + ], + staticClass: "border border-2 rounded px-4 py-2 w-80r mr-2 ", + attrs: { type: "text" }, + domProps: { value: _vm.search }, + on: { + input: function ($event) { + if ($event.target.composing) { + return + } + _vm.search = $event.target.value }, - [ - _c("div", { staticClass: "flex items-center" }, [ - _c("div", { staticClass: "ml-3" }, [ - _c("p", { - staticClass: "text-gray-900 whitespace-no-wrap", - domProps: { - textContent: _vm._s( - _vm.formatterfunction(petibesi.bakiawal) - ), - }, - }), - ]), - ]), - ] - ), - _vm._v(" "), - _c( - "td", - { - staticClass: - "px-5 py-5 border-b border-gray-200 bg-white text-sm", + }, + }), + _vm._v(" "), + _c( + "button", + { + staticClass: + "mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.searchname.apply(null, arguments) + }, }, - [ - _c("div", { staticClass: "flex items-center" }, [ - _c("div", { staticClass: "ml-3" }, [ - _c("p", { - staticClass: "text-gray-900 whitespace-no-wrap", - domProps: { - textContent: _vm._s( - _vm.formatterfunction(petibesi.keluar) - ), - }, - }), - ]), - ]), - ] - ), - _vm._v(" "), - _c( - "td", - { - staticClass: - "px-5 py-5 border-b border-gray-200 bg-white text-sm", - }, - [ - _c("div", { staticClass: "flex items-center" }, [ - _c("div", { staticClass: "ml-3" }, [ - _c("p", { - staticClass: "text-gray-900 whitespace-no-wrap", - domProps: { - textContent: _vm._s( - _vm.formatterfunction(petibesi.masuk) - ), - }, - }), - ]), - ]), - ] - ), - _vm._v(" "), - _c( - "td", - { - staticClass: - "px-5 py-5 border-b border-gray-200 bg-white text-sm", - }, - [ - _c("div", { staticClass: "flex items-center" }, [ - _c("div", { staticClass: "ml-3" }, [ - _c("p", { - staticClass: "text-gray-900 whitespace-no-wrap", - domProps: { - textContent: _vm._s( - _vm.formatterfunction(petibesi.pendahuluan) - ), - }, - }), - ]), - ]), - ] - ), - _vm._v(" "), - _c( - "td", - { - staticClass: - "px-5 py-5 border-b border-gray-200 bg-white text-sm", - }, - [ - _c("div", { staticClass: "flex items-center" }, [ - _c("div", { staticClass: "ml-3" }, [ - _c("p", { - staticClass: "text-gray-900 whitespace-no-wrap", - domProps: { - textContent: _vm._s( - _vm.formatterfunction(petibesi.serahan) - ), - }, - }), - ]), - ]), - ] - ), - _vm._v(" "), - _c( - "td", - { - staticClass: - "px-5 py-5 border-b border-gray-200 bg-white text-sm", - }, - [ - _c("div", { staticClass: "flex items-center" }, [ - _c("div", { staticClass: "ml-3" }, [ - _c("p", { - staticClass: "text-gray-900 whitespace-no-wrap", - domProps: { - textContent: _vm._s( - _vm.formatterfunction(petibesi.totpanjar) - ), - }, - }), - ]), - ]), - ] - ), - _vm._v(" "), - _c( - "td", - { - staticClass: - "px-5 py-5 border-b border-gray-200 bg-white text-sm", - }, - [ - _c("div", { staticClass: "flex items-center" }, [ - _c("div", { staticClass: "ml-3" }, [ - _c("p", { - staticClass: "text-gray-900 whitespace-no-wrap", - domProps: { - textContent: _vm._s( - _vm.formatterfunction(petibesi.bakiakhir) - ), - }, - }), - ]), - ]), - ] - ), - _vm._v(" "), - _c( - "td", - { - staticClass: - "px-5 py-5 border-b border-gray-200 bg-white text-sm", - }, - [ - _c("div", { staticClass: "flex items-center" }, [ - _c("div", { staticClass: "ml-3" }, [ - _c( - "button", - { - staticClass: - "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-4 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - return _vm.action(petibesi.tarikh, petibesi.kodcaw) - }, + }, + [_c("i", { staticClass: "fas fa-search mr-2" }), _vm._v("Cari")] + ), + ]), + ]), + _vm._v(" "), + _c("table", { staticClass: "min-w-full leading-normal" }, [ + _vm._m(0), + _vm._v(" "), + _c( + "tbody", + _vm._l(_vm.showblacklist.data, function (blacklist, i) { + return _c("tr", { key: i }, [ + _c( + "td", + { + staticClass: + "px-5 py-5 border-b border-gray-200 bg-white text-sm", + }, + [ + _c("div", { staticClass: "flex items-center" }, [ + _c("div", { staticClass: "ml-3" }, [ + _c("p", { + staticClass: "text-gray-900 whitespace-no-wrap", + domProps: { + textContent: _vm._s(_vm.showblacklist.from + i), }, - }, - [ - _c( - "svg", - { - staticClass: "bi bi-card-checklist", - attrs: { - xmlns: "http://www.w3.org/2000/svg", - width: "16", - height: "16", - fill: "currentColor", - viewBox: "0 0 16 16", - }, - }, - [ - _c("path", { - attrs: { - d: "M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z", - }, - }), - _vm._v(" "), - _c("path", { - attrs: { - d: "M7 5.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm-1.496-.854a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 1 1 .708-.708l.146.147 1.146-1.147a.5.5 0 0 1 .708 0zM7 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm-1.496-.854a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 0 1 .708-.708l.146.147 1.146-1.147a.5.5 0 0 1 .708 0z", - }, - }), - ] - ), - ] - ), + }), + ]), ]), - ]), - ] - ), - ]) - }), - 0 - ), - ]), - ]) + ] + ), + _vm._v(" "), + _c( + "td", + { + staticClass: + "px-5 py-5 border-b border-gray-200 bg-white text-sm", + }, + [ + _c("div", { staticClass: "flex items-center" }, [ + _c("div", { staticClass: "ml-3" }, [ + _c("p", { + staticClass: "text-gray-900 whitespace-no-wrap", + domProps: { textContent: _vm._s(blacklist.nama) }, + }), + ]), + ]), + ] + ), + _vm._v(" "), + _c( + "td", + { + staticClass: + "px-5 py-5 border-b border-gray-200 bg-white text-sm", + }, + [ + _c("div", { staticClass: "flex items-center" }, [ + _c("div", { staticClass: "ml-3" }, [ + _c("p", { + staticClass: "text-gray-900 whitespace-no-wrap", + domProps: { textContent: _vm._s(blacklist.nokp) }, + }), + ]), + ]), + ] + ), + _vm._v(" "), + _c( + "td", + { + staticClass: + "px-5 py-5 border-b border-gray-200 bg-white text-sm", + }, + [ + _c("div", { staticClass: "flex items-center" }, [ + _c("div", { staticClass: "ml-3" }, [ + _c("p", { + staticClass: "text-gray-900 whitespace-no-wrap", + domProps: { textContent: _vm._s(blacklist.teller) }, + }), + ]), + ]), + ] + ), + _vm._v(" "), + _c( + "td", + { + staticClass: + "px-5 py-5 border-b border-gray-200 bg-white text-sm", + }, + [ + _c("div", { staticClass: "flex items-center" }, [ + _c("div", { staticClass: "ml-3" }, [ + _c("p", { + staticClass: "text-gray-900 whitespace-no-wrap", + domProps: { textContent: _vm._s(blacklist.pelulus) }, + }), + ]), + ]), + ] + ), + _vm._v(" "), + _c( + "td", + { + staticClass: + "px-5 py-5 border-b border-gray-200 bg-white text-sm", + }, + [ + _c("div", { staticClass: "flex items-center" }, [ + _c("div", { staticClass: "ml-3" }, [ + _c("p", { + staticClass: "text-gray-900 whitespace-no-wrap", + domProps: { textContent: _vm._s(blacklist.nota) }, + }), + ]), + ]), + ] + ), + _vm._v(" "), + _c( + "td", + { + staticClass: + "px-5 py-5 border-b border-gray-200 bg-white text-sm", + }, + [ + _c("div", { staticClass: "flex items-center" }, [ + _c("div", { staticClass: "ml-3" }, [ + _c( + "button", + { + staticClass: + "border border-red-600 text-red-600 font-montserrat py-2 px-4 font-medium rounded-xl hover:bg-red-600 hover:text-white transition-all duration-300", + }, + [ + _c( + "svg", + { + staticClass: "h-4 w-4", + attrs: { + xmlns: "http://www.w3.org/2000/svg", + fill: "none", + viewBox: "0 0 24 24", + stroke: "currentColor", + }, + }, + [ + _c("path", { + attrs: { + "stroke-linecap": "round", + "stroke-linejoin": "round", + "stroke-width": "2", + d: "M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16", + }, + }), + ] + ), + ] + ), + ]), + ]), + ] + ), + ]) + }), + 0 + ), + ]), + _vm._v(" "), + _c("pagination", { + attrs: { data: _vm.paginate }, + on: { clickEvent_: _vm.getBlacklist }, + }), + ], + 1 + ) } var staticRenderFns = [ function () { @@ -79856,7 +80497,7 @@ var staticRenderFns = [ staticClass: "px-5 py-3 border-b-2 border-gray-200 bg-gray-100 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider", }, - [_vm._v("\n Tarikh\n ")] + [_vm._v("\n Nama\n ")] ), _vm._v(" "), _c( @@ -79865,7 +80506,7 @@ var staticRenderFns = [ staticClass: "px-5 py-3 border-b-2 border-gray-200 bg-gray-100 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider", }, - [_vm._v("\n B/F\n ")] + [_vm._v("\n IC\n ")] ), _vm._v(" "), _c( @@ -79874,7 +80515,7 @@ var staticRenderFns = [ staticClass: "px-5 py-3 border-b-2 border-gray-200 bg-gray-100 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider", }, - [_vm._v("\n Keluar\n ")] + [_vm._v("\n Teller\n ")] ), _vm._v(" "), _c( @@ -79883,7 +80524,7 @@ var staticRenderFns = [ staticClass: "px-5 py-3 border-b-2 border-gray-200 bg-gray-100 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider", }, - [_vm._v("\n Masuk\n ")] + [_vm._v("\n Pelulus\n ")] ), _vm._v(" "), _c( @@ -79892,7 +80533,7 @@ var staticRenderFns = [ staticClass: "px-5 py-3 border-b-2 border-gray-200 bg-gray-100 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider", }, - [_vm._v("\n Pendahuluan\n ")] + [_vm._v("\n Nota\n ")] ), _vm._v(" "), _c( @@ -79901,34 +80542,7 @@ var staticRenderFns = [ staticClass: "px-5 py-3 border-b-2 border-gray-200 bg-gray-100 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider", }, - [_vm._v("\n Serahan\n ")] - ), - _vm._v(" "), - _c( - "th", - { - staticClass: - "px-5 py-3 border-b-2 border-gray-200 bg-gray-100 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider", - }, - [_vm._v("\n Panjar\n ")] - ), - _vm._v(" "), - _c( - "th", - { - staticClass: - "px-5 py-3 border-b-2 border-gray-200 bg-gray-100 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider", - }, - [_vm._v("\n Baki Akhir\n ")] - ), - _vm._v(" "), - _c( - "th", - { - staticClass: - "px-5 py-3 border-b-2 border-gray-200 bg-gray-100 text-left text-xs font-semibold text-gray-600 uppercase tracking-wider", - }, - [_vm._v("\n Act\n ")] + [_vm._v("\n Action\n ")] ), ]), ]) @@ -103239,7 +103853,7 @@ if (typeof window !== 'undefined' && window.Vue) { /***/ ((module) => { "use strict"; -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"}'); +module.exports = JSON.parse('{"_from":"axios@^0.21","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"axios@^0.21","name":"axios","escapedName":"axios","rawSpec":"^0.21","saveSpec":null,"fetchSpec":"^0.21"},"_requiredBy":["#DEV:/","#USER"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_shasum":"c67b90dc0568e5c1cf2b0b858c43ba28e2eda575","_spec":"axios@^0.21","_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"},"bundleDependencies":false,"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"deprecated":false,"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/components/Analisa/Harian.vue b/resources/js/components/Analisa/Harian.vue index e47c69f..537e9f3 100644 --- a/resources/js/components/Analisa/Harian.vue +++ b/resources/js/components/Analisa/Harian.vue @@ -12,25 +12,25 @@
- RM {{ gadaianremaining }} + RM {{ gadaianremaining }}
-
+
- Harian - : + Harian + : RM {{ gadaianharian }}
- Bajet - : + Bajet + : RM {{ bajetgadaian }}
-
+
@@ -75,21 +75,21 @@
-
+
- Harian - : + Harian + : RM {{ penebusanharian }}
- Bajet - : + Bajet + : RM {{ bajetpenebusan }}
-
+
@@ -134,21 +134,21 @@
-
+
- Harian - : + Harian + : RM {{ keuntunganharian }}
- Bajet - : + Bajet + : RM {{ bajetkeuntungan }}
-
+
diff --git a/resources/js/components/Chart/BilanganChart.vue b/resources/js/components/Chart/BilanganChart.vue index 5849610..c201e4f 100644 --- a/resources/js/components/Chart/BilanganChart.vue +++ b/resources/js/components/Chart/BilanganChart.vue @@ -16,309 +16,21 @@ \ No newline at end of file diff --git a/resources/js/components/Chart/KeuntunganChart.vue b/resources/js/components/Chart/KeuntunganChart.vue index fa219c4..487fab0 100644 --- a/resources/js/components/Chart/KeuntunganChart.vue +++ b/resources/js/components/Chart/KeuntunganChart.vue @@ -109,15 +109,17 @@ export default { var channel = this.$pusher.subscribe('keuntungan-notify'); channel.bind('trigger-keuntungan', ({ response }) => { - console.log(`${response}`); - this.getDatakeuntungan() + // console.log(`${response}`); + if(response.cawangan == this.kodcaw) + this.getDatakeuntungan() }); var channel2 = this.$pusher.subscribe('tebus-notify'); channel2.bind('trigger-tebus', ({ response }) => { - console.log(`${response}`); - this.getDatakeuntungan() + // console.log(`${response}`); + if(response.cawangan == this.kodcaw) + this.getDatakeuntungan() }); } diff --git a/resources/js/components/Chart/PembiayaanChart.vue b/resources/js/components/Chart/PembiayaanChart.vue index 0a15105..1b51410 100644 --- a/resources/js/components/Chart/PembiayaanChart.vue +++ b/resources/js/components/Chart/PembiayaanChart.vue @@ -110,8 +110,9 @@ export default { var channel = this.$pusher.subscribe('gadai-notify'); channel.bind('trigger-gadai', ({ response }) => { - console.log(`${response}`); - this.getDataPembiayaan() + // console.log(`${response}`); + if(response.cawangan == this.kodcaw) + this.getDataPembiayaan() }); } } diff --git a/resources/js/components/Chart/PenyelesaianChart.vue b/resources/js/components/Chart/PenyelesaianChart.vue index 3261bb4..6598832 100644 --- a/resources/js/components/Chart/PenyelesaianChart.vue +++ b/resources/js/components/Chart/PenyelesaianChart.vue @@ -107,8 +107,9 @@ export default { var channel = this.$pusher.subscribe('tebus-notify'); channel.bind('trigger-tebus', ({ response }) => { - console.log(`${response}`); - this.getDataPenebusan() + // console.log(`${response}`); + if(response.cawangan == this.kodcaw) + this.getDataPenebusan() }); } } diff --git a/resources/js/components/Tunai.vue b/resources/js/components/Tunai.vue index 9a16372..364dbdc 100644 --- a/resources/js/components/Tunai.vue +++ b/resources/js/components/Tunai.vue @@ -191,7 +191,7 @@ export default { items: { type: Array }, - arraytunai: { + arraytunai: { type: Array } }, diff --git a/resources/js/components/util/BlacklistModal.vue b/resources/js/components/util/BlacklistModal.vue new file mode 100644 index 0000000..acf37bc --- /dev/null +++ b/resources/js/components/util/BlacklistModal.vue @@ -0,0 +1,271 @@ + + + + + \ No newline at end of file diff --git a/resources/js/components/util/Deletemodal.vue b/resources/js/components/util/Deletemodal.vue new file mode 100644 index 0000000..f80c6d7 --- /dev/null +++ b/resources/js/components/util/Deletemodal.vue @@ -0,0 +1,152 @@ + + + \ No newline at end of file diff --git a/resources/js/pages/Blacklist.vue b/resources/js/pages/Blacklist.vue index 4b25a94..0b34354 100644 --- a/resources/js/pages/Blacklist.vue +++ b/resources/js/pages/Blacklist.vue @@ -1,6 +1,18 @@ \ No newline at end of file diff --git a/resources/views/bajet/tambahbajet.blade.php b/resources/views/bajet/tambahbajet.blade.php index b479e51..fdc9039 100644 --- a/resources/views/bajet/tambahbajet.blade.php +++ b/resources/views/bajet/tambahbajet.blade.php @@ -40,7 +40,8 @@ - + +
diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 7e5066a..10406b2 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -42,7 +42,7 @@
- + cawangan }}> diff --git a/resources/views/pelanggan/blacklist.blade.php b/resources/views/pelanggan/blacklist.blade.php index 20dae3c..f7f8d5b 100644 --- a/resources/views/pelanggan/blacklist.blade.php +++ b/resources/views/pelanggan/blacklist.blade.php @@ -9,7 +9,7 @@ - +