- Adds "scheduled for" status for notifications

- Adds post notification/welcome activation message
- Implements schedule update when editing newsletter
Implements #405 (3 & 7)
This commit is contained in:
Vlad
2016-04-27 18:58:08 -04:00
parent 1b7ac62b5c
commit 06d56fe19d
5 changed files with 53 additions and 22 deletions

View File

@@ -68,7 +68,6 @@ class Newsletter extends Model {
function getQueue() {
return SendingQueue::where('newsletter_id', $this->id)
->whereRaw(('`status` IS NULL OR `status` != "scheduled"'))
->orderByDesc('updated_at')
->findOne();
}