diff options
Diffstat (limited to 'include/assignments-overview.php')
-rw-r--r-- | include/assignments-overview.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/assignments-overview.php b/include/assignments-overview.php index 2c2c115..c8b0de1 100644 --- a/include/assignments-overview.php +++ b/include/assignments-overview.php @@ -37,7 +37,7 @@ require_once(__DIR__ . '/../login.php'); </thead> <tbody> <?php - $assignments = BusinessAdmin::getAssignments($_pdo); + $assignments = Assignment::search($_pdo); foreach ($assignments as $assignment) { echo "<tr class='mix' data-mixer-order-id='{$assignment->id}' @@ -85,7 +85,7 @@ require_once(__DIR__ . '/../login.php'); <label>Offer:</label> <select name="offerId" class="form-control"> <?php - foreach (BusinessAdmin::getOffers($_pdo) as $offer) { + foreach (Offer::search($_pdo) as $offer) { echo "<option value='{$offer->id}'>#{$offer->id} to {$offer->getContact()->name} ({$offer->getContact()->getClient()->name})</option>"; } ?> |