Commit 4f2704bb authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo
parents 9000aab3 a2e9637c
...@@ -618,8 +618,10 @@ const rootReducer = (state = globalState, action) => { ...@@ -618,8 +618,10 @@ const rootReducer = (state = globalState, action) => {
let is_xist = list_item.find(item => row.id == item.id) let is_xist = list_item.find(item => row.id == item.id)
if (is_xist) { if (is_xist) {
row['qty'] = is_xist.quantity row['qty'] = is_xist.quantity
row['note'] = is_xist.note
} else { } else {
row['qty'] = 0 row['qty'] = 0
row['note'] = 'Kosong'
} }
if (last_category != row.category.name) { if (last_category != row.category.name) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment