Fix counts of items waiting for node idle notifications
This commit is contained in:
@@ -53,9 +53,9 @@ class NodeMarkedHold extends Notification //implements ShouldQueue
|
||||
$this->ao->system->last_seen?->diffInDays($now)))
|
||||
->line('')
|
||||
->line('You have (waiting for collection):')
|
||||
->line(sprintf('* %s Netmails',number_format($this->ao->uncollected_netmail)))
|
||||
->line(sprintf('* %s Echomails',number_format($this->ao->uncollected_echomail)))
|
||||
->line(sprintf('* %s Files',number_format($this->ao->uncollected_files)))
|
||||
->line(sprintf('* %s Netmails',number_format($this->ao->netmailWaiting()->count())))
|
||||
->line(sprintf('* %s Echomails',number_format($this->ao->echomailWaiting()->count())))
|
||||
->line(sprintf('* %s Files',number_format($this->ao->filesWaiting()->count())))
|
||||
->line('')
|
||||
->line(sprintf('To clear this status, all you need to do make sure your system polls and collects mail by **%s**',($this->ao->system->last_seen ?: Carbon::now())->addDays(config('fido.idle.down'))->format('Y-m-d')))
|
||||
->line('If you think you\'ve received this email by mistake or need help, please let me know.');
|
||||
|
Reference in New Issue
Block a user