Changeset 3428414
- Timestamp:
- 12/27/2025 10:45:50 PM (3 months ago)
- Location:
- rsvpmaker/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (1 diff)
-
rsvpmaker-api-endpoints.php (modified) (1 diff)
-
rsvpmaker-plugabble.php (modified) (1 diff)
-
rsvpmaker-report.php (modified) (5 diffs)
-
rsvpmaker.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
rsvpmaker/trunk/README.txt
r3423832 r3428414 9 9 Requires at least: 5.0 10 10 Tested up to: 6.9 11 Stable tag: 11.7.1 12 Stable tag: 11.6.9 13 ======= 11 14 Stable tag: 11.7 15 >>>>>>> .r3428411 12 16 13 17 Event and email marketing. Register guests and collect payment by PayPal or Stripe. Send invitations and newsletters. -
rsvpmaker/trunk/rsvpmaker-api-endpoints.php
r3419017 r3428414 248 248 249 249 $event = $request['post_id']; 250 251 $sql = $wpdb->prepare("SELECT FROM first,last,note %i WHERE event=%d AND yesno=1 ORDER BY id DESC",$wpdb->prefix . "rsvpmaker",$event); 252 250 $sql = $wpdb->prepare("SELECT first,last,note FROM %i WHERE event=%d AND yesno=1 ORDER BY id DESC",$wpdb->prefix . "rsvpmaker",$event); 253 251 $attendees = $wpdb->get_results( $sql ); 254 252 -
rsvpmaker/trunk/rsvpmaker-plugabble.php
r3423832 r3428414 2690 2690 } 2691 2691 2692 $sql = $w dbp->prepare("SELECT details FROM %i WHERE email LIKE %s ORDER BY id DESC",$wpdb->prefix . 'rsvpmaker',$email);2692 $sql = $wpdb->prepare("SELECT details FROM %i WHERE email LIKE %s ORDER BY id DESC",$wpdb->prefix . 'rsvpmaker',$email); 2693 2693 } else { 2694 2694 $sql = $wpdb->prepare("SELECT details FROM %i WHERE email LIKE %s ORDER BY id DESC",$wpdb->prefix . 'rsvpmaker',$email); -
rsvpmaker/trunk/rsvpmaker-report.php
r3419017 r3428414 327 327 328 328 if( !isset( $_GET['rsvp_order'] ) || ( $_GET['rsvp_order'] == 'host' ) ) 329 { 330 329 { 331 330 $results = $wpdb->get_results( $wpdb->prepare("SELECT * FROM %i WHERE event=%d AND master_rsvp=0 ORDER BY ".(isset($_GET['latest']) ? ' timestamp DESC ' : ' yesno DESC, last, first '),$wpdb->prefix."rsvpmaker",$eventid), ARRAY_A ); 332 331 format_rsvp_details( $results, true, true ); 333 332 } 334 333 else { 335 336 337 334 $results = $wpdb->get_results( $wpdb->prepare("SELECT * FROM %i WHERE event=%d ".( isset( $_GET['rsvp_order'] ) && ( $_GET['rsvp_order'] == 'alpha' ) ) ? ' ORDER BY yesno DESC, last, first' : ' ORDER BY yesno DESC, timestamp DESC',$wpdb->prefix . "rsvpmaker",$wpdb->prefix . "rsvpmaker"), ARRAY_A ); 338 339 335 format_rsvp_details( $results ); 340 336 } … … 695 691 696 692 $number_registered = sizeof($results); 693 $unpaidcount = 0; 697 694 698 695 foreach ( $results as $index => $row ) { … … 710 707 } 711 708 $owed_list .= format_rsvp_row($row,$fields, $pricing); 709 710 $is_unpaid = !empty($row['fee_total']) && '0.00' != $row['fee_total'] && '0.00' != $row['owed'] && !empty($row['owed']); 711 if($is_unpaid) 712 $unpaidcount++; 712 713 713 714 if($check_guests) { … … 716 717 if($g) { 717 718 $number_registered += sizeof($g); 719 if($is_unpaid) 720 $unpaidcount+= sizeof($g); 718 721 echo '<blockquote>'; 719 722 foreach($g as $grow) { … … 751 754 752 755 } 753 printf('<p>%d registered </p>',$number_registered);756 printf('<p>%d registered, including %d unpaid</p>',$number_registered,$unpaidcount); 754 757 755 758 echo '<div class="noprint">'; -
rsvpmaker/trunk/rsvpmaker.php
r3423832 r3428414 11 11 * License: GPL v2 or later 12 12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html 13 * Version: 11.7 13 * Version: 11.7.1 14 14 */ 15 15 16 16 function get_rsvpversion() { 17 return '11.7 ';17 return '11.7.1'; 18 18 } 19 19
Note: See TracChangeset
for help on using the changeset viewer.