Subversion Repositories SmartDukaan

Rev

Rev 19251 | Rev 23313 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19251 Rev 19988
Line 6... Line 6...
6
  $(function(){	
6
  $(function(){	
7
	$(".add-update-vendor-pricing").live('click', function() {
7
	$(".add-update-vendor-pricing").live('click', function() {
8
		loadVendorPricing("content");
8
		loadVendorPricing("content");
9
    });
9
    });
10
	
10
	
-
 
11
	$(".download-virtual").live('click', function() {
-
 
12
		loadDownloadVirtual("content");
-
 
13
    });
-
 
14
	
11
	$(".add-update-catalog").live('click', function() {
15
	$(".add-update-catalog").live('click', function() {
12
		loadCatalogDiv("content");
16
		loadCatalogDiv("content");
13
    });
17
    });
14
	
18
	
15
	$(".add-update-virtual").live('click', function() {
19
	$(".add-update-virtual").live('click', function() {
Line 146... Line 150...
146
        success : function(response) {
150
        success : function(response) {
147
            $('#' + domId).html(response);
151
            $('#' + domId).html(response);
148
        }
152
        }
149
    });  
153
    });  
150
}
154
}
-
 
155
function loadDownloadVirtual(domId){
-
 
156
jQuery.ajax({
-
 
157
        type : "GET",
-
 
158
        url : "/Support/bulk-add!loadDownloadVirtualDiv",
-
 
159
        success : function(response) {
-
 
160
            $('#' + domId).html(response);
-
 
161
        }
-
 
162
    });  
-
 
163
}
151
</script>
164
</script>
152
<style>
165
<style>
153
	#content{
166
	#content{
154
	margin-top:20px;
167
	margin-top:20px;
155
	}
168
	}
Line 186... Line 199...
186
<br>
199
<br>
187
<br>
200
<br>
188
<a href="#" class="add-update-virtual">Update Virtual Inventory</a>
201
<a href="#" class="add-update-virtual">Update Virtual Inventory</a>
189
<br>
202
<br>
190
<br>
203
<br>
-
 
204
<a href="#" class="download-virtual">Download Virtual Inventory</a>
-
 
205
<br>
-
 
206
<br>
191
<hr>
207
<hr>
192
<a target="_blank" href="http://173.255.253.139/profitmandi-template.xls">Download Profitmandi Template</a>
208
<a target="_blank" href="http://173.255.253.139/profitmandi-template.xls">Download Profitmandi Template</a>
193
<br>
209
<br>
194
<br>
210
<br>
195
<a href="#" class="add-items-dtr">Add items to profitmandi</a>
211
<a href="#" class="add-items-dtr">Add items to profitmandi</a>