NG1NDEX
Server IP : 150.95.80.236  /  Your IP : 3.147.53.139
Web Server : Apache
System : Linux host-150-95-80-236 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : social-telecare ( 10000)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/pcu.in.th/sc.pcu.in.th/demo15/dist/assets/js/custom/apps/customers/view/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/vhosts/pcu.in.th/sc.pcu.in.th/demo15/dist/assets/js/custom/apps/customers/view/payment-method.js
"use strict";var KTCustomerViewPaymentMethod={init:function(){document.getElementById("kt_customer_view_payment_method").querySelectorAll('[ data-kt-customer-payment-method="row"]').forEach((t=>{t.querySelector('[data-kt-customer-payment-method="delete"]').addEventListener("click",(e=>{e.preventDefault(),Swal.fire({text:"Are you sure you would like to delete this card?",icon:"warning",showCancelButton:!0,buttonsStyling:!1,confirmButtonText:"Yes, delete it!",cancelButtonText:"No, return",customClass:{confirmButton:"btn btn-primary",cancelButton:"btn btn-active-light"}}).then((function(e){e.value?(t.remove(),modal.hide()):"cancel"===e.dismiss&&Swal.fire({text:"Your card was not deleted!.",icon:"error",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-primary"}})}))}))})),document.querySelector('[data-kt-payment-mehtod-action="set_as_primary"]').addEventListener("click",(t=>{t.preventDefault(),Swal.fire({text:"Are you sure you would like to set this card as primary?",icon:"warning",showCancelButton:!0,buttonsStyling:!1,confirmButtonText:"Yes, set it!",cancelButtonText:"No, return",customClass:{confirmButton:"btn btn-primary",cancelButton:"btn btn-active-light"}}).then((function(t){t.value?Swal.fire({text:"Your card was set to primary!.",icon:"success",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-primary"}}):"cancel"===t.dismiss&&Swal.fire({text:"Your card was not set to primary!.",icon:"error",buttonsStyling:!1,confirmButtonText:"Ok, got it!",customClass:{confirmButton:"btn btn-primary"}})}))}))}};KTUtil.onDOMContentLoaded((function(){KTCustomerViewPaymentMethod.init()}));

Anon7 - 2022
AnonSec Team