13 Commits

Author SHA1 Message Date
Afiq Hamzah 2e4923262a Fix komoditi notification sends notification day not in business 2024-09-23 11:59:01 +08:00
Afiq Hamzah facf829563 Logs job execution in custom logs 2024-08-09 18:01:46 +08:00
Afiq Hamzah 66927875ce Change notification interval to 15 minutes 2024-06-12 09:30:37 +08:00
Afiq Hamzah 96d7d5ed9f Checks if its today komoditi and then only notification will send 2024-06-12 09:29:28 +08:00
Afiq Hamzah 43c27bf3d6 Fix condition when checking for commodity balance 2024-06-12 09:03:53 +08:00
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