mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Make email messages Markdown.
This commit is contained in:
20
resources/views/emails/bill-warning.blade.php
Normal file
20
resources/views/emails/bill-warning.blade.php
Normal file
@@ -0,0 +1,20 @@
|
||||
@component('mail::message')
|
||||
@if($field === 'end_date' && $diff !== 0)
|
||||
{{ trans('email.bill_warning_end_date', ['name' => $bill->name, 'date' => $bill->end_date->isoFormat(trans('config.month_and_day_js')), 'diff' => $diff]) }}
|
||||
@endif
|
||||
|
||||
@if($field === 'extension_date' && $diff !== 0)
|
||||
{{ trans('email.bill_warning_extension_date', ['name' => $bill->name, 'date' => $bill->end_date->isoFormat(trans('config.month_and_day_js')), 'diff' => $diff]) }}
|
||||
@endif
|
||||
|
||||
@if($field === 'end_date' && $diff === 0)
|
||||
{{ trans('email.bill_warning_end_date_zero', ['name' => $bill->name, 'date' => $bill->end_date->isoFormat(trans('config.month_and_day_js')) ]) }}
|
||||
@endif
|
||||
|
||||
@if($field === 'extension_date' && $diff === 0)
|
||||
{{ trans('email.bill_warning_extension_date_zero', ['name' => $bill->name, 'date' => $bill->end_date->isoFormat(trans('config.month_and_day_js')) ]) }}
|
||||
@endif
|
||||
|
||||
{{ trans('email.bill_warning_please_action') }}
|
||||
|
||||
@endcomponent
|
||||
Reference in New Issue
Block a user