aboutsummaryrefslogtreecommitdiff
path: root/include/offers.php
diff options
context:
space:
mode:
authorCamil Staps2016-08-01 08:28:57 +0200
committerCamil Staps2016-08-01 08:28:57 +0200
commitddcdb11f4d3a97c353994990e0c6418a557e50e8 (patch)
tree518b502bb5959a32ce9adc3950b9693001a67c39 /include/offers.php
parentEasier accessor/mutator in Model; refreshing braintree statuses (diff)
Unfinished braintree status means open invoice; update frontend
Diffstat (limited to 'include/offers.php')
-rw-r--r--include/offers.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/offers.php b/include/offers.php
index 165d88f..22bd332 100644
--- a/include/offers.php
+++ b/include/offers.php
@@ -127,6 +127,7 @@ require('./header.php');
//------------------------------------------------------------------------------
// The header of the page
//------------------------------------------------------------------------------
+
$header = 'Offers';
// Whether or not to show an individual offer in the end (false if not, or the id if yes)
$show_individual = false;
@@ -136,7 +137,7 @@ require('./header.php');
$id = (int) $_GET['id'];
try {
$offer = new Offer($_pdo, $id);
- $header = "<a href='".Constants::url_external."offers'>Offers</a> / #{$offer->id}";
+ $header = "<a href='".Constants::url_external."offers'>Offers</a> / #<a href='".Constants::url_external."offers?id={$offer->id}'>{$offer->id}</a>";
$show_individual = $id;
$accepted = $offer->accepted ?
['Accepted', 'btn-success'] :