aboutsummaryrefslogtreecommitdiff
path: root/include/offers-overview.php
diff options
context:
space:
mode:
authorCamil Staps2016-07-28 09:37:48 +0200
committerCamil Staps2016-07-28 09:47:04 +0200
commit4f84eb2b09bf51eabdc29b5eeec101e0260b1cb7 (patch)
tree82722787d4018373720c66933f475bb2b1708c92 /include/offers-overview.php
parentSplit Calculatable in trait and interface (diff)
Braintree integration: first version
Diffstat (limited to 'include/offers-overview.php')
-rw-r--r--include/offers-overview.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/offers-overview.php b/include/offers-overview.php
index 1118793..6d9bbc1 100644
--- a/include/offers-overview.php
+++ b/include/offers-overview.php
@@ -95,7 +95,10 @@ require_once('./login.php');
</table>
</td>
<td class='col-min-width'>
- <a title='" . ($offer->accepted ? "Accepted" : "Not accepted") . "' href='?toggle_accept={$offer->id}' class='btn " . ($offer->accepted ? "btn-success" : "btn-default") . " btn-circle fa fa-check'></a><a title='View' href='?id={$offer->id}' class='btn btn-primary btn-circle fa fa-arrow-right'></a><a title='Delete' href='?delete={$offer->id}' class='btn btn-danger btn-circle fa fa-times'></a>
+ <a title='" . ($offer->accepted ? "Accepted" : "Not accepted") . "' href='?toggle_accept={$offer->id}' class='btn " . ($offer->accepted ? "btn-success" : "btn-default") . " btn-circle fa fa-check'></a>
+ <a title='" . ($offer->getPaymentEligibility() ? "Eligible for online payment" : "Not eligible for online payment") . "' href='?toggle_payment_eligibility={$offer->id}' class='btn " . ($offer->getPaymentEligibility() ? "btn-success" : "btn-default") . " btn-circle fa fa-credit-card'></a>
+ <a title='View' href='?id={$offer->id}' class='btn btn-primary btn-circle fa fa-arrow-right'></a>
+ <a title='Delete' href='?delete={$offer->id}' class='btn btn-danger btn-circle fa fa-times'></a>
</td>
</tr>";
}