<p>{!! sprintf(__('sales/customer_transfer.text_mail_text_0'),$customer_transfer->customer->name) !!}</p>
<p>@lang('sales/customer_transfer.text_mail_text_1')</p>
<span>
@if($customer_transfer->document_type2 == 'invoice')
{!! sprintf(__('sales/customer_transfer.text_mail_text_2'),$customer_transfer->name,\App\Helpers\Helper::convertSqlToDateTime($customer_transfer->date),money($customer_transfer->amount_total,$customer_transfer->currency->code,true),$customer_transfer->currency->code) !!}
@else
{!! sprintf(__('sales/customer_transfer.text_mail_text_2_2'),$customer_transfer->name,\App\Helpers\Helper::convertSqlToDateTime($customer_transfer->date)) !!}
@endif
</span>