47 Commits

Author SHA1 Message Date
root 6ae90d757b fadd column to enrollment table
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 55s
Tests / PHPUnit (push) Successful in 1m26s
2026-08-30 22:27:05 -04:00
root 332b0d1007 fix invalid token
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 49s
Tests / PHPUnit (push) Successful in 1m20s
2026-08-30 21:10:35 -04:00
root 140be9922d fix registration issue and split parent controller into services
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 49s
Tests / PHPUnit (push) Successful in 1m32s
2026-08-30 20:40:37 -04:00
root 0f8ad86b4f Add canonical user access profile table
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 47s
Tests / PHPUnit (push) Successful in 1m20s
Create user_access_profiles as a denormalized access index over the existing roles and user_roles tables. Store primary_category plus is_admin, is_teacher, and is_parent flags so permission checks can use a single canonical source for broad user groups.

Classify teacher and teacher_assistant/TA roles as teacher access, parent as parent access, and every other active staff role as admin access. Backfill all existing users during migration and keep profiles synchronized when role assignments are inserted, updated, or deleted.

Expose the computed access profile in web sessions and auth API responses while preserving the existing detailed roles array and route-filter behavior. Add unit coverage for TA, staff-admin, and multi-role parent/teacher classification.
2026-08-29 23:20:40 -04:00
root 6cf3a607a4 fix installment for carry over balance parent account
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 48s
Tests / PHPUnit (push) Successful in 1m19s
2026-08-29 18:33:28 -04:00
root d2cb159451 fix enrollment and registration email send
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 49s
Tests / PHPUnit (push) Failing after 1m20s
2026-08-28 16:16:59 -04:00
root 3133b3c584 fix principal access denied and fix test
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 48s
Tests / PHPUnit (push) Successful in 1m20s
2026-08-28 00:26:44 -04:00
root 9899af7b37 fix all issues before deploy
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 47s
Tests / PHPUnit (push) Failing after 1m18s
2026-08-25 03:10:44 -04:00
root 5f5afe97ad fix test issues
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 2m2s
Tests / PHPUnit (push) Failing after 1m19s
2026-08-24 22:14:05 -04:00
root a6e0ce1432 update policy and fix other issues
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 49s
Tests / PHPUnit (push) Successful in 1m19s
2026-08-23 18:19:08 -04:00
root 103f970110 fix email body
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 47s
Tests / PHPUnit (push) Successful in 1m18s
2026-08-22 16:55:54 -04:00
root d906a915d6 add refund logic and fix books inventory logic
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 47s
Tests / PHPUnit (push) Failing after 1m20s
2026-08-22 13:44:25 -04:00
root 23d1cbb64c fix logo circle, start email body
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 48s
Tests / PHPUnit (push) Failing after 1m17s
2026-08-21 13:28:30 -04:00
root d3da699e55 fix deployment db issue and widthrawal administration page
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 47s
Tests / PHPUnit (push) Failing after 1m19s
2026-08-20 20:18:00 -04:00
root 889c037660 fix is_new issue with enrollment fixes
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 48s
Tests / PHPUnit (push) Failing after 1m22s
2026-08-20 19:57:25 -04:00
root 0a31aa1393 fix is_active student flag logic and make moving with enrollment status
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 47s
Tests / PHPUnit (push) Successful in 1m16s
2026-08-20 03:11:37 -04:00
root 049baf2cb4 Fixed the failing test in [ExpenseControllerTest.php (line 136)](/Volumes/ExternalApps/repos/alrahma_sunday_school/tests/app/Controllers/View/ExpenseControllerTest.php:136). The test now handles the stubbed view() helper returning an inspectable array, while still accepting the fake renderer string path.
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 28s
Tests / PHPUnit (push) Successful in 3m26s
2026-08-16 17:56:48 -04:00
root 0ac3a8375e Fix semester context, attendance rosters, and billing workflows
Deploy to Shared Hosting / Shared hosting deploy (push) Failing after 31s
Tests / PHPUnit (push) Failing after 55s
- load global semester helpers consistently and use date-based semester defaults
- fix grading and daily attendance duplicate student/section rows
- keep attendance violations scoped to the current semester by default
- update invoice, refund, discount, payment, and financial aid flows
- add configuration cleanup migrations for duplicate calendar/semester keys
- refresh parent registration/report-card and print request handling
- update related models, services, views, cron notes, and test coverage
2026-08-16 17:41:11 -04:00
root 717baaea79 Fix last-name exception carry-forward and parent action label
Tests / PHPUnit (push) Successful in 55s
2026-08-15 21:20:51 -04:00
root 3cbfc40934 fix school year and enrollment steps
Tests / PHPUnit (push) Failing after 58s
2026-08-15 21:15:05 -04:00
root 4603d9ced2 fix enrollment logic, add financial aid, fix class distribution
Tests / PHPUnit (push) Failing after 1m6s
2026-08-15 15:07:16 -04:00
root 1ef2800f12 fix enrollment for the new school-year
Tests / PHPUnit (push) Successful in 1m26s
2026-08-07 23:43:31 -04:00
root 09ea144bb2 fix issues related to school year
Tests / PHPUnit (push) Failing after 34s
2026-07-31 18:52:25 -04:00
root 8d7ee3b9fc add autologout session
Tests / PHPUnit (push) Failing after 35s
2026-07-30 01:15:53 -04:00
root 81a72a4c59 fix school year and related issues
Tests / PHPUnit (push) Failing after 34s
2026-07-30 00:48:54 -04:00
root 2be16553df fix test run issue
Tests / PHPUnit (push) Successful in 1m21s
2026-07-18 23:18:49 -04:00
root a30c1398a1 fix financials
Tests / PHPUnit (push) Failing after 1m21s
2026-07-18 22:57:40 -04:00
root 068e739408 fix payment issues
Tests / PHPUnit (push) Successful in 1m17s
2026-07-18 19:12:13 -04:00
root 4aac9472af update manual pay recording
Tests / PHPUnit (push) Successful in 1m17s
2026-07-18 15:06:52 -04:00
root 716cc8b8d3 fix school year for all tables
Tests / PHPUnit (push) Failing after 1m20s
2026-07-18 14:45:38 -04:00
root 539d0eb220 fix parent pages to adopt the school year logic
Tests / PHPUnit (push) Successful in 1m20s
2026-07-17 00:02:53 -04:00
root 3408d5ab20 fix tests failure
Tests / PHPUnit (push) Failing after 53s
2026-07-15 23:42:16 -04:00
root 7f3b24e47f fix parent page
Tests / PHPUnit (push) Failing after 1m10s
2026-07-15 21:42:06 -04:00
root feb1b29a32 apply the school year concept
Tests / PHPUnit (push) Failing after 1m19s
2026-07-14 00:59:00 -04:00
root 504c3bc9f9 fix db delete data issue
Tests / PHPUnit (push) Failing after 1m24s
2026-07-13 01:43:32 -04:00
root f3ac521d7c tests fixes
Tests / PHPUnit (push) Failing after 1m18s
2026-07-13 01:02:03 -04:00
root a56aca4342 fix tests issues
Tests / PHPUnit (push) Failing after 1m16s
2026-07-13 00:24:00 -04:00
root f83ebe66b9 fix tests issues
Tests / PHPUnit (push) Failing after 43s
2026-07-12 20:36:40 -04:00
root 62492a5644 fix test issues
Tests / PHPUnit (push) Failing after 51s
2026-07-12 19:37:19 -04:00
root 84337e8a50 fix test issues
Tests / PHPUnit (push) Failing after 42s
2026-07-12 19:16:49 -04:00
root 55f8027550 fix missing school year pages
Tests / PHPUnit (push) Failing after 42s
2026-07-12 19:09:38 -04:00
root e06ccc9cc0 ADD SCHOOL YEAR MANAGEMENT
Tests / PHPUnit (push) Failing after 40s
2026-07-12 02:21:39 -04:00
root ed11cccecc fix payments 2026-07-08 23:30:16 -04:00
root 384ae8b719 fix the forecast tuition 2026-06-07 00:27:27 -04:00
root 6444b61416 fix financial issues 2026-06-01 02:08:27 -04:00
root 76866ffe1e update login scurity 2026-05-08 00:17:42 -04:00
root 663c0cdbda recreate project 2026-02-10 22:11:06 -05:00