mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-07 07:06:26 +02:00
Update received
This commit is contained in:
parent
29cd7edd5d
commit
1dfebd1df7
7 changed files with 18 additions and 18 deletions
|
@ -89,7 +89,7 @@ namespace controllers\publics;
|
|||
$now = $now->format('Y-m-d H:i:s');
|
||||
|
||||
$sendeds = $this->internal_sended->get_by_target($number);
|
||||
$receiveds = $this->internal_received->get_by_send_by($number);
|
||||
$receiveds = $this->internal_received->get_by_origin($number);
|
||||
$scheduleds = $this->internal_scheduled->get_before_date_for_number($now, $number);
|
||||
|
||||
$messages = [];
|
||||
|
|
|
@ -53,7 +53,7 @@ namespace controllers\publics;
|
|||
continue;
|
||||
}
|
||||
|
||||
$receiveds[$key]['send_by'] = $contact['name'].' ('.$received['origin'].')';
|
||||
$receiveds[$key]['origin'] = $contact['name'].' ('.$received['origin'].')';
|
||||
}
|
||||
|
||||
$this->render('received/list', ['receiveds' => $receiveds, 'page' => $page, 'limit' => $limit, 'nb_results' => \count($receiveds)]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue