From 3393995db8c3f191f064d2f0729b1af5fb889ee6 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 1 Aug 2016 08:04:48 +0200 Subject: Easier accessor/mutator in Model; refreshing braintree statuses --- include/offers-view.php | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) (limited to 'include/offers-view.php') diff --git a/include/offers-view.php b/include/offers-view.php index ec579b6..1455e43 100644 --- a/include/offers-view.php +++ b/include/offers-view.php @@ -57,7 +57,7 @@ $_offer = new Offer($_pdo, $_id); "; } if (count($assignments) == 0) { - echo "There are no assignments in the database. Why not start with creating one, below?"; + echo "There are no assignments in the database. Why not start with creating one, below?"; } ?> @@ -99,7 +99,7 @@ $_offer = new Offer($_pdo, $_id); "; } if (count($discounts) == 0) { - echo "There are no discounts in the database. Why not start with creating one, below?"; + echo "There are no discounts in the database. Why not start with creating one, below?"; } ?> @@ -108,6 +108,42 @@ $_offer = new Offer($_pdo, $_id);
+
+
Payments
+
+ + + + + + + + + + + getPayment(); + $payments = [$payment]; + foreach ($payments as $payment) { + echo " + + + + + "; + } + if (count($payments) == 0) { + echo ""; + } + ?> + +
#Braintree IDBraintree statusTools
{$payment->id}{$payment->braintree_id}{$payment->braintree_status} + +
There are no payments in the database. Why not start with creating one, below?
+
+
+
+
Timeline -- cgit v1.2.3