Commit Graph

8 Commits

Author SHA1 Message Date
Afiq Hamzah 5dae876903 Fix check for boolean instead of string 2024-06-11 12:36:59 +08:00
Afiq Hamzah 5fee2840d9 Add environment variable to check if the server runs job or not
- to prevent job run more than once
2024-06-11 12:21:01 +08:00
Afiq Hamzah 119f6d6428 Codebase update
- Remove default pic assignments for unsold commodity notifications
- Check wabot credential complete first before notification blast, if incomplete no notification be sent
- Change migration column order for settings table, column group first
- Resolve error of not showing select after updating any PIC for selected day
2024-06-11 08:41:12 +08:00
Afiq Hamzah 4f96b45003 Fix check commodity is sold or not 2024-06-11 08:41:12 +08:00
Afiq Hamzah ab6ee95d64 Implement seeders instead of seeding using migrations, log whatasapp message 2024-06-11 08:41:12 +08:00
Afiq Hamzah cbf6bd5f1f Fix multiple notifications send to PIC at one time
- fix by removing previous scheduled notifications job before updating the notification configurations
2024-06-11 08:41:12 +08:00
Afiq Hamzah 052f65307d wip 2024-06-11 08:41:12 +08:00
Afiq Hamzah 931de4471c Add feat unsold commodity notifications 2024-06-11 08:41:12 +08:00