PATH:
home
/
lab2454c
/
costbloc.com
/
public
/
dist
/
js
/
custom
"use strict";$(document).on("init.dt",function(){$(".dataTables_length").remove(),$("#dataTableBuilder").removeAttr("style")}),$(".main-body .page-wrapper").find("#currency-settings-container").length&&(dataTable("#dataTableBuilder",3),$(".js-example-basic-single-1").select2(),$(".js-example-basic-single-2").select2(),$("#add-currency").on("hidden.bs.modal",function(){$("input[name=name]").removeClass("error"),$("input[name=symbol]").removeClass("error"),$("input[name=exchange_rate]").removeClass("error")}),$("#edit-unit").on("show.bs.modal",function(){$("#curr_name, #curr_symbol, #exchange_rate").removeClass("error"),$("#curr_name-error, #curr_symbol-error, #exchange_rate-error").hide()}),$(document).on("click",".edit_currency",function(){var e=$(this).attr("id");$.ajax({url:SITE_URL+"/currencies/edit",data:{id:e,_token:token},type:"POST",dataType:"JSON",success:function(e){$("#curr_name").val(e.name),$("#curr_symbol").val(e.symbol),$("#curr_id").val(e.id);var a=getDecimalNumberFormat(e.exchange_rate);$("#exchange_rate").val(a),$("#exchange_from").val(e.exchange_from).trigger("change"),$("#edit-unit").modal()}})}),$("#add-currency").on("hidden.bs.modal",function(e){$(this).find("input[name = name]").val(""),$(this).find("input[name = symbol]").val(""),$(this).find("input[name = exchange_rate]").val("")}),$(".btn-group").hide(),confirmDelete("#confirmDelete","#confirmDeleteSubmitBtn","#confirmDeleteLabel","#delete-currency-"),$("#dataTableBuilder").addClass("taxes"),$("#add_exchange_from").on("change",function(){"api"==$(this).find("option:selected").text()?$("#note").show():$("#note").hide()}),$("#exchange_from").on("change",function(){"api"==$(this).find("option:selected").text()&&?$("#note_edit").show():$("#note_edit").hide()}),$("#currency-converter").on("show.bs.modal",function(){$("#add-unit").modal("hide"),$("#edit-unit").modal("hide")})),$(".main-body .page-wrapper").find("#tax-settings-container").length&&(dataTable("#dataTableBuilder",3),$(".select2").select2(),$("#add-tax").on("hidden.bs.modal",function(){$(".has-validation-error label").remove()}),$("#edit-tax").on("show.bs.modal",function(){$(".has-validation-error label").remove()}),$(document).on("click",".edit_currency",function(){var e=$(this).attr("id");$.ajax({url:SITE_URL+"/taxes/edit",data:{id:e,_token:token},type:"POST",dataType:"JSON",success:function(e){$("#name").val(e.name),$("#tax_id").val(e.id);var a=getDecimalNumberFormat(e.tax_rate);$("#tax_rate").val(a),$("#is_default").val(e.is_default).trigger("change"),$("#edit-tax").modal()}})}),$("#add-tax").on("hidden.bs.modal",function(e){$(this).find("input[name = name]").val(""),$(this).find("input[name = tax_rate]").val(""),$(this).find("input[name = is_default]").val("")}),$(".btn-group").hide(),confirmDelete("#confirmDelete","#confirmDeleteSubmitBtn","#confirmDeleteLabel","#delete-currency-"));
[-] 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]