145 Commits

Author SHA1 Message Date
John Mullins 528370d811 Made route stops optional in bus roll export (shuttles only) 2023-11-02 11:57:39 +11:00
John Mullins 350dfe4acb Added times to traveller csv export 2023-11-02 11:05:44 +11:00
John Mullins d68dcfccc1 Only allow sending of SMS to active students by default 2023-10-11 15:03:42 +11:00
John Mullins 3cfc4b545f Moved shuttles to be paged per stop
Added custom name to shuttle roll
2023-10-11 14:55:55 +11:00
John Mullins d4a6113e31 Moved roll some context to bus object
Added first_name to traveller ordering
2023-10-11 13:22:02 +11:00
John Mullins ff8b4c21fc Added traveller count to shuttle roll and removed inactive from roll 2023-10-11 13:14:52 +11:00
John Mullins 5fd3bbfa87 Added start_date clause to traveller.is_active() function 2023-10-11 12:59:15 +11:00
John Mullins 291f1d5f6d Actually maybe fixed is_active() function... 2023-10-11 12:15:16 +11:00
John Mullins ab3e30f7d0 Changed bus roll paginator 2023-10-11 12:11:45 +11:00
John Mullins 425e40eade Added company to bus roll context 2023-10-05 11:07:39 +11:00
John Mullins 5c8e81dbec Fixed context for company value in email roll to company function 2023-10-05 10:46:30 +11:00
John Mullins 0e225f48a4 Added year filter to traveller list view 2023-10-04 12:56:18 +11:00
John Mullins 78434588e2 Removed print statements
Added custom_name attribute to shuttles
2023-09-14 14:28:15 +10:00
John Mullins c40b6f764b Actually maybe fixed is_active() function... 2023-09-08 16:34:34 +10:00
John Mullins f421d28dc5 Fixed end_date in is active check. > to a < 2023-09-08 16:17:13 +10:00
John Mullins 43c23498bf Added Send SMS function to traveller contacts. The send command is commented out. 2023-09-07 15:42:11 +10:00
John Mullins 49dae4892b Added shuttles to traveller view and filter 2023-09-05 16:06:32 +10:00
John Mullins 020b8b2678 Bus roll stops page together 2023-09-05 13:00:01 +10:00
John Mullins 86a3ad139d Added shuttles to bus roll 2023-09-05 11:14:42 +10:00
John Mullins c55471a298 Email roll to schools function 2023-09-01 16:24:55 +10:00
John Mullins d051bc8beb Email roll to schools function 2023-09-01 15:18:20 +10:00
John Mullins 99530513c1 Changed names of is_archived fields 2023-09-01 12:11:17 +10:00
John Mullins 86c9b13c9a Added csv export for traveller and email to schools function 2023-09-01 11:23:30 +10:00
John Mullins b93d488598 Fixed seating_capacity mapping 2023-08-31 12:02:21 +10:00
John Mullins 6caf62e72f Added reports to top left admin menu bar
Combined summary pages
Changed admin panel to index
2023-08-31 11:59:32 +10:00
John Mullins 3568613607 Added azure auth. Lots of changes in settings.py 2023-08-30 15:05:57 +10:00
John Mullins 8005621594 Added default for Traveller.is_archived 2023-08-30 12:06:09 +10:00
John Mullins f7dde89de2 Added stop_route to traveller list view. Performance should be okay 2023-08-29 16:54:13 +10:00
John Mullins ab22868584 Moved emergency contacts view to pdf view 2023-08-29 16:17:04 +10:00
John Mullins eb03670290 Added fields to changelist view. Added hyperlinks and mailto links 2023-08-29 16:16:38 +10:00
John Mullins 4eb2909a16 Added archive field. Set during rollover or when end date is removed 2023-08-29 14:18:48 +10:00
John Mullins 90e8c22423 Email bus rolls function uses company email field 2023-08-29 13:47:44 +10:00
John Mullins eb6b3c1450 Removed old import 2023-08-29 12:46:58 +10:00
John Mullins 51eec5257b Added creation and last edit entries. Plan to use for recent changes when sending out to companies.
Small cleanups
2023-08-29 12:44:42 +10:00
John Mullins 0c8de0285a Changed bus roll to be a pdf view. Small changes needed to be able to email to companies.
Dropdown selection in admin > buses > Email Bus Roll To Company
Will email bus roll only to the company the route is a member of. Will show all to the admin in a pdf file.

Recipients are currently hardcoded for testing purposes.
2023-08-29 12:40:34 +10:00
John Mullins 2f1ae0586b Added traveller count + hyperlinks to bus and shuttle view 2023-08-28 15:27:24 +10:00
John Mullins f9981aadf0 New reports
Added per term fare paid to traveller model
Fixed parent in emergency contacts report
2023-08-28 11:41:31 +10:00
John Mullins cc706420a5 Clean up with clone class 2023-08-28 11:38:20 +10:00
John Mullins 45149ffb5d I think this works now!!! 2023-08-25 14:14:34 +10:00
John Mullins 4008b7e19f Added adminClone view 2023-08-25 10:32:45 +10:00
John Mullins 4e15e98801 Removed name from Shuttles. Based just on bus and school
Formatting cleanups
2023-08-25 10:28:44 +10:00
John Mullins c07fd817a8 Added clone model (WIP) 2023-08-25 10:27:11 +10:00
John Mullins c312f8ea85 Added importer to company model
Cleaned imports
2023-08-22 14:51:43 +10:00
John Mullins 084a3aa9f9 Add static folders to .gitignore 2023-08-22 14:51:04 +10:00
John Mullins 0c3ba727bf Initial commit 2023-08-18 18:10:53 +10:00