Rev 23319 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<html><head><script src="/Support/js/jquery-1.5.1.min.js"></script><script type="text/javascript" src="/Support/js/jquery.alerts.js"></script><script type="text/javascript">$(function(){$(".add-update-vendor-pricing").live('click', function() {loadVendorPricing("content");});$(".download-virtual").live('click', function() {loadDownloadVirtual("content");});$(".upload-tax-rate").live('click', function() {loadTaxRateDiv("content");});$(".add-update-catalog").live('click', function() {loadCatalogDiv("content");});$(".add-update-virtual").live('click', function() {loadVirtualDiv("content");});$(".add-items-dtr").live('click', function() {loadDtrDiv("content");});$("#uploadVendorPricing").live('submit', function(){var formData = new FormData($(this)[0]);jQuery.ajax({url: "/Support/bulk-add!addVendorItemPricing",type: 'POST',data: formData,async: false,success: function (data) {alert(data);$('#uploadVendorPricing')[0].reset();},error : function() {jAlert("OOPS!!!Failed to do changes.Try Again.",'ERROR');},cache: false,contentType: false,processData: false});return false;});$("#uploadItemPricing").live('submit', function(){var formData = new FormData($(this)[0]);jQuery.ajax({url: "/Support/bulk-add!updateItemPricing",type: 'POST',data: formData,async: false,success: function (data) {alert(data);$('#uploadItemPricing')[0].reset();},error : function() {jAlert("OOPS!!!Failed to do changes.Try Again.",'ERROR');},cache: false,contentType: false,processData: false});return false;});$("#uploadVirtualInventory").live('submit', function(){var formData = new FormData($(this)[0]);jQuery.ajax({url: "/Support/bulk-add!updateVirtualInventory",type: 'POST',data: formData,async: false,success: function (data) {$('#uploadVirtualInventory')[0].reset();alert(data);},error : function() {jAlert("OOPS!!!Failed to do changes.Try Again.",'ERROR');},cache: false,contentType: false,processData: false});return false;});$("#uploadProfitmandi").live('submit', function(){var formData = new FormData($(this)[0]);jQuery.ajax({url: "/Support/bulk-add!uploadItemsDtr",type: 'POST',data: formData,async: false,success: function (data) {$('#uploadProfitmandi')[0].reset();alert(data);},error : function() {jAlert("OOPS!!!Failed to do changes.Try Again.",'ERROR');},cache: false,contentType: false,processData: false});return false;});});</script><script type="text/javascript">function loadVendorPricing(domId){jQuery.ajax({type : "GET",url : "/Support/bulk-add!loadVendorDiv",success : function(response) {$('#' + domId).html(response);}});}function loadCatalogDiv(domId){jQuery.ajax({type : "GET",url : "/Support/bulk-add!loadCatalogDiv",success : function(response) {$('#' + domId).html(response);}});}function loadVirtualDiv(domId){jQuery.ajax({type : "GET",url : "/Support/bulk-add!loadVirtualDiv",success : function(response) {$('#' + domId).html(response);}});}function loadDtrDiv(domId){jQuery.ajax({type : "GET",url : "/Support/bulk-add!loadDtrDiv",success : function(response) {$('#' + domId).html(response);}});}function loadDownloadVirtual(domId){jQuery.ajax({type : "GET",url : "/Support/bulk-add!loadDownloadVirtualDiv",success : function(response) {$('#' + domId).html(response);}});}function loadTaxRateDiv(domId){let response = '<p style="font-size: 14px;">Upload Tax Rate:</p>\<form id="uploadTaxSheet" name="fileUpload" action="/Support/bulk-add!uploadTaxRateSheet" enctype="multipart/form-data" method="post">\<label for="filePath" style="font-size: 14px;">Path : </label>\<input type="file" name="file" id="file">\<input type="submit" value="Upload" name="upload">\</form>\<hr/>'$('#' + domId).html(response);}</script><style>#content{margin-top:20px;}</style><link href="/Support/css/jquery.alerts.css" type="text/css" rel="stylesheet"></head><body><span><a href="/Support/reports">Back</a></span><div style="margin: 5px;"> </div><h4>Inventory /Catalog /Dtr Bulk Add</h4><div class="options"><hr><a target="_blank" href="http://173.255.253.139/vendor-item-pricing.xls">Download Vendor Item Pricing Template</a><br><br><a href="/Support/bulk-add!downloadVendors">Download Vendors</a><br><br><a href="#" class="add-update-vendor-pricing">Add or Update Vendor Item Pricing</a><hr><br><a target="_blank" href="http://173.255.253.139/item-pricing.xls">Download Item Pricing Template</a><br><br><a href="#" class="add-update-catalog">Update Item / Private Deals</a><br><br><hr><br><a target="_blank" href="http://173.255.253.139/virtual-inventory.xls">Download Virtual Inventory Template</a><br><br><a href="/Support/bulk-add!downloadWarehouses">Download Warehouses</a><br><br><a href="#" class="add-update-virtual">Update Virtual Inventory</a><br><br><a href="#" class="download-virtual">Download Virtual Inventory</a><br><br><hr><a target="_blank" href="http://173.255.253.139/profitmandi-template.xls">Download Profitmandi Template</a><br><br><a href="#" class="add-items-dtr">Add items to profitmandi</a><hr><a target="_blank" href="http://173.255.253.139/bulk-tax-add-template.xls">Download Tax Rate Template</a><br><br><a href="#" class="upload-tax-rate">Upload Tax Rate</a><hr></div><div id="content"></div></body></html>