Patch adding a general admission seating type & pricing options

twowheeler - November 17, 2008 - 03:23
Project:Reservation
Version:5.x-1.0-beta3
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

I have spent a little time adding code to beta3. The major changes in this patch are:

  • Added support for a third type of ticket. It now supports reservations for general admission, in addition to seating at tables and in chair rows. General admission is a ticket for any available general admission seat, rather than a specific reserved seat.
  • Added regular and reduced ticket prices for each of the 3 types, giving a fuller range of pricing options.
  • Added ability to offer a group discount if desired. For example, buy more than 15 tickets and get $1.00 off each one.
  • The reduced price can be chosen for each selected ticket with a checkbox.
  • Added a function to consistently calculate this more complex pricing model.

Aside from that, there are a variety of cosmetic changes to the appearance of things. Hope you like it!
Oh, and you will be able to see the beginnings of a function to call paypal for payment. Obviously that can change depending on what module you want to use.

AttachmentSize
reservation_add_general.zip12.72 KB

#1

maulwuff - November 30, 2008 - 14:36
Status:needs review» needs work

thanks for your effort. I had no time to review it, yet.
Right now it seems as if there are still some bugs to fix. see #340636: Error message while saving first reservation

 
 

Drupal is a registered trademark of Dries Buytaert.