update email template
This commit is contained in:
@@ -36,6 +36,9 @@ class DomainRepository extends BaseRepository implements DomainRepositoryInterfa
|
||||
if (isset($data['status'])) {
|
||||
$model = $model->where("status", $data['status']);
|
||||
}
|
||||
if (isset($data['customer_id'])) {
|
||||
$model = $model->where('customer_id', $data['customer_id']);
|
||||
}
|
||||
if (count($withCount) > 0) {
|
||||
$model = $model->withCount($withCount);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user