From 6976e20943b13b7e2914994ed88eb85353899bb8 Mon Sep 17 00:00:00 2001 From: guillermo Date: Tue, 14 May 2024 08:57:16 +0200 Subject: [PATCH] feat: refs #3199 Added one more scope ticketTotal --- README.md | 1 + queues/ticketTotal.yml | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 2b69786..294fc95 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ More info at https://github.com/nevill/zongji/issues/143 git clone https://github.com/juan-ferrer-toribio/zongji.git cd zongji git checkout fix-143 +npm install ``` Apply *zongji.sql* script into DB. diff --git a/queues/ticketTotal.yml b/queues/ticketTotal.yml index 2128d8c..8c43555 100644 --- a/queues/ticketTotal.yml +++ b/queues/ticketTotal.yml @@ -2,6 +2,7 @@ query: ticket: CALL vn.ticket_recalc(:id, NULL) client: CALL vn.ticket_recalcByScope('client', :id) address: CALL vn.ticket_recalcByScope('address', :id) + item: CALL vn.ticket_recalcByScope('item', :id) includeSchema: vn: ticket: @@ -40,3 +41,10 @@ includeSchema: key: id columns: - isEqualizated + itemTaxCountry: + key: itemFk + scope: item + columns: + - itemFk + - countryFk + - taxClassFk