Changeset 1368520
- Timestamp:
- 03/10/2016 06:01:55 PM (10 years ago)
- Location:
- opentickets-community-edition/trunk
- Files:
-
- 4 edited
-
inc/event-area/general-admission-area-type.class.php (modified) (1 diff)
-
inc/event-area/general-admission-zoner.class.php (modified) (1 diff)
-
launcher.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
opentickets-community-edition/trunk/inc/event-area/general-admission-area-type.class.php
r1367916 r1368520 713 713 $stati = $zoner->get_stati(); 714 714 715 // get information about the current user, so we can identify them 716 $current_user = $zoner->current_user(); 717 $current_user_id = get_current_user_id(); 718 715 719 // aggregate the args used for the remote function 716 720 $rargs = array( -
opentickets-community-edition/trunk/inc/event-area/general-admission-zoner.class.php
r1367916 r1368520 212 212 213 213 // tally all records for this event before this lock. 214 $total_before_lock = $this->find( array( 'event_id' => $args['event_id'], 'state' => '*', 'fields' => 'total', 'before' => $lock->since ) ); 215 $my_total_before_lock = $this->find( array( 'event_id' => $args['event_id'], 'state' => '*', 'fields' => 'total', 'before' => $lock->since, 'ticket_type_id' => $args['ticket_type_id'], 'customer_id' => $args['customer_id'] ) ); 214 $total_before_lock = $this->find( array( 215 'event_id' => $args['event_id'], 216 'state' => '*', 217 'fields' => 'total', 218 'before' => $lock->since, 219 ) ); 220 $my_total_before_lock = $this->find( array( 221 'event_id' => $args['event_id'], 222 'state' => '*', 223 'order_id' => array_unique( array( 0, isset( WC()->session->order_awaiting_payment ) ? absint( WC()->session->order_awaiting_payment ) : 0 ) ), 224 'fields' => 'total', 225 'before' => $lock->since, 226 'ticket_type_id' => $args['ticket_type_id'], 227 'customer_id' => $args['customer_id'], 228 ) ); 216 229 217 230 // figure out the total available for the event, at the point of the lock. if there is no capacity, then default to the amount in the lock -
opentickets-community-edition/trunk/launcher.php
r1367916 r1368520 4 4 * Plugin URI: http://opentickets.com/ 5 5 * Description: Event Management and Online Ticket Sales Platform 6 * Version: 2.2. 16 * Version: 2.2.2 7 7 * Author: Quadshot Software LLC 8 8 * Author URI: http://quadshot.com/ … … 54 54 'fctm' => 'fc', 55 55 'always_reserve' => 0, 56 'version' => '2.2. 1',56 'version' => '2.2.2', 57 57 'min_wc_version' => '2.4.12', 58 58 'core_post_type' => 'qsot-event', -
opentickets-community-edition/trunk/readme.txt
r1367916 r1368520 171 171 172 172 == Changelog == 173 174 = 2.2.2 - Mar/9/2016 = 175 * [fix] repaired 'remove reservation' buttons 176 * [fix] solved issue for users who order tickets from the same event more than once 173 177 174 178 = 2.2.1 - Mar/8/2016 =
Note: See TracChangeset
for help on using the changeset viewer.