d
This commit is contained in:
parent
2e94482d5e
commit
4cac45e24c
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ class AjaxController extends Controller
|
|||
$contact = Contact::where(['contact_hash' => $contact_hash])->first();
|
||||
$coupons = $campagne->coupons;
|
||||
|
||||
$allLogs = Log::where(['log_refsite' => $campagne->camp_siteId, 'log_statut' => 'OK'])->orderBy('created_at', 'DESC')->get();
|
||||
$allLogs = Log::where(['log_refsite' => $campagne->camp_siteId, 'log_contactId' => $contact->contact_id, 'log_statut' => 'OK'])->orderBy('created_at', 'DESC')->get();
|
||||
$logs = array();
|
||||
foreach ($allLogs as &$l) {
|
||||
$params = json_decode($l->log_params);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue