Subversion Repositories SmartDukaan

Rev

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

Rev 10490 Rev 10886
Line 30... Line 30...
30
        });
30
        });
31
 
31
 
32
        return false;
32
        return false;
33
    });
33
    });
34
    
34
    
-
 
35
    $('.orderIdInfo').live('click', function(){
-
 
36
		inventoryItemId = $(this).attr('id');
-
 
37
		$.ajax({
-
 
38
	        type : "GET",
-
 
39
	        url : "/inventory/doa-in!getOrderIdDOAInItem?id="+inventoryItemId,
-
 
40
	        success : function(response) {
-
 
41
	        	$.colorbox({
-
 
42
					inline : true,
-
 
43
			        width : "350px",
-
 
44
			        height : "150px",
-
 
45
			        opacity : "0.20",
-
 
46
			        overlayClose :	true,
-
 
47
			        escKey :	true,
-
 
48
			        href : $(response),
-
 
49
			        onClosed : function() {
-
 
50
			        	
-
 
51
			        }
-
 
52
				});
-
 
53
	        },
-
 
54
	        error : function(response) {
-
 
55
				alert("Error in fetching Order Id");
-
 
56
			}			
-
 
57
	    });
-
 
58
	});
-
 
59
    
35
    /*$('.doa-close-credit-note').hide();
60
    /*$('.doa-close-credit-note').hide();
36
    
61
    
37
    $('.closeDOAButton').live('click', function() {
62
    $('.closeDOAButton').live('click', function() {
38
        $(this).hide();
63
        $(this).hide();
39
        $(this).siblings('.doa-close-credit-note').show();
64
        $(this).siblings('.doa-close-credit-note').show();