fix skit2
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Support\Facades\Auth;
|
||||||
|
use Illuminate\Support\Facades\Session;
|
||||||
|
use Illuminate\Support\Facades\Http;
|
||||||
|
use Carbon\Carbon;
|
||||||
|
|
||||||
|
class OnlineController extends Controller
|
||||||
|
{
|
||||||
|
public function AdminOnline()
|
||||||
|
{
|
||||||
|
$api_url = config('api.url');
|
||||||
|
$auth_user = Auth::user();
|
||||||
|
|
||||||
|
$cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json();
|
||||||
|
$cawangan=Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json();
|
||||||
|
$cawangan_detail=$cawangan[0];
|
||||||
|
|
||||||
|
return view('online.home',compact('api_url','cawangan_info','auth_user'));
|
||||||
|
}
|
||||||
|
}
|
||||||
Vendored
+904
-4
@@ -17127,6 +17127,261 @@ __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/Online/Online.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/Online/Online.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 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!./resources/js/Online/SearchSAG.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/Online/SearchSAG.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 */ });
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
|
||||||
|
var formatter = new Intl.NumberFormat('en-US', {
|
||||||
|
minimumFractionDigits: 2
|
||||||
|
});
|
||||||
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
||||||
|
props: {
|
||||||
|
placement: {
|
||||||
|
type: String,
|
||||||
|
"default": "bottom-start"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
data: function data() {
|
||||||
|
return {
|
||||||
|
dropdownShow: false,
|
||||||
|
param1: "",
|
||||||
|
arrayCustomer: Object
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
toggleTable: function toggleTable() {
|
||||||
|
var res = this.getData();
|
||||||
|
var divtable = document.getElementById("divtable");
|
||||||
|
console.log(res);
|
||||||
|
|
||||||
|
if (res === 'ada') {
|
||||||
|
if (this.arrayCustomer.length > 0) {
|
||||||
|
divtable.classList.remove("hidden");
|
||||||
|
} else {
|
||||||
|
divtable.classList.add("hidden");
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
divtable.classList.add("hidden");
|
||||||
|
}
|
||||||
|
},
|
||||||
|
getData: function getData() {
|
||||||
|
var _this = this;
|
||||||
|
|
||||||
|
var inputvalue = document.getElementById("frminput").value;
|
||||||
|
|
||||||
|
if (inputvalue) {
|
||||||
|
this.axios.get('http://localhost:8000/admin/searchSAGOnline', {
|
||||||
|
params: {
|
||||||
|
norujukan: inputvalue
|
||||||
|
}
|
||||||
|
}).then(function (response) {
|
||||||
|
_this.arrayCustomer = response.data;
|
||||||
|
|
||||||
|
if (response.data) {
|
||||||
|
return 'ada';
|
||||||
|
}
|
||||||
|
})["catch"](function (error) {
|
||||||
|
console.log(error);
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
return 'tiada';
|
||||||
|
}
|
||||||
|
},
|
||||||
|
hasNumber: function hasNumber(inputString) {
|
||||||
|
return /\d/.test(inputString);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
/***/ "./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/Breadcrumb.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/Breadcrumb.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/Breadcrumb.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/Breadcrumb.vue?vue&type=script&lang=js& ***!
|
||||||
@@ -19229,7 +19484,11 @@ vue__WEBPACK_IMPORTED_MODULE_8__["default"].component('cawangan-component', (__w
|
|||||||
vue__WEBPACK_IMPORTED_MODULE_8__["default"].component('modal-component', (__webpack_require__(/*! ./components/util/Modal.vue */ "./resources/js/components/util/Modal.vue")["default"]));
|
vue__WEBPACK_IMPORTED_MODULE_8__["default"].component('modal-component', (__webpack_require__(/*! ./components/util/Modal.vue */ "./resources/js/components/util/Modal.vue")["default"]));
|
||||||
vue__WEBPACK_IMPORTED_MODULE_8__["default"].component('searchpelanggan-component', (__webpack_require__(/*! ./components/Searchpelanggan.vue */ "./resources/js/components/Searchpelanggan.vue")["default"]));
|
vue__WEBPACK_IMPORTED_MODULE_8__["default"].component('searchpelanggan-component', (__webpack_require__(/*! ./components/Searchpelanggan.vue */ "./resources/js/components/Searchpelanggan.vue")["default"]));
|
||||||
vue__WEBPACK_IMPORTED_MODULE_8__["default"].component('laporanakaun-component', (__webpack_require__(/*! ./Akaun/Laporan.vue */ "./resources/js/Akaun/Laporan.vue")["default"]));
|
vue__WEBPACK_IMPORTED_MODULE_8__["default"].component('laporanakaun-component', (__webpack_require__(/*! ./Akaun/Laporan.vue */ "./resources/js/Akaun/Laporan.vue")["default"]));
|
||||||
|
<<<<<<< Updated upstream
|
||||||
vue__WEBPACK_IMPORTED_MODULE_8__["default"].component('details-pelanggan', (__webpack_require__(/*! ./pages/Detailspelanggan.vue */ "./resources/js/pages/Detailspelanggan.vue")["default"]));
|
vue__WEBPACK_IMPORTED_MODULE_8__["default"].component('details-pelanggan', (__webpack_require__(/*! ./pages/Detailspelanggan.vue */ "./resources/js/pages/Detailspelanggan.vue")["default"]));
|
||||||
|
=======
|
||||||
|
vue__WEBPACK_IMPORTED_MODULE_8__["default"].component('online-component', (__webpack_require__(/*! ./Online/Online.vue */ "./resources/js/Online/Online.vue")["default"]));
|
||||||
|
>>>>>>> Stashed changes
|
||||||
vue__WEBPACK_IMPORTED_MODULE_8__["default"].component('apexchart', (vue_apexcharts__WEBPACK_IMPORTED_MODULE_0___default())); // Vue.component('Navbar', require('./components/Navbar.vue').default);
|
vue__WEBPACK_IMPORTED_MODULE_8__["default"].component('apexchart', (vue_apexcharts__WEBPACK_IMPORTED_MODULE_0___default())); // Vue.component('Navbar', require('./components/Navbar.vue').default);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -19300,8 +19559,8 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||||
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
||||||
/* harmony export */ });
|
/* harmony export */ });
|
||||||
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm.js");
|
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm.js");
|
||||||
/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! vue-router */ "./node_modules/vue-router/dist/vue-router.esm.js");
|
/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! vue-router */ "./node_modules/vue-router/dist/vue-router.esm.js");
|
||||||
/* harmony import */ var _Akaun_Lejeram__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Akaun/Lejeram */ "./resources/js/Akaun/Lejeram.vue");
|
/* harmony import */ var _Akaun_Lejeram__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Akaun/Lejeram */ "./resources/js/Akaun/Lejeram.vue");
|
||||||
/* harmony import */ var _Akaun_Imbangduga__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Akaun/Imbangduga */ "./resources/js/Akaun/Imbangduga.vue");
|
/* harmony import */ var _Akaun_Imbangduga__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Akaun/Imbangduga */ "./resources/js/Akaun/Imbangduga.vue");
|
||||||
/* harmony import */ var _Akaun_Home__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Akaun/Home */ "./resources/js/Akaun/Home.vue");
|
/* harmony import */ var _Akaun_Home__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Akaun/Home */ "./resources/js/Akaun/Home.vue");
|
||||||
@@ -19312,6 +19571,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony import */ var _Akaun_Upah__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Akaun/Upah */ "./resources/js/Akaun/Upah.vue");
|
/* harmony import */ var _Akaun_Upah__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Akaun/Upah */ "./resources/js/Akaun/Upah.vue");
|
||||||
/* harmony import */ var _Akaun_Tuntutbaki__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Akaun/Tuntutbaki */ "./resources/js/Akaun/Tuntutbaki.vue");
|
/* harmony import */ var _Akaun_Tuntutbaki__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./Akaun/Tuntutbaki */ "./resources/js/Akaun/Tuntutbaki.vue");
|
||||||
/* harmony import */ var _Akaun_Pendahuluanserahan__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Akaun/Pendahuluanserahan */ "./resources/js/Akaun/Pendahuluanserahan.vue");
|
/* harmony import */ var _Akaun_Pendahuluanserahan__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Akaun/Pendahuluanserahan */ "./resources/js/Akaun/Pendahuluanserahan.vue");
|
||||||
|
/* harmony import */ var _Online_SearchSAG__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Online/SearchSAG */ "./resources/js/Online/SearchSAG.vue");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -19324,9 +19584,13 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
vue__WEBPACK_IMPORTED_MODULE_10__["default"].use(vue_router__WEBPACK_IMPORTED_MODULE_11__["default"]);
|
|
||||||
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (new vue_router__WEBPACK_IMPORTED_MODULE_11__["default"]({
|
vue__WEBPACK_IMPORTED_MODULE_11__["default"].use(vue_router__WEBPACK_IMPORTED_MODULE_12__["default"]);
|
||||||
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (new vue_router__WEBPACK_IMPORTED_MODULE_12__["default"]({
|
||||||
routes: [{
|
routes: [{
|
||||||
|
path: '/online',
|
||||||
|
component: _Online_SearchSAG__WEBPACK_IMPORTED_MODULE_10__["default"]
|
||||||
|
}, {
|
||||||
path: '/akaunhome',
|
path: '/akaunhome',
|
||||||
component: _Akaun_Home__WEBPACK_IMPORTED_MODULE_2__["default"]
|
component: _Akaun_Home__WEBPACK_IMPORTED_MODULE_2__["default"]
|
||||||
}, {
|
}, {
|
||||||
@@ -55764,6 +56028,84 @@ component.options.__file = "resources/js/Akaun/Upah.vue"
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "./resources/js/Online/Online.vue":
|
||||||
|
/*!****************************************!*\
|
||||||
|
!*** ./resources/js/Online/Online.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 _Online_vue_vue_type_template_id_c73dd6fe___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Online.vue?vue&type=template&id=c73dd6fe& */ "./resources/js/Online/Online.vue?vue&type=template&id=c73dd6fe&");
|
||||||
|
/* harmony import */ var _Online_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Online.vue?vue&type=script&lang=js& */ "./resources/js/Online/Online.vue?vue&type=script&lang=js&");
|
||||||
|
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __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_2__["default"])(
|
||||||
|
_Online_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||||
|
_Online_vue_vue_type_template_id_c73dd6fe___WEBPACK_IMPORTED_MODULE_0__.render,
|
||||||
|
_Online_vue_vue_type_template_id_c73dd6fe___WEBPACK_IMPORTED_MODULE_0__.staticRenderFns,
|
||||||
|
false,
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
null
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
/* hot reload */
|
||||||
|
if (false) { var api; }
|
||||||
|
component.options.__file = "resources/js/Online/Online.vue"
|
||||||
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (component.exports);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "./resources/js/Online/SearchSAG.vue":
|
||||||
|
/*!*******************************************!*\
|
||||||
|
!*** ./resources/js/Online/SearchSAG.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 _SearchSAG_vue_vue_type_template_id_686ea35a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SearchSAG.vue?vue&type=template&id=686ea35a& */ "./resources/js/Online/SearchSAG.vue?vue&type=template&id=686ea35a&");
|
||||||
|
/* harmony import */ var _SearchSAG_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SearchSAG.vue?vue&type=script&lang=js& */ "./resources/js/Online/SearchSAG.vue?vue&type=script&lang=js&");
|
||||||
|
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __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_2__["default"])(
|
||||||
|
_SearchSAG_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
||||||
|
_SearchSAG_vue_vue_type_template_id_686ea35a___WEBPACK_IMPORTED_MODULE_0__.render,
|
||||||
|
_SearchSAG_vue_vue_type_template_id_686ea35a___WEBPACK_IMPORTED_MODULE_0__.staticRenderFns,
|
||||||
|
false,
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
null
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
/* hot reload */
|
||||||
|
if (false) { var api; }
|
||||||
|
component.options.__file = "resources/js/Online/SearchSAG.vue"
|
||||||
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (component.exports);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
/***/ "./resources/js/components/Breadcrumb.vue":
|
/***/ "./resources/js/components/Breadcrumb.vue":
|
||||||
/*!************************************************!*\
|
/*!************************************************!*\
|
||||||
!*** ./resources/js/components/Breadcrumb.vue ***!
|
!*** ./resources/js/components/Breadcrumb.vue ***!
|
||||||
@@ -56468,6 +56810,38 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "./resources/js/Online/Online.vue?vue&type=script&lang=js&":
|
||||||
|
/*!*****************************************************************!*\
|
||||||
|
!*** ./resources/js/Online/Online.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_Online_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!./Online.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/Online/Online.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_Online_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "./resources/js/Online/SearchSAG.vue?vue&type=script&lang=js&":
|
||||||
|
/*!********************************************************************!*\
|
||||||
|
!*** ./resources/js/Online/SearchSAG.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_SearchSAG_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!./SearchSAG.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/Online/SearchSAG.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_SearchSAG_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
/***/ "./resources/js/components/Breadcrumb.vue?vue&type=script&lang=js&":
|
/***/ "./resources/js/components/Breadcrumb.vue?vue&type=script&lang=js&":
|
||||||
/*!*************************************************************************!*\
|
/*!*************************************************************************!*\
|
||||||
!*** ./resources/js/components/Breadcrumb.vue?vue&type=script&lang=js& ***!
|
!*** ./resources/js/components/Breadcrumb.vue?vue&type=script&lang=js& ***!
|
||||||
@@ -56844,6 +57218,40 @@ __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_Upah_vue_vue_type_template_id_413b0d1f___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!./Upah.vue?vue&type=template&id=413b0d1f& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Upah.vue?vue&type=template&id=413b0d1f&");
|
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Upah_vue_vue_type_template_id_413b0d1f___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!./Upah.vue?vue&type=template&id=413b0d1f& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Upah.vue?vue&type=template&id=413b0d1f&");
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "./resources/js/Online/Online.vue?vue&type=template&id=c73dd6fe&":
|
||||||
|
/*!***********************************************************************!*\
|
||||||
|
!*** ./resources/js/Online/Online.vue?vue&type=template&id=c73dd6fe& ***!
|
||||||
|
\***********************************************************************/
|
||||||
|
/***/ ((__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_Online_vue_vue_type_template_id_c73dd6fe___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_Online_vue_vue_type_template_id_c73dd6fe___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_Online_vue_vue_type_template_id_c73dd6fe___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!./Online.vue?vue&type=template&id=c73dd6fe& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Online/Online.vue?vue&type=template&id=c73dd6fe&");
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ "./resources/js/Online/SearchSAG.vue?vue&type=template&id=686ea35a&":
|
||||||
|
/*!**************************************************************************!*\
|
||||||
|
!*** ./resources/js/Online/SearchSAG.vue?vue&type=template&id=686ea35a& ***!
|
||||||
|
\**************************************************************************/
|
||||||
|
/***/ ((__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_SearchSAG_vue_vue_type_template_id_686ea35a___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_SearchSAG_vue_vue_type_template_id_686ea35a___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_SearchSAG_vue_vue_type_template_id_686ea35a___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!./SearchSAG.vue?vue&type=template&id=686ea35a& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Online/SearchSAG.vue?vue&type=template&id=686ea35a&");
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ "./resources/js/components/Breadcrumb.vue?vue&type=template&id=c259b9a4&":
|
/***/ "./resources/js/components/Breadcrumb.vue?vue&type=template&id=c259b9a4&":
|
||||||
@@ -58517,6 +58925,498 @@ 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/Online/Online.vue?vue&type=template&id=c73dd6fe&":
|
||||||
|
/*!**************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Online/Online.vue?vue&type=template&id=c73dd6fe& ***!
|
||||||
|
\**************************************************************************************************************************************************************************************************************/
|
||||||
|
/***/ ((__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("router-view")
|
||||||
|
}
|
||||||
|
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/Online/SearchSAG.vue?vue&type=template&id=686ea35a&":
|
||||||
|
/*!*****************************************************************************************************************************************************************************************************************!*\
|
||||||
|
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Online/SearchSAG.vue?vue&type=template&id=686ea35a& ***!
|
||||||
|
\*****************************************************************************************************************************************************************************************************************/
|
||||||
|
/***/ ((__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(
|
||||||
|
"div",
|
||||||
|
{ staticClass: "container w-full max-w-xl mx-auto mt-10 px-4 font-sans" },
|
||||||
|
[
|
||||||
|
_c(
|
||||||
|
"form",
|
||||||
|
{
|
||||||
|
staticClass:
|
||||||
|
"bg-white w-full shadow-md rounded-lg px-8 pt-6 pb-4 mb-4",
|
||||||
|
attrs: { onclick: "return false" },
|
||||||
|
},
|
||||||
|
[
|
||||||
|
_c("div", { staticClass: "mb-4 w-96 mx-auto" }, [
|
||||||
|
_c(
|
||||||
|
"label",
|
||||||
|
{ staticClass: "block text-gray-500 font-medium text-sm mb-2" },
|
||||||
|
[_vm._v("No Rujukan")]
|
||||||
|
),
|
||||||
|
_vm._v(" "),
|
||||||
|
_c("div", { staticClass: "flex flex-wrap" }, [
|
||||||
|
_c("div", { staticClass: "flex flex-row w-96 mx-auto" }, [
|
||||||
|
_c("div", { staticClass: "flex flex-col w-96" }, [
|
||||||
|
_c("input", {
|
||||||
|
ref: "btnDropdownRef",
|
||||||
|
staticClass:
|
||||||
|
"mr-2 bg-gray-200 appearance-none border-2 border-gray-200 rounded w-full py-2 px-4 text-gray-700 leading-tight focus:outline-none focus:bg-white focus:border-blue-500",
|
||||||
|
attrs: {
|
||||||
|
id: "frminput",
|
||||||
|
type: "text",
|
||||||
|
placeholder: "Masukkan IC atau Nama",
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
]),
|
||||||
|
_vm._v(" "),
|
||||||
|
_c(
|
||||||
|
"button",
|
||||||
|
{
|
||||||
|
staticClass: "px-4 py-2 bg-blue-600 rounded ml-2",
|
||||||
|
attrs: { id: "buttonsearch" },
|
||||||
|
on: {
|
||||||
|
click: function ($event) {
|
||||||
|
return _vm.toggleTable()
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
[_c("i", { staticClass: "fas fa-search text-white" })]
|
||||||
|
),
|
||||||
|
]),
|
||||||
|
]),
|
||||||
|
]),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
_vm._v(" "),
|
||||||
|
_c("div", { staticClass: "mx-auto hidden", attrs: { id: "divtable" } }, [
|
||||||
|
_c("table", { staticClass: "min-w-full leading-normal" }, [
|
||||||
|
_vm._m(0),
|
||||||
|
_vm._v(" "),
|
||||||
|
_c(
|
||||||
|
"tbody",
|
||||||
|
_vm._l(_vm.arrayCustomer, function (cust, 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" },
|
||||||
|
[
|
||||||
|
_vm._v(
|
||||||
|
"\n " +
|
||||||
|
_vm._s(i + 1) +
|
||||||
|
"\n "
|
||||||
|
),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
]),
|
||||||
|
]),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
_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" },
|
||||||
|
[
|
||||||
|
_vm._v(
|
||||||
|
"\n " +
|
||||||
|
_vm._s(cust.nokp) +
|
||||||
|
"\n "
|
||||||
|
),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
]),
|
||||||
|
]),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
_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" },
|
||||||
|
[
|
||||||
|
_vm._v(
|
||||||
|
"\n " +
|
||||||
|
_vm._s(cust.customer_name) +
|
||||||
|
"\n "
|
||||||
|
),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
]),
|
||||||
|
]),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
_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" },
|
||||||
|
[
|
||||||
|
_vm._v(
|
||||||
|
"\n " +
|
||||||
|
_vm._s(cust.total_payment) +
|
||||||
|
"\n "
|
||||||
|
),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
]),
|
||||||
|
]),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
_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" },
|
||||||
|
[
|
||||||
|
_vm._v(
|
||||||
|
"\n " +
|
||||||
|
_vm._s(cust.tarikh) +
|
||||||
|
"\n "
|
||||||
|
),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
]),
|
||||||
|
]),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
_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" },
|
||||||
|
[
|
||||||
|
_vm._v(
|
||||||
|
"\n " +
|
||||||
|
_vm._s(cust.masa) +
|
||||||
|
"\n "
|
||||||
|
),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
]),
|
||||||
|
]),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
_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" },
|
||||||
|
[
|
||||||
|
_vm._v(
|
||||||
|
"\n " +
|
||||||
|
_vm._s(cust.paid_at) +
|
||||||
|
"\n "
|
||||||
|
),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
]),
|
||||||
|
]),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
_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" },
|
||||||
|
[
|
||||||
|
_vm._v(
|
||||||
|
"\n " +
|
||||||
|
_vm._s(cust.status) +
|
||||||
|
"\n "
|
||||||
|
),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
]),
|
||||||
|
]),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
_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" },
|
||||||
|
[
|
||||||
|
_vm._v(
|
||||||
|
"\n " +
|
||||||
|
_vm._s(cust.billplz_id) +
|
||||||
|
"\n "
|
||||||
|
),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
]),
|
||||||
|
]),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
_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",
|
||||||
|
},
|
||||||
|
[
|
||||||
|
_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
|
||||||
|
),
|
||||||
|
]),
|
||||||
|
]),
|
||||||
|
])
|
||||||
|
}
|
||||||
|
var staticRenderFns = [
|
||||||
|
function () {
|
||||||
|
var _vm = this
|
||||||
|
var _h = _vm.$createElement
|
||||||
|
var _c = _vm._self._c || _h
|
||||||
|
return _c("thead", { staticClass: "text-center" }, [
|
||||||
|
_c("tr", [
|
||||||
|
_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 Bil\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 IC/Passport\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 Nama\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 Bayaran\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 Tarikh\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 Masa\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 Paid at\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 Status\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 Billplz ID\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 Tindakan\n ")]
|
||||||
|
),
|
||||||
|
]),
|
||||||
|
])
|
||||||
|
},
|
||||||
|
]
|
||||||
|
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/Breadcrumb.vue?vue&type=template&id=c259b9a4&":
|
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/Breadcrumb.vue?vue&type=template&id=c259b9a4&":
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<template>
|
||||||
|
<router-view></router-view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
@@ -0,0 +1,235 @@
|
|||||||
|
<template>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<div class="container w-full max-w-xl mx-auto mt-10 px-4 font-sans">
|
||||||
|
<form class="bg-white w-full shadow-md rounded-lg px-8 pt-6 pb-4 mb-4" onclick="return false">
|
||||||
|
<div class="mb-4 w-96 mx-auto">
|
||||||
|
<label class="block text-gray-500 font-medium text-sm mb-2">No Rujukan</label>
|
||||||
|
<div class="flex flex-wrap">
|
||||||
|
<div class="flex flex-row w-96 mx-auto">
|
||||||
|
|
||||||
|
<div class="flex flex-col w-96">
|
||||||
|
<input id="frminput" type="text" ref="btnDropdownRef" placeholder="Masukkan IC atau Nama" class="mr-2 bg-gray-200 appearance-none border-2 border-gray-200 rounded w-full py-2 px-4 text-gray-700 leading-tight focus:outline-none focus:bg-white focus:border-blue-500" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button id="buttonsearch" class="px-4 py-2 bg-blue-600 rounded ml-2" v-on:click="toggleTable()"><i class="fas fa-search text-white"></i></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="mx-auto hidden" id="divtable">
|
||||||
|
<table class="min-w-full leading-normal">
|
||||||
|
<thead class="text-center">
|
||||||
|
<tr>
|
||||||
|
<th class="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">
|
||||||
|
Bil
|
||||||
|
</th>
|
||||||
|
<th class="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">
|
||||||
|
IC/Passport
|
||||||
|
</th>
|
||||||
|
<th class="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">
|
||||||
|
Nama
|
||||||
|
</th>
|
||||||
|
<th class="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">
|
||||||
|
Bayaran
|
||||||
|
</th>
|
||||||
|
<th class="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">
|
||||||
|
Tarikh
|
||||||
|
</th>
|
||||||
|
<th class="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">
|
||||||
|
Masa
|
||||||
|
</th>
|
||||||
|
<th class="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">
|
||||||
|
Paid at
|
||||||
|
</th>
|
||||||
|
<th class="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">
|
||||||
|
Status
|
||||||
|
</th>
|
||||||
|
<th class="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">
|
||||||
|
Billplz ID
|
||||||
|
</th>
|
||||||
|
<th class="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">
|
||||||
|
Tindakan
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr v-for="(cust,i) in arrayCustomer" :key="i" >
|
||||||
|
<td class="px-5 py-5 border-b border-gray-200 bg-white text-sm">
|
||||||
|
<div class="flex items-center">
|
||||||
|
<div class="ml-3">
|
||||||
|
<p class="text-gray-900 whitespace-no-wrap" >
|
||||||
|
{{ i + 1 }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td class="px-5 py-5 border-b border-gray-200 bg-white text-sm">
|
||||||
|
<div class="flex items-center">
|
||||||
|
<div class="ml-3">
|
||||||
|
<p class="text-gray-900 whitespace-no-wrap">
|
||||||
|
{{ cust.nokp }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td class="px-5 py-5 border-b border-gray-200 bg-white text-sm">
|
||||||
|
<div class="flex items-center">
|
||||||
|
<div class="ml-3">
|
||||||
|
<p class="text-gray-900 whitespace-no-wrap">
|
||||||
|
{{ cust.customer_name }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td class="px-5 py-5 border-b border-gray-200 bg-white text-sm">
|
||||||
|
<div class="flex items-center">
|
||||||
|
<div class="ml-3">
|
||||||
|
<p class="text-gray-900 whitespace-no-wrap">
|
||||||
|
{{ cust.total_payment }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td class="px-5 py-5 border-b border-gray-200 bg-white text-sm">
|
||||||
|
<div class="flex items-center">
|
||||||
|
<div class="ml-3">
|
||||||
|
<p class="text-gray-900 whitespace-no-wrap">
|
||||||
|
{{ cust.tarikh }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td class="px-5 py-5 border-b border-gray-200 bg-white text-sm">
|
||||||
|
<div class="flex items-center">
|
||||||
|
<div class="ml-3">
|
||||||
|
<p class="text-gray-900 whitespace-no-wrap">
|
||||||
|
{{ cust.masa }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td class="px-5 py-5 border-b border-gray-200 bg-white text-sm">
|
||||||
|
<div class="flex items-center">
|
||||||
|
<div class="ml-3">
|
||||||
|
<p class="text-gray-900 whitespace-no-wrap">
|
||||||
|
{{ cust.paid_at }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td class="px-5 py-5 border-b border-gray-200 bg-white text-sm">
|
||||||
|
<div class="flex items-center">
|
||||||
|
<div class="ml-3">
|
||||||
|
<p class="text-gray-900 whitespace-no-wrap">
|
||||||
|
{{ cust.status }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td class="px-5 py-5 border-b border-gray-200 bg-white text-sm">
|
||||||
|
<div class="flex items-center">
|
||||||
|
<div class="ml-3">
|
||||||
|
<p class="text-gray-900 whitespace-no-wrap">
|
||||||
|
{{ cust.billplz_id }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
<td class="px-5 py-5 border-b border-gray-200 bg-white text-sm">
|
||||||
|
<div class="flex items-center">
|
||||||
|
<div class="ml-3">
|
||||||
|
<button class="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"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-card-checklist" viewBox="0 0 16 16">
|
||||||
|
<path 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"/>
|
||||||
|
<path 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"/>
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { createPopper } from "@popperjs/core";
|
||||||
|
|
||||||
|
const formatter = new Intl.NumberFormat('en-US', {
|
||||||
|
minimumFractionDigits: 2
|
||||||
|
});
|
||||||
|
|
||||||
|
export default{
|
||||||
|
props: {
|
||||||
|
placement: {
|
||||||
|
type: String,
|
||||||
|
default: "bottom-start"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
dropdownShow: false,
|
||||||
|
param1: "",
|
||||||
|
arrayCustomer: Object
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
toggleTable : function() {
|
||||||
|
|
||||||
|
let res = this.getData()
|
||||||
|
let divtable = document.getElementById("divtable");
|
||||||
|
|
||||||
|
console.log(res)
|
||||||
|
if(res === 'ada')
|
||||||
|
{
|
||||||
|
if(this.arrayCustomer.length > 0)
|
||||||
|
{
|
||||||
|
divtable.classList.remove("hidden");
|
||||||
|
}else{
|
||||||
|
divtable.classList.add("hidden");
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
divtable.classList.add("hidden");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
|
getData: function() {
|
||||||
|
|
||||||
|
let inputvalue = document.getElementById("frminput").value;
|
||||||
|
|
||||||
|
if(inputvalue)
|
||||||
|
{
|
||||||
|
this.axios.get('http://localhost:8000/admin/searchSAGOnline', {
|
||||||
|
params: {
|
||||||
|
norujukan: inputvalue
|
||||||
|
}
|
||||||
|
}).then(response => {
|
||||||
|
this.arrayCustomer = response.data
|
||||||
|
|
||||||
|
if(response.data)
|
||||||
|
{
|
||||||
|
return 'ada'
|
||||||
|
}
|
||||||
|
}).catch(error => {
|
||||||
|
console.log(error)
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
return 'tiada'
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
hasNumber: function(inputString){
|
||||||
|
return /\d/.test(inputString);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
Vendored
+2
@@ -64,6 +64,8 @@ Vue.component('cawangan-component', require('./components/cawangan.vue').default
|
|||||||
Vue.component('modal-component', require('./components/util/Modal.vue').default)
|
Vue.component('modal-component', require('./components/util/Modal.vue').default)
|
||||||
Vue.component('searchpelanggan-component', require('./components/Searchpelanggan.vue').default)
|
Vue.component('searchpelanggan-component', require('./components/Searchpelanggan.vue').default)
|
||||||
Vue.component('laporanakaun-component', require('./Akaun/Laporan.vue').default)
|
Vue.component('laporanakaun-component', require('./Akaun/Laporan.vue').default)
|
||||||
|
Vue.component('online-component', require('./Online/Online.vue').default)
|
||||||
|
|
||||||
|
|
||||||
Vue.component('details-pelanggan', require('./pages/Detailspelanggan.vue').default)
|
Vue.component('details-pelanggan', require('./pages/Detailspelanggan.vue').default)
|
||||||
|
|
||||||
|
|||||||
Vendored
+5
@@ -11,12 +11,17 @@ import Upah from './Akaun/Upah'
|
|||||||
import Tuntutbaki from './Akaun/Tuntutbaki'
|
import Tuntutbaki from './Akaun/Tuntutbaki'
|
||||||
import Pendahuluanserahan from './Akaun/Pendahuluanserahan'
|
import Pendahuluanserahan from './Akaun/Pendahuluanserahan'
|
||||||
|
|
||||||
|
import OnlineHome from './Online/SearchSAG'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Vue.use(VueRouter)
|
Vue.use(VueRouter)
|
||||||
|
|
||||||
export default new VueRouter({
|
export default new VueRouter({
|
||||||
routes:[
|
routes:[
|
||||||
|
{ path: '/online', component: OnlineHome },
|
||||||
|
|
||||||
{ path: '/akaunhome', component: Home },
|
{ path: '/akaunhome', component: Home },
|
||||||
{ path: '/akaunhome/lejeram', component: Lejeram },
|
{ path: '/akaunhome/lejeram', component: Lejeram },
|
||||||
{ path: '/akaunhome/imbangduga', component: Imbangduga },
|
{ path: '/akaunhome/imbangduga', component: Imbangduga },
|
||||||
|
|||||||
@@ -158,6 +158,17 @@
|
|||||||
</li>
|
</li>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<a href="{{ route('admin.online') }}">
|
||||||
|
<li class="flex w-full justify-between text-gray-600 hover:text-yellow-500 cursor-pointer items-center mb-6">
|
||||||
|
<div class="flex items-center">
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||||
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5.636 18.364a9 9 0 010-12.728m12.728 0a9 9 0 010 12.728m-9.9-2.829a5 5 0 010-7.07m7.072 0a5 5 0 010 7.07M13 12a1 1 0 11-2 0 1 1 0 012 0z" />
|
||||||
|
</svg>
|
||||||
|
<span class="text-sm ml-2 text-lg">Online</span>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</a>
|
||||||
|
|
||||||
<hr class="mb-2">
|
<hr class="mb-2">
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,52 @@
|
|||||||
|
@extends('layouts.app')
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<div class="bg-gray-900 opacity-50 hidden fixed inset-0 z-10" id="sidebarBackdrop"></div>
|
||||||
|
<div id="main-content" class="h-full w-full bg-gray-50 relative overflow-y-auto">
|
||||||
|
<main>
|
||||||
|
|
||||||
|
<div class="pt-6 px-4">
|
||||||
|
|
||||||
|
<breadcrumb :items="[{ 'title' : 'Online', 'icon' : 'fas fa-globe-asia' }]"></breadcrumb>
|
||||||
|
|
||||||
|
<online-component></online-component>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
<footer class="bg-white md:flex md:items-center md:justify-between shadow rounded-lg p-4 md:p-6 xl:p-8 my-6 mx-4">
|
||||||
|
<ul class="flex items-center flex-wrap mb-6 md:mb-0">
|
||||||
|
<li><a href="#" class="text-sm font-normal text-gray-500 hover:underline mr-4 md:mr-6">Terms and conditions</a></li>
|
||||||
|
<li><a href="#" class="text-sm font-normal text-gray-500 hover:underline mr-4 md:mr-6">Privacy Policy</a></li>
|
||||||
|
<li><a href="#" class="text-sm font-normal text-gray-500 hover:underline mr-4 md:mr-6">Licensing</a></li>
|
||||||
|
<li><a href="#" class="text-sm font-normal text-gray-500 hover:underline mr-4 md:mr-6">Cookie Policy</a></li>
|
||||||
|
<li><a href="#" class="text-sm font-normal text-gray-500 hover:underline">Contact</a></li>
|
||||||
|
</ul>
|
||||||
|
<div class="flex sm:justify-center space-x-6">
|
||||||
|
<a href="#" class="text-gray-500 hover:text-gray-900">
|
||||||
|
<svg class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
|
||||||
|
<path fill-rule="evenodd" d="M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z" clip-rule="evenodd" />
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
<a href="#" class="text-gray-500 hover:text-gray-900">
|
||||||
|
<svg class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
|
||||||
|
<path fill-rule="evenodd" d="M12.315 2c2.43 0 2.784.013 3.808.06 1.064.049 1.791.218 2.427.465a4.902 4.902 0 011.772 1.153 4.902 4.902 0 011.153 1.772c.247.636.416 1.363.465 2.427.048 1.067.06 1.407.06 4.123v.08c0 2.643-.012 2.987-.06 4.043-.049 1.064-.218 1.791-.465 2.427a4.902 4.902 0 01-1.153 1.772 4.902 4.902 0 01-1.772 1.153c-.636.247-1.363.416-2.427.465-1.067.048-1.407.06-4.123.06h-.08c-2.643 0-2.987-.012-4.043-.06-1.064-.049-1.791-.218-2.427-.465a4.902 4.902 0 01-1.772-1.153 4.902 4.902 0 01-1.153-1.772c-.247-.636-.416-1.363-.465-2.427-.047-1.024-.06-1.379-.06-3.808v-.63c0-2.43.013-2.784.06-3.808.049-1.064.218-1.791.465-2.427a4.902 4.902 0 011.153-1.772A4.902 4.902 0 015.45 2.525c.636-.247 1.363-.416 2.427-.465C8.901 2.013 9.256 2 11.685 2h.63zm-.081 1.802h-.468c-2.456 0-2.784.011-3.807.058-.975.045-1.504.207-1.857.344-.467.182-.8.398-1.15.748-.35.35-.566.683-.748 1.15-.137.353-.3.882-.344 1.857-.047 1.023-.058 1.351-.058 3.807v.468c0 2.456.011 2.784.058 3.807.045.975.207 1.504.344 1.857.182.466.399.8.748 1.15.35.35.683.566 1.15.748.353.137.882.3 1.857.344 1.054.048 1.37.058 4.041.058h.08c2.597 0 2.917-.01 3.96-.058.976-.045 1.505-.207 1.858-.344.466-.182.8-.398 1.15-.748.35-.35.566-.683.748-1.15.137-.353.3-.882.344-1.857.048-1.055.058-1.37.058-4.041v-.08c0-2.597-.01-2.917-.058-3.96-.045-.976-.207-1.505-.344-1.858a3.097 3.097 0 00-.748-1.15 3.098 3.098 0 00-1.15-.748c-.353-.137-.882-.3-1.857-.344-1.023-.047-1.351-.058-3.807-.058zM12 6.865a5.135 5.135 0 110 10.27 5.135 5.135 0 010-10.27zm0 1.802a3.333 3.333 0 100 6.666 3.333 3.333 0 000-6.666zm5.338-3.205a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z" clip-rule="evenodd" />
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
<a href="#" class="text-gray-500 hover:text-gray-900">
|
||||||
|
<svg class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
|
||||||
|
<path d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84" />
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
<a href="#" class="text-gray-500 hover:text-gray-900">
|
||||||
|
<svg class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
|
||||||
|
<path fill-rule="evenodd" d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z" clip-rule="evenodd" />
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
<a href="#" class="text-gray-500 hover:text-gray-900">
|
||||||
|
<svg class="h-5 w-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
|
||||||
|
<path fill-rule="evenodd" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10c5.51 0 10-4.48 10-10S17.51 2 12 2zm6.605 4.61a8.502 8.502 0 011.93 5.314c-.281-.054-3.101-.629-5.943-.271-.065-.141-.12-.293-.184-.445a25.416 25.416 0 00-.564-1.236c3.145-1.28 4.577-3.124 4.761-3.362zM12 3.475c2.17 0 4.154.813 5.662 2.148-.152.216-1.443 1.941-4.48 3.08-1.399-2.57-2.95-4.675-3.189-5A8.687 8.687 0 0112 3.475zm-3.633.803a53.896 53.896 0 013.167 4.935c-3.992 1.063-7.517 1.04-7.896 1.04a8.581 8.581 0 014.729-5.975zM3.453 12.01v-.26c.37.01 4.512.065 8.775-1.215.25.477.477.965.694 1.453-.109.033-.228.065-.336.098-4.404 1.42-6.747 5.303-6.942 5.629a8.522 8.522 0 01-2.19-5.705zM12 20.547a8.482 8.482 0 01-5.239-1.8c.152-.315 1.888-3.656 6.703-5.337.022-.01.033-.01.054-.022a35.318 35.318 0 011.823 6.475 8.4 8.4 0 01-3.341.684zm4.761-1.465c-.086-.52-.542-3.015-1.659-6.084 2.679-.423 5.022.271 5.314.369a8.468 8.468 0 01-3.655 5.715z" clip-rule="evenodd" />
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
@endsection
|
||||||
@@ -41,6 +41,9 @@ Route::get('/pelanggan/{id}',['as'=>'admin.detailspelanggan','uses'=>'App\Http\C
|
|||||||
Route::get('/periksaalirantunai',['as'=>'periksa.alirantunai','uses'=>'App\Http\Controllers\AliranTunaiController@periksaAliranTunai']);
|
Route::get('/periksaalirantunai',['as'=>'periksa.alirantunai','uses'=>'App\Http\Controllers\AliranTunaiController@periksaAliranTunai']);
|
||||||
Route::get('/kemaskinialirantunai',['as'=>'kemaskini.alirantunai','uses'=>'App\Http\Controllers\AliranTunaiController@kemaskiniAliranTunai']);
|
Route::get('/kemaskinialirantunai',['as'=>'kemaskini.alirantunai','uses'=>'App\Http\Controllers\AliranTunaiController@kemaskiniAliranTunai']);
|
||||||
|
|
||||||
|
//Online
|
||||||
|
Route::get('/online',['as'=>'admin.online','uses'=>'App\Http\Controllers\OnlineController@AdminOnline'])->middleware('auth');
|
||||||
|
|
||||||
|
|
||||||
//Akaun
|
//Akaun
|
||||||
Route::get('/akaunhome/cetaklaporanlejeram',['as'=>'cetak.lejeram','uses'=>'App\Http\Controllers\AkaunController@viewlejeram'])->middleware('auth');
|
Route::get('/akaunhome/cetaklaporanlejeram',['as'=>'cetak.lejeram','uses'=>'App\Http\Controllers\AkaunController@viewlejeram'])->middleware('auth');
|
||||||
|
|||||||
Reference in New Issue
Block a user