Subversion Repositories SmartDukaan

Rev

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

Rev 4207 Rev 5527
Line 10... Line 10...
10
 
10
 
11
    $('#bulk-order').live('submit', function() {
11
    $('#bulk-order').live('submit', function() {
12
        submitBulkOrderForm();
12
        submitBulkOrderForm();
13
        return false;
13
        return false;
14
    });
14
    });
-
 
15
    
-
 
16
    $('#orderType').live('change', function() {
-
 
17
    	hideShowTin();
-
 
18
    	return false;
-
 
19
    });
15
 
20
 
16
    $('input[name$=unit_price]').live('change', function() {
21
    $('input[name$=unit_price]').live('change', function() {
17
        var quantity = $(this).closest('tr').find('input[name$=quantity]');
22
        var quantity = $(this).closest('tr').find('input[name$=quantity]');
18
        var price    = $(this).val();
23
        var price    = $(this).val();
19
        $(this).closest('tr').find('#item-amount').html(quantity * price);
24
        $(this).closest('tr').find('#item-amount').html(quantity * price);