Subversion Repositories SmartDukaan

Rev

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

Rev 4207 Rev 5527
Line 32... Line 32...
32
    });
32
    });
33
 
33
 
34
    $('#bulk-order-total-amount').val(totalAmount);
34
    $('#bulk-order-total-amount').val(totalAmount);
35
}
35
}
36
 
36
 
-
 
37
function hideShowTin() {
-
 
38
	if($('#orderType').val() == "B2Cbulk") {
-
 
39
		$('#tin').hide();
-
 
40
	}
-
 
41
	else {
-
 
42
		$('#tin').show();
-
 
43
	}
-
 
44
}
-
 
45
 
37
function submitBulkOrderForm() {
46
function submitBulkOrderForm() {
38
    if (validateForm()) {
47
    if (validateForm()) {
39
        // index starts from zero, Also we need to ignore first sample row
48
        // index starts from zero, Also we need to ignore first sample row
40
        $('table#bulk-order-items tbody>tr').each(function(rowIndex, rowElement) {
49
        $('table#bulk-order-items tbody>tr').each(function(rowIndex, rowElement) {
41
            // Skipping first sample row
50
            // Skipping first sample row