[fix] Item search in POS (#12037)

This commit is contained in:
rohitwaghchaure 2017-12-15 15:38:12 +05:30 committed by Nabin Hait
parent d257af910b
commit 78a17355be

View File

@ -980,7 +980,7 @@ class POSItems {
}
curr_row += all_items[i];
if(i == all_items.length - 1 && all_items.length % 4 !== 0) {
if(i == all_items.length - 1) {
row_items.push(curr_row);
}
}