title | issue |
---|---|
Fix individual promotion codes cannot generate |
NEXT-12139 |
- Changed method
openModalIndividualCodes
insrc\Administration\Resources\app\administration\src\module\sw-promotion\component\sw-promotion-code-form\index.js
- Changed method
onGenerateClick
insrc\Administration\Resources\app\administration\src\module\sw-promotion\component\sw-promotion-individualcodes\index.js
to handleindividualCodePattern
invalid - Changed method
createdComponent
insrc\Administration\Resources\app\administration\src\module\sw-promotion\page\sw-promotion-detail\index.js
- Changed function
createCodes
insrc\Administration\Resources\app\administration\src\module\sw-promotion\service\individual-code-generator.service.js
to fix loop whenpattern
invalid, ex: my-code - Changed function
getRandomCharacter
insrc\Administration\Resources\app\administration\src\module\sw-promotion\service\code-generator.service.js
- Changed function
getRandomNumber
insrc\Administration\Resources\app\administration\src\module\sw-promotion\service\code-generator.service.js
- Added function
getDigit
insrc\Administration\Resources\app\administration\src\module\sw-promotion\service\code-generator.service.js
- Added function
getCharacters
insrc\Administration\Resources\app\administration\src\module\sw-promotion\service\code-generator.service.js