mail templates refactored for chinese lang
This commit is contained in:
@ -59,9 +59,9 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width: 60%; padding: 15px 0 15px 0;">
|
||||
<h2 style="font-size: 12px; font-weight:600;">
|
||||
<div class="font-semibold" style="font-size: 12px;">
|
||||
{{ $textContentTitle != trans_choice($textContentTitle, 1) ? trans_choice($textContentTitle, 1) : trans($textContentTitle) }}
|
||||
</h2>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -71,7 +71,7 @@
|
||||
@stack('number_input_start')
|
||||
@if (! $hideNumber)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px;">
|
||||
{{ trans_choice($textNumber, 1) }}
|
||||
</td>
|
||||
|
||||
@ -85,7 +85,7 @@
|
||||
@stack('paid_at_input_start')
|
||||
@if (! $hidePaidAt)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px;">
|
||||
{{ trans($textPaidAt) }}
|
||||
</td>
|
||||
|
||||
@ -99,7 +99,7 @@
|
||||
@stack('account_id_input_start')
|
||||
@if (! $hideAccount)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px;">
|
||||
{{ trans_choice($textAccount, 1) }}
|
||||
</td>
|
||||
|
||||
@ -113,7 +113,7 @@
|
||||
@stack('category_id_input_start')
|
||||
@if (! $hideCategory)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px;">
|
||||
{{ trans_choice($textCategory, 1) }}
|
||||
</td>
|
||||
|
||||
@ -127,7 +127,7 @@
|
||||
@stack('payment_method_input_start')
|
||||
@if (! $hidePaymentMethods)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px;">
|
||||
{{ trans_choice($textPaymentMethods, 1) }}
|
||||
</td>
|
||||
|
||||
@ -141,7 +141,7 @@
|
||||
@stack('reference_input_start')
|
||||
@if (! $hideReference)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px;">
|
||||
{{ trans($textReference) }}
|
||||
</td>
|
||||
|
||||
@ -155,7 +155,7 @@
|
||||
@stack('description_input_start')
|
||||
@if (! $hideDescription)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px;">
|
||||
{{ trans($textDescription) }}
|
||||
</td>
|
||||
|
||||
@ -172,9 +172,9 @@
|
||||
<table class="border-top-1" style="margin-top:15px;">
|
||||
<tr>
|
||||
<td style="width: 60%; padding: 15px 0 15px 0;">
|
||||
<h2 style="font-size: 12px; font-weight:600;">
|
||||
<div class="font-semibold" style="font-size: 12px;">
|
||||
{{ trans($textPaidBy) }}
|
||||
</h2>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -183,8 +183,8 @@
|
||||
@if (! $hideContact)
|
||||
@if (! $hideContactInfo)
|
||||
<tr>
|
||||
<td style="margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
<strong>{{ trans($textContactInfo) }}</strong><br>
|
||||
<td class="font-semibold" style="margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ trans($textContactInfo) }}<br>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@ -192,7 +192,7 @@
|
||||
@stack('name_input_start')
|
||||
@if (! $hideContactName)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px;">
|
||||
{{ trans('general.name') }}
|
||||
</td>
|
||||
|
||||
@ -206,7 +206,7 @@
|
||||
@stack('address_input_start')
|
||||
@if (! $hideContactAddress)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px;">
|
||||
{{ trans('general.address') }}
|
||||
</td>
|
||||
|
||||
@ -220,7 +220,7 @@
|
||||
@stack('tax_number_input_start')
|
||||
@if (! $hideContactTaxNumber)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px;">
|
||||
{{ trans('general.tax_number') }}
|
||||
</td>
|
||||
|
||||
@ -236,7 +236,7 @@
|
||||
@stack('phone_input_start')
|
||||
@if (! $hideContactPhone)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px;">
|
||||
{{ trans('general.phone') }}
|
||||
</td>
|
||||
|
||||
@ -252,7 +252,7 @@
|
||||
@stack('email_start')
|
||||
@if (! $hideContactEmail)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px;">
|
||||
{{ trans('general.email') }}
|
||||
</td>
|
||||
|
||||
@ -274,9 +274,9 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="padding:15px 0 0 0;">
|
||||
<h2 style="font-size: 12px; font-weight:600; margin-bottom: 15px;">
|
||||
<div class="font-semibold" style="font-size: 12px; margin-bottom: 15px;">
|
||||
{{ trans($textRelatedTransansaction) }}
|
||||
</h2>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -284,7 +284,7 @@
|
||||
<table class="table" cellspacing="0" cellpadding="0" style="padding:15px 0 0 0;">
|
||||
<thead style="color:#424242; font-size:12px;">
|
||||
<tr class="border-bottom-1">
|
||||
<th class="item text-alignment-left text-left" style="padding:5px 0;">
|
||||
<td class="item text-alignment-left text-left font-semibold" style="padding:5px 0;">
|
||||
@if (! $hideRelatedDocumentNumber)
|
||||
<span style="font-size: 13px;">
|
||||
{{ trans_choice($textRelatedDocumentNumber, 1) }}
|
||||
@ -293,19 +293,19 @@
|
||||
@endif
|
||||
|
||||
@if (! $hideRelatedContact)
|
||||
<span style="font-weight:500;">
|
||||
<span>
|
||||
{{ trans_choice($textRelatedContact, 1) }}
|
||||
</span>
|
||||
@endif
|
||||
</th>
|
||||
</td>
|
||||
|
||||
@if (! $hideRelatedDocumentDate)
|
||||
<th class="price" style="padding:5px 0; text-align:center;">
|
||||
<td class="price font-semibold" style="padding:5px 0; text-align:center;">
|
||||
{{ trans($textRelatedDocumentDate) }}
|
||||
</th>
|
||||
</td>
|
||||
@endif
|
||||
|
||||
<th class="price text-alignment-right text-right" style="padding: 5px 0;">
|
||||
<td class="price text-alignment-right text-right font-semibold" style="padding: 5px 0;">
|
||||
@if (! $hideRelatedDocumentAmount)
|
||||
<span style="font-size: 13px;">
|
||||
{{ trans($textRelatedDocumentAmount) }}
|
||||
@ -314,11 +314,11 @@
|
||||
@endif
|
||||
|
||||
@if (! $hideRelatedAmount)
|
||||
<span style="font-weight:500;">
|
||||
<span>
|
||||
{{ trans($textRelatedAmount) }}
|
||||
</span>
|
||||
@endif
|
||||
</th>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@ -369,7 +369,7 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="center" style="font-size: 14px; color: #ffffff; padding: 0;">
|
||||
<span class="ml-2" style="font-weight: 600;">{{ trans($textAmount) }}</span>
|
||||
<span class="ml-2 font-semibold">{{ trans($textAmount) }}</span>
|
||||
@money($transaction->amount, $transaction->currency_code, true)
|
||||
</td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user