...
There is a requirement to add a message about discount/description on the Fee Table.
This configuration should be able to configure a title, period date, discount message, and fee type config.
All configurations will be on the Sanity when the user will have more change possibilities., in the beginning, the proposal will be to show the message discount on Whitelabel, but the Sanity structure will be created to receive more Fee configurations in the future, as the Fees Tiers that currently are in the LD.
These configurations will be related to the restaurant group and the Fee config.
...
Note |
---|
|
Acceptance criteria
Review
...
Toggle Enabled or Disabled:
The Fee discount description will show on the fee table modal when the Sanity toggle is enabled;
Will considered enabled:
On Sanity there is a DEFAULT CONFIG added to the restaurant group that the restaurant is part;
On Sanity there is an OTHER CONFIG added to the restaurant group that the restaurant is part with period valid;
If there are the DEFAULT CONFIG and OTHER CONFIG:
it will be considered the OTHER CONFIG, if the period has been valid;
else, it will be considering the DEFAULT CONFIG;
When the Sanity toggle is disabled, the Fee discount description will hide on the fee table modal;
If anyone’s conditions above are matched.
...
This improvement:
...