PATH:
home
/
lab2454c
/
costbloc.com
/
public
/
dist
/
js
/
custom
"use strict";if($(".main-body .page-wrapper").find("#order-status-container").length){$(document).on("init.dt",function(){$(".dataTables_length").remove(),$("#dataTableBuilder").removeAttr("style")}),function(a,b){$(a).DataTable({columnDefs:[{targets:b,orderable:!1}],language:{url:app_locale_url},pageLength:row_per_page,order:[[2,"asc"]]})}("#dataTableBuilder",[4]),$(document).on("click",".edit_status",function(){var a=$(this).attr("id");$.ajax({url:SITE_URL+"/order-statuses/edit",data:{id:a,_token:token},type:"POST",dataType:"JSON",success:function(a){$("#status_id").val(a.id),$("#status_name").val(a.name),$("#status_orderBy").val(a.order_by),$("#status_is_default").val(a.is_default).trigger("change"),!0==a.is_core?$("#payment_scenario").attr("disabled","disabled"):($("#payment_scenario").removeAttr("disabled"),$("#payment_scenario").val(a.payment_scenario).trigger("change")),$("#status_color").val(a.color),$("#status_role_id").val(a.roleIds).trigger("change"),$("#edit-status").modal()}})}),$("#edit_default").on("change",function(){$(this)[0].checked&&$("#edit_status").val("Active").trigger("change")}),$("#default").on("change",function(){$(this)[0].checked&&$("#status").val("Active").trigger("change")}),$("#add-language").on("show.bs.modal",function(){$(this).find(".error").hide()}),$("#add-language").on("hidden.bs.modal",function(){$(this).find("select").val("").trigger("change"),$("#default").prop("checked",!1)}),$("#blah_add").hide(),$("#confirmDelete").on("show.bs.modal",function(a){var b=$(a.relatedTarget),c=$(this);$("#confirmDeleteSubmitBtn").attr("data-task","").removeClass("delete-task-btn"),"Delete"==b.data("label")&&(c.find("#confirmDeleteSubmitBtn").addClass("delete-task-btn").attr("data-task",b.data("id")).text(jsLang("Yes, Confirm")).show(),c.find("#confirmDeleteLabel").text(b.data("title")),c.find(".modal-body").text(b.data("message"))),$("#confirmDeleteSubmitBtn").on("click",function(){$("#delete-language-"+$(this).data("task")).trigger("submit")})}),$(document).on("click","#tablereload",function(a){a.preventDefault(),$("#dataTableBuilder").DataTable().ajax.reload()})}
[-] 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]