[LEBV-55] Check opening hours, pin and puk in the backend
🎯 Summary
This MR integrates two things:
- The opening hours which comes from the backend. It should behave like !6 (merged)
- Phone/PUK validation in the backend side.
🧪 How to test
Start as usual the front, but also the backend should be run in local. Instructions:
- Check that Docker is installed in your computer.
- Clone this repo in a new terminal if you don't have it: https://gitlab.mobbeel.com/MobbScan-Integration/lebara-video/lebara-video-deployment
- In a new terminal, go to the previous project folder in the terminal:
git checkout developgit pull-
docker login(enter your LDAP credentials, only needed the first time) ./sh pull_latest_images.shdocker-compose up
About opening hours
Opening hours cannot be modified since they come from the backend, just check that they are being shown.
About PUK/Phone validations
Now they should be checked with the backend. Valid combination:
- Phone:
015166804081 - PUK:
1839
Also, now the frontend validates that the phone starts by 015.
🧠 Considerations
N/A
🧐 Checklist
- Changes work in Google Chrome
- Changes work in Safari
- [-] UI is responsive