aboutsummaryrefslogtreecommitdiff
path: root/include/offers-view.php
diff options
context:
space:
mode:
authorCamil Staps2016-07-31 23:39:22 +0200
committerCamil Staps2016-07-31 23:39:22 +0200
commit87b38e1cb5d5d5ebddfa4601a9088c3eadaf7ef0 (patch)
treed3bae56b43ab75e0939040c8af271abc7631387e /include/offers-view.php
parentMail: add SMTP_AUTH_TYPE (diff)
Easier emails
Diffstat (limited to 'include/offers-view.php')
-rw-r--r--include/offers-view.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/offers-view.php b/include/offers-view.php
index d96e9ed..ec579b6 100644
--- a/include/offers-view.php
+++ b/include/offers-view.php
@@ -107,26 +107,6 @@ $_offer = new Offer($_pdo, $_id);
</div>
</div>
</div>
-<div class="clearfix"></div>
-<div class="col-md-6">
- <div class="panel panel-default">
- <div class="panel-heading">Tools</div>
- <div class="panel-body">
- <?php
- $accepted = $_offer->accepted ?
- ['Accepted', 'btn-success'] :
- ['Not accepted', 'btn-default'];
- $eligible = $_offer->getPaymentEligibility() ?
- ['Eligible for online payment', 'btn-success'] :
- ['Not eligible for online payment', 'btn-default'];
- ?>
- <a title='<?=$accepted[0]?>' href='?id=<?=$_offer->id?>&toggle_accept=<?=$_offer->id?>' class='btn <?=$accepted[1]?>'><i class='fa fa-fw fa-check'></i> <?=$accepted[0]?></a>
- <a title='<?=$eligible[0]?>' href='?id=<?=$_offer->id?>&toggle_payment_eligibility=<?=$_offer->id?>' class='btn <?=$eligible[1]?>'><i class='fa fa-fw fa-credit-card'></i> <?=$eligible[0]?></a>
- <a title='Send invoice' href='?id=<?=$_offer->id?>&send_invoice=<?=$_offer->id?>' class='btn btn-info'><i class='fa fa-fw fa-envelope'></i> Send invoice to contact</a>
- <a title='Delete' href='?delete=<?=$_offer->id?>' class='btn btn-danger'><i class='fa fa-fw fa-times'></i> Delete</a>
- </div>
- </div>
-</div>
<div class="col-md-6">
<div class="panel panel-default" id="panel-timeline">
<div class="panel-heading">