Commit Graph

5 Commits

Author SHA1 Message Date
johnnyq 0494bfc1cf Moved admin_ to /admin, user_ to user report_ to /reports each have their own post includes modals directories created seperate headers and footer. Also did the same for xcustom, more work to me done 2025-07-28 13:32:28 -04:00
Marcus Hill 6363d265ca Refactor POST handling.
- Split into admin and user handlers, each admin page gets its own file now
- Enforce role access once for admin POST requests
- Automatically load POST logic for admin-based requests based on the referring page, otherwise automatically load all user request logic
- Add support for using custom POST handlers
2024-09-29 19:02:28 +01:00
johnnyq a5100ea187 Update the remaining logic to take advantage of the moved contact_primary and contact_location fields 2023-07-03 20:16:39 -04:00
johnnyq 18274d532e When Adding new client add contact as important as well, when assigning a new contact as primary contact label them as important updated the logic add and edit logic to include the new field primary contact field under contacts 2023-07-03 17:31:37 -04:00
Marcus Hill ebecdd3da2 Post.php - Separate 9k lines into separate files by sub-modules (e.g. ticket, invoice, expense) for easier development and troubleshooting 2023-07-02 14:56:12 +01:00