mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Update some things for recurring transactions.
This commit is contained in:
@@ -65,7 +65,13 @@ class ReportNewJournalsMail extends Mailable
|
||||
*/
|
||||
public function build(): self
|
||||
{
|
||||
$subject = $this->journals->count() === 1
|
||||
? 'Firefly III has created a new transaction'
|
||||
: sprintf(
|
||||
'Firefly III has created new %d transactions', $this->journals->count()
|
||||
);
|
||||
|
||||
return $this->view('emails.report-new-journals-html')->text('emails.report-new-journals-text')
|
||||
->subject('Firefly III has created new transactions');
|
||||
->subject($subject);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user