Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0048169 | Retail Modules | Web POS | public | 2021-11-26 14:52 | 2021-11-30 11:20 |
|
Reporter | gorka_gil | |
Assigned To | gorka_gil | |
Priority | high | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR22Q1 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0048169: scaled discount per total amount |
Description | The idea is to be able to define a new type of discount per total amount.
Like for the “scaled price” promotions, we need to define in a subtab different stages and rewards (can be in amount or percentage)
For instance,
We could create a new discount with type “scaled discount per total amount” from 01/12/2021 to 31/12/2021.
We could define different stages in a new tab :
- Amount = 5 , Ticket amount = 50 : Give 5€ discount total if the total of the ticket is equal or higher than 50€
- Amount = 10 , Ticket amount = 80 : Give 10€ discount total if the total of the ticket is equal or higher than 80€
- Amount = 15 , Ticket amount = 100 : Give 15€ discount total if the total of the ticket is equal or higher than 100€
And the same for percentages. |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | NOR |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2021-11-26 14:52 | gorka_gil | New Issue | |
2021-11-26 14:52 | gorka_gil | Assigned To | => gorka_gil |
2021-11-26 14:52 | gorka_gil | Triggers an Emergency Pack | => No |
2021-11-26 17:35 | hgbot | Resolution | open => fixed |
2021-11-26 17:35 | hgbot | Status | new => resolved |
2021-11-26 17:35 | hgbot | Note Added: 0133393 | |
2021-11-26 17:38 | hgbot | Note Added: 0133394 | |
2021-11-26 17:39 | hgbot | Note Added: 0133395 | |
2021-11-26 17:40 | gorka_gil | Note Added: 0133396 | |
2021-11-26 17:41 | gorka_gil | Review Assigned To | => marvintm |
2021-11-26 17:41 | gorka_gil | Status | resolved => closed |
2021-11-26 17:41 | gorka_gil | Fixed in Version | => RR22Q1 |
2021-11-30 11:20 | sebastien_liron | Tag Attached: NOR | |
Notes |
|
(0133393)
|
hgbot
|
2021-11-26 17:35
|
|
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bytotal [^]
Changeset: 421cfd4907ad07fee5ef72482345466a4be78990
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 2021-11-26T17:34:20+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bytotal/-/commit/421cfd4907ad07fee5ef72482345466a4be78990 [^]
Fixes ISSUE-48169: Merge branch 'fr/scaledBytotal'
---
A src-db/database/model/tables/DISCT_SCALEDBYTOTAL.xml
A src-db/database/sourcedata/AD_REFERENCE.xml
A src-db/database/sourcedata/AD_REF_LIST.xml
A src-test/org/openbravo/discounts/bytotal/test/base/model/ScaledBytotalStep.java
A src-test/org/openbravo/discounts/bytotal/test/base/model/definition/ByTotalAmountScaled.java
A src-test/org/openbravo/discounts/bytotal/test/base/model/definition/ByTotalPercentageScaled.java
A src-test/org/openbravo/discounts/bytotal/test/unittests/DiscountByTotalAmountScaledTest.java
A src-test/org/openbravo/discounts/bytotal/test/unittests/DiscountByTotalPercentageScaledTest.java
A src/org/openbravo/retail/discounts/bytotal/master/ScaledBytotal.java
A src/org/openbravo/retail/discounts/bytotal/master/ScaledBytotalProperties.java
A web/org.openbravo.retail.discounts.bytotal/app/model/business-logic/discounts-engine/engine/rules/by-total-discount.js
A web/org.openbravo.retail.discounts.bytotal/app/model/masterdata/DiscountFilterScaledBytotalModel.js
M src-db/database/model/modifiedTables/M_OFFER.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TABLE.xml
M src/org/openbravo/retail/discounts/bytotal/ByToTalDiscountsEngineAppComponentProvider.java
M src/org/openbravo/retail/discounts/bytotal/ByTotalDataHook.java
M src/org/openbravo/retail/discounts/bytotal/DiscTComponentProvider.java
M web/org.openbravo.retail.discounts.bytotal/app/model/business-logic/discounts-engine/engine/rules/by-total-amount-discount.js
M web/org.openbravo.retail.discounts.bytotal/app/model/business-logic/discounts-engine/engine/rules/by-total-percentage-discount.js
M web/org.openbravo.retail.discounts.bytotal/js/bytotal-datahook.js
---
|
|
|
(0133394)
|
hgbot
|
2021-11-26 17:38
|
|
|
|
(0133395)
|
hgbot
|
2021-11-26 17:39
|
|
|
|
|
|