Source

cciw-website / cciw / bookings / models.py

Author Commit Message Labels Comments Date
Luke Plant
Made use of .basket() manager method instead of manual filtering
Branches
bookings
Luke Plant
Split long method
Branches
bookings
Luke Plant
Added 'RefundPayment' model and functionality, to allow recording of refunds.
Branches
bookings
Luke Plant
Added cancelled bookings to account overview page
Branches
bookings
Luke Plant
Added booking state for 'full refund' cancellation (in case CCIW cancel a camp)
Branches
bookings
Luke Plant
Added functionality for dealing with cancellations/deposit. This involved moving some data from 'htmlchunks' to the template for simplicity, in order to display the deposit value, and creating one new 'htmlchunk'.
Branches
bookings
Luke Plant
Fixed BookingAccount to deal with concurrent saves so that total_received is not overwritten
Branches
bookings
Luke Plant
More efficient manager for Payment
Branches
bookings
Luke Plant
docstring added
Branches
bookings
Luke Plant
Admin interface for ChequePayment
Branches
bookings
Luke Plant
Added ChequePayment model and basic functionality
Branches
bookings
Luke Plant
Added warning for booking secretary that shows the correct price
Branches
bookings
Luke Plant
Added AJAX feedback of booking problems onto admin Booking page
Branches
bookings
Luke Plant
Streamlined adding interface for adding Bookings, using an enhanced BookingAccount autocomplete widget Also, related changes to admin fieldsets, showing/grouping fields as appropriate.
Branches
bookings
Luke Plant
BookingAccount model changes to give flexibility/tightness required for real world
Branches
bookings
Luke Plant
New system for handling payments to ensure serial access to BookingAccount.total_recieved
Branches
bookings
Luke Plant
Added warnings for possible failure to use 2nd and 3rd child discounts Also fixed bug with another warning which included bookings from other years
Branches
bookings
Luke Plant
Fixed dozens of instances where unicode should have been used instead of str A definite bug in make_state_token fixed
Branches
bookings
Luke Plant
Added 'expire_bookings' management command (to run as a cron job)
Branches
bookings
Luke Plant
Added BookingAccount.first_login and last_login fields, for purposes of stats
Branches
bookings
Luke Plant
Don't spam the booking account holder with multiple emails when places are confirmed together
Branches
bookings
Luke Plant
Implemented emails for when payment is received. Also refactored to pull out signals and handlers
Branches
bookings
Luke Plant
Added warning for camper with same name on same camp
Branches
bookings
Luke Plant
Corrected/clarified some code comments
Branches
bookings
Luke Plant
Fixed corner case where bookings should be marked as confirmed immediately
Branches
bookings
Luke Plant
Code comment
Branches
bookings
Luke Plant
Changed API of Camp.get_places_left() for efficiency
Branches
bookings
Luke Plant
Renamed method for clarity
Branches
bookings
Luke Plant
Moved some logic to Camp class, for easier re-use
Branches
bookings
Luke Plant
Improved admin interface for Booking
Branches
bookings
  1. Prev
  2. 1
  3. 2
  4. Next