Subversion Repositories SmartDukaan

Rev

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

Rev 35884 Rev 36131
Line 123... Line 123...
123
        #end
123
        #end
124
    </div>
124
    </div>
125
</div>
125
</div>
126
 
126
 
127
<script>
127
<script>
-
 
128
#[[
128
$(function() {
129
$(function() {
129
    // Initialize typeahead for qty correction rows
130
    // Initialize typeahead for qty correction rows
130
    function initQtyTypeahead($row) {
131
    function initQtyTypeahead($row) {
131
        getItemAheadOptions($row.find('.qty-old-item'), true, function(selectedItem) {
132
        getItemAheadOptions($row.find('.qty-old-item'), true, function(selectedItem) {
132
            $row.find('.qty-old-itemid').val(selectedItem.itemId);
133
            $row.find('.qty-old-itemid').val(selectedItem.itemId);
Line 170... Line 171...
170
    });
171
    });
171
    $(document).on('click', '.removeQtyCorrectionRow', function() {
172
    $(document).on('click', '.removeQtyCorrectionRow', function() {
172
        $(this).closest('tr').remove();
173
        $(this).closest('tr').remove();
173
    });
174
    });
174
});
175
});
-
 
176
]]#
175
</script>
177
</script>