Merge pull request 'Fix[OrderCatalogItemDialog]: Fixed add item to order' (!1359) from Fix-OrderCatalogAddToOrder into dev
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
Reviewed-on: #1359 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
0e1f04323c
|
@ -43,10 +43,9 @@ const addToOrder = async () => {
|
|||
);
|
||||
|
||||
state.set('orderTotal', orderTotal);
|
||||
const rows = orderData.value.rows.push(...items) || [];
|
||||
state.set('Order', {
|
||||
...orderData.value,
|
||||
rows,
|
||||
items,
|
||||
});
|
||||
notify(t('globals.dataSaved'), 'positive');
|
||||
emit('added', -totalQuantity(items));
|
||||
|
|
Loading…
Reference in New Issue