diff options
author | Camil Staps | 2016-07-28 09:37:48 +0200 |
---|---|---|
committer | Camil Staps | 2016-07-28 09:47:04 +0200 |
commit | 4f84eb2b09bf51eabdc29b5eeec101e0260b1cb7 (patch) | |
tree | 82722787d4018373720c66933f475bb2b1708c92 /include/offers-overview.php | |
parent | Split Calculatable in trait and interface (diff) |
Braintree integration: first version
Diffstat (limited to 'include/offers-overview.php')
-rw-r--r-- | include/offers-overview.php | 5 |
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>"; } |