diff options
author | Camil Staps | 2016-08-01 13:48:14 +0200 |
---|---|---|
committer | Camil Staps | 2016-08-01 13:53:12 +0200 |
commit | efa2936ec538c236dcec71f419ad714524c7d2b9 (patch) | |
tree | 1d7e1903851fc4c37c72cf8ee8de006979bb8b4e /include/contacts-overview.php | |
parent | Paypal not on by default in braintree (diff) |
Removed BusinessAdmin::get* methods, added Model::search and
Model::count
Diffstat (limited to 'include/contacts-overview.php')
-rw-r--r-- | include/contacts-overview.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/contacts-overview.php b/include/contacts-overview.php index 73cd5cd..2376f5a 100644 --- a/include/contacts-overview.php +++ b/include/contacts-overview.php @@ -36,7 +36,7 @@ require_once(__DIR__ . '/../login.php'); </thead> <tbody> <?php - $contacts = BusinessAdmin::getContacts($_pdo); + $contacts = Contact::search($_pdo); foreach ($contacts as $contact) { echo "<tr class='mix' data-mixer-order-id='{$contact->id}' @@ -84,7 +84,7 @@ require_once(__DIR__ . '/../login.php'); <label>Client:</label> <select name="clientId" class="form-control"> <?php - foreach (BusinessAdmin::getClients($_pdo) as $client) { + foreach (Client::search($_pdo) as $client) { echo "<option value='{$client->id}'>{$client->name}</option>"; } ?> |