[guadec-web] Ignore Dupe payments in accomodation report
- From: Pascal Terjan <pterjan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web] Ignore Dupe payments in accomodation report
- Date: Tue, 22 Jul 2014 08:36:47 +0000 (UTC)
commit 940d89828225512d498acc267564ee018411ed48
Author: Pascal Terjan <pterjan gmail com>
Date: Tue Jul 22 08:36:39 2014 +0000
Ignore Dupe payments in accomodation report
guadec/access-register.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/guadec/access-register.php b/guadec/access-register.php
index 8fc4267..ff3e5cf 100644
--- a/guadec/access-register.php
+++ b/guadec/access-register.php
@@ -223,7 +223,7 @@ else{
echo display_totals($result);
break;
case 'showaccommodation' :
- $result = $wpdb->get_results("SELECT * FROM wp_guadec2014_registrations WHERE accom =
'YES'", ARRAY_A);
+ $result = $wpdb->get_results("SELECT * FROM wp_guadec2014_registrations WHERE accom =
'YES' AND payment != 'Dupe'", ARRAY_A);
echo display_accommodation($result);
break;
default :
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]