mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-26 02:40:43 -06:00
21 lines
933 B
PHP
21 lines
933 B
PHP
@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->extension_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->extension_date->isoFormat(trans('config.month_and_day_js')) ]) }}
|
|
@endif
|
|
|
|
{{ trans('email.bill_warning_please_action') }}
|
|
|
|
@endcomponent
|