diff options
author | Camil Staps | 2015-12-18 09:41:44 +0100 |
---|---|---|
committer | Camil Staps | 2015-12-18 09:41:44 +0100 |
commit | 7619135618bf2b3c1698dec0294855f2b016ff7c (patch) | |
tree | e966b292d743bbfc8c202bfd5ae0a859a63bd6ec /include/offers-view.php | |
parent | Fixed a bug where some offers aren't shown in active offers if they have simi... (diff) |
Only show assignments of that offer in offer view
Diffstat (limited to 'include/offers-view.php')
-rw-r--r-- | include/offers-view.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/offers-view.php b/include/offers-view.php index b7fb092..70e3500 100644 --- a/include/offers-view.php +++ b/include/offers-view.php @@ -18,7 +18,6 @@ */ $_offer = new offer($_pdo, $_id); -$_offer->generateInvoice(); ?> <div class="col-lg-6"> <div class="panel panel-default" id="panel-timeline"> @@ -100,7 +99,7 @@ $_offer->generateInvoice(); </thead> <tbody> <?php - $assignments = BusinessAdmin::getAssignments($_pdo); + $assignments = BusinessAdmin::getAssignments($_pdo, array("offerId = {$_offer->getId()}")); foreach ($assignments as $assignment) { echo "<tr> <td class='col-min-width'>{$assignment->getId()}</td> @@ -127,4 +126,4 @@ $_offer->generateInvoice(); </table> </div> </div> -</div>
\ No newline at end of file +</div> |