Table of Contents |
---|
minLevel | 1 |
---|
maxLevel | 6 |
---|
outline | false |
---|
style | none |
---|
type | list |
---|
printable | false |
---|
|
...
https://github.com/rbilabs/intl-loyalty/pull/442/files
https://github.com/rbilabs/intl-loyalty/pull/455/files
INTL - Sanity
https://github.com/rbilabs/intl-sanity-shared-schemas/pull/16 Deprecated !
https://github.com/rbilabs/intl-whitelabel-cms
Loyalty
Expand |
---|
title | models/configuration/configuration.enums.ts - Update Types |
---|
|
Code Block |
---|
| export enum PointsDependsOn {
DeliveryFee = 'Delivery Fee',
ServiceFee = 'ServiceFee',
} |
|
...
Info |
---|
In addition, it will be necessary to make unit tests to validate the solution. |
...
CMS - Sanity ( intl-whitelabel-cms )
Expand |
---|
title | loyalty/documents/earning-calculation.ts |
---|
|
Code Block |
---|
export enum PointsDependsOn {
DeliveryFee = 'Delivery Fee',
ServiceFee = 'Service Fee',
} |
Code Block |
---|
export const LOYALTY_POINTS_DEPENDS_ON = [
{ title: 'Delivery Fee', value: PointsDependsOn.DeliveryFee },
{ title: 'Service Fee', value: PointsDependsOn.ServiceFee },
]; |
|
...