[guadec-web] Mark payment as Reminded when sent reminder
- From: Patrick Uiterwijk <puiterwijk src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [guadec-web] Mark payment as Reminded when sent reminder
 
- Date: Tue, 22 Jul 2014 00:08:31 +0000 (UTC)
 
commit ed46f6b00a34edd12212493498f6e2375ae56e6b
Author: Patrick Uiterwijk <puiterwijk redhat com>
Date:   Mon Jul 21 20:08:25 2014 -0400
    Mark payment as Reminded when sent reminder
 guadec/access-register.php |    1 +
 guadec/confirm-payment.php |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/guadec/access-register.php b/guadec/access-register.php
index 7d29a15..459ce8a 100644
--- a/guadec/access-register.php
+++ b/guadec/access-register.php
@@ -70,6 +70,7 @@ function display_result($result){
                     print('<form method="post" action="">
                     <input type="hidden" name="regid" value="' . $results['id'] . '">
                     <input type="hidden" name="action" value="sendreminder">
+                    <input type="hidden" name="newstatus" value="Reminded">
                     <input type="hidden" name="viewtype" value="' . $_POST['viewtype'] . '">
                     <input type="submit" value="Send payment reminder">
                     </form>');
diff --git a/guadec/confirm-payment.php b/guadec/confirm-payment.php
index fa2b86c..b285bb3 100644
--- a/guadec/confirm-payment.php
+++ b/guadec/confirm-payment.php
@@ -108,7 +108,7 @@ if (!empty($_POST) || isset($_GET['payfor'])) {
             $payment = $results['payment'];
             $application_submitted = true;
 
-            if($payment != 'Pending')
+            if($payment != 'Pending' && $payment != "Reminded')
             {
                 print('Your payment is currently completed or marked as payment onsite.');
                 require_once('footer.php');
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]