PATH:
home
/
lab2454c
/
costbloc.com
/
public
/
dist
/
js
/
custom
"use strict";function clickOnSaveForm(e=null,t=null,a=[],n=null,s=null){$.ajax({type:t,url:SITE_URL+e,data:a,dataType:"JSON",contentType:!1,cache:!1,processData:!1,success:function(e){1==e.status?(null!=n&&n.length>0?swal(jsLang(n),{icon:"success",buttons:[!1,jsLang("Ok")]}):swal(jsLang("Successfully Saved"),{icon:"success",buttons:[!1,jsLang("Ok")]}),null!=s&&s.length>0&&(window.location.href=SITE_URL+s)):(e.error,swal(e.error,{icon:"error",buttons:[!1,jsLang("Ok")]}))}})}function clickOnSave(e=null,t=null,a=[]){return $.ajax({type:t,url:SITE_URL+e,data:{_token:token,data:a},success:function(e){1==e.status?swal(jsLang("Successfully Saved"),{icon:"success",buttons:[!1,jsLang("Ok")]}):(e.error,swal(e.error,{icon:"error",buttons:[!1,jsLang("Ok")]}))}})}function dataTable(e,t){$(e).DataTable({columnDefs:[{targets:t,orderable:!1}],language:{url:app_locale_url},pageLength:parseInt(row_per_page)})}function confirmDelete(e,t,a,n){$(e).on("show.bs.modal",(function(e){var s=$(e.relatedTarget),l=$(this);$(t).attr("data-task","").removeClass("delete-task-btn"),"Delete"==s.data("label")&&(l.find(t).addClass("delete-task-btn").attr("data-task",s.data("id")).text(jsLang("Delete")).show(),l.find(a).text(s.data("title")),l.find(".modal-body").text(s.data("message"))),$("#confirmDeleteSubmitBtn").on("click",(function(){$(n+$(this).data("task")).trigger("submit")}))}))}function confirmDeleteAjax(e=null,t=null,a=null,n=null){swal({title:jsLang("Are you sure?"),text:jsLang("Once deleted, you will not be able to recover this file."),icon:"warning",buttons:!0,dangerMode:!0}).then((s=>{s?$.ajax({type:t,url:SITE_URL+e,data:{_token:token,id:a},success:function(e){1==e.status?swal(jsLang("Deleted Successfully"),{icon:"success",buttons:[!1,jsLang("Ok")]}):(e.error,swal(e.error,{icon:"error",buttons:[!1,jsLang("Ok")]})),"resfreshJSTree"==n&&resfreshJSTree()}}):swal("Your data is safe!")}))}
[-] create-product.min.js
[edit]
[-] refund.js
[edit]
[-] shops.js
[edit]
[-] commission.min.js
[edit]
[-] user.min.js
[edit]
[-] installer.js
[edit]
[-] category.min.js
[edit]
[+]
site
[-] jquery.blockUI.js
[edit]
[-] category.js
[edit]
[-] create-product.js
[edit]
[-] refund.min.js
[edit]
[+]
..
[-] shipping.min.js
[edit]
[-] user.js
[edit]
[-] jquery.blockUI.min.js
[edit]
[-] option.min.js
[edit]
[-] users-activity-list.js
[edit]
[-] attribute.min.js
[edit]
[-] email-configuration.min.js
[edit]
[-] dashboard.js
[edit]
[-] order.min.js
[edit]
[-] delete-modal.js
[edit]
[-] withdrawal.js
[edit]
[-] product-setting.js
[edit]
[-] validation.js
[edit]
[-] vendors.min.js
[edit]
[-] shops.min.js
[edit]
[-] roles.js
[edit]
[-] review.js
[edit]
[-] common.min.js
[edit]
[-] geolocale-suggestion.min.js
[edit]
[-] custom-category.js
[edit]
[-] product.js
[edit]
[-] order-invoice.min.js
[edit]
[-] common.js
[edit]
[-] product_list.js
[edit]
[-] settings.js
[edit]
[-] permission.min.js
[edit]
[-] coupon.js
[edit]
[-] export.js
[edit]
[-] yajra-custom.min.js
[edit]
[-] users-activity-list.min.js
[edit]
[-] finance.min.js
[edit]
[-] geolocale-suggestion.js
[edit]
[-] option.js
[edit]
[-] newsletter.min.js
[edit]
[-] order.js
[edit]
[-] role-permission.js
[edit]
[-] brand.min.js
[edit]
[-] transaction.js
[edit]
[-] popup.min.js
[edit]
[-] validation.min.js
[edit]
[-] templates.min.js
[edit]
[-] attribute.js
[edit]
[-] brand.js
[edit]
[-] app-layout.js
[edit]
[-] preference.js
[edit]
[-] invoice.js
[edit]
[-] order-invoice.js
[edit]
[-] yajra-export.js
[edit]
[-] product-setting.min.js
[edit]
[-] yajra-custom.js
[edit]
[-] installer.min.js
[edit]
[-] invoice.min.js
[edit]
[-] product_list.min.js
[edit]
[-] email-configuration.js
[edit]
[-] custom-category.min.js
[edit]
[-] settings.min.js
[edit]
[-] yajra-export.min.js
[edit]
[-] withdrawal.min.js
[edit]
[-] payment.js
[edit]
[-] preference.min.js
[edit]
[-] roles.min.js
[edit]
[-] finance.js
[edit]
[-] app-layout.min.js
[edit]
[-] permission.js
[edit]
[-] transaction.min.js
[edit]
[-] popup.js
[edit]
[-] order_status.min.js
[edit]
[-] commission.js
[edit]
[-] coupon.min.js
[edit]
[-] shipping.js
[edit]
[-] review.min.js
[edit]
[-] templates.js
[edit]
[-] delete-modal.min.js
[edit]
[-] vendors.js
[edit]
[-] order_status.js
[edit]
[-] dashboard.min.js
[edit]
[-] newsletter.js
[edit]
[-] product.min.js
[edit]
[-] export.min.js
[edit]