Subversion Repositories SmartDukaan

Rev

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

Rev 32352 Rev 32354
Line 597... Line 597...
597
 
597
 
598
            var priceMismatch = $.trim($(this).find(".priceMismatch").text());
598
            var priceMismatch = $.trim($(this).find(".priceMismatch").text());
599
            console.log(priceMismatch)
599
            console.log(priceMismatch)
600
 
600
 
601
 
601
 
602
            if (priceMismatch != null || excessQty > 0) {
602
            if (priceMismatch !== "" || excessQty > 0) {
603
                console.log(typeof priceMismatch)
603
                console.log(typeof priceMismatch)
604
                console.log(excessQty)
604
                console.log(excessQty)
605
                grnItemJson['itemId'] = itemId;
605
                grnItemJson['itemId'] = itemId;
606
                grnItemJson['qty'] = qty;
606
                grnItemJson['qty'] = qty;
607
                grnItemJson['excessQty'] = excessQty
607
                grnItemJson['excessQty'] = excessQty
Line 1035... Line 1035...
1035
    });
1035
    });
1036
}
1036
}
1037
 
1037
 
1038
 
1038
 
1039
function getGrnRequestItems(requestId, invoiceId) {
1039
function getGrnRequestItems(requestId, invoiceId) {
1040
 
-
 
1041
    doGetAjaxRequestHandler(context + "/grnRequestItem?requestId=" + requestId + "&invoiceId=" + invoiceId, function (response) {
1040
    doGetAjaxRequestHandler(context + "/grnRequestItem?requestId=" + requestId + "&invoiceId=" + invoiceId, function (response) {
1042
        $('.grnRequestItemContainer').html(response);
1041
        $('.grnRequestItemContainer').html(response);
1043
 
1042
 
1044
    });
1043
    });
1045
}
1044
}