diff options
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> |