mail templates refactored for chinese lang

This commit is contained in:
Burak Civan
2022-09-06 11:33:16 +03:00
parent 6d32c6c155
commit c1f6d2d0bb
9 changed files with 149 additions and 143 deletions

View File

@ -5,14 +5,14 @@
@stack('from_account_id_start')
<tr>
<td style="width: 60%; padding: 0 0 15px 0;">
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
<div class="mb-1 font-semibold" style="font-size: 14px; margin-bottom: 15px;">
{{ trans('transfers.from_account') }}
</h2>
</div>
<table>
@stack('from_account_name_input_start')
<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('accounts.account_name') }}
</td>
@ -26,7 +26,7 @@
<table>
@stack('from_account_number_input_start')
<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('accounts.number') }}
</td>
@ -41,7 +41,7 @@
<table>
@stack('from_account_bank_name_input_start')
<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('accounts.bank_name') }}
</td>
@ -57,7 +57,7 @@
<table>
@stack('from_account_phone_input_start')
<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>
@ -73,7 +73,7 @@
<table>
@stack('from_account_address_input_start')
<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>
@ -97,14 +97,14 @@
@stack('to_account_id_start')
<tr>
<td style="width: 60%; padding: 0 0 15px 0;">
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
<div class="mb-1 font-semibold" style="font-size: 14px; margin-bottom: 15px;">
{{ trans('transfers.to_account') }}
</h2>
</div>
<table>
@stack('to_account_name_input_start')
<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('accounts.account_name') }}
</td>
@ -118,7 +118,7 @@
<table>
@stack('to_account_number_input_start')
<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('accounts.number') }}
</td>
@ -133,7 +133,7 @@
<table>
@stack('to_account_bank_name_input_start')
<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('accounts.bank_name') }}
</td>
@ -149,7 +149,7 @@
<table>
@stack('to_account_phone_input_start')
<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>
@ -165,7 +165,7 @@
<table>
@stack('to_account_address_input_start')
<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>
@ -187,9 +187,9 @@
<table style="margin-top:15px;">
<tr>
<td style="padding:0 0 15px 0;">
<h2 class="text-left text-uppercase" style="font-size: 14px; font-weight:600;">
<div class="text-left text-uppercase font-semibold" style="font-size: 14px;">
{{ trans_choice('transfers.details', 2) }}
</h2>
</div>
</td>
</tr>
</table>
@ -197,7 +197,7 @@
<table class="border-bottom-1" style="padding-bottom:15px;">
@stack('transferred_at_input_start')
<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.date') }}
</td>
@ -209,7 +209,7 @@
@stack('payment_method_input_start')
<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('general.payment_methods', 1) }}
</td>
@ -225,7 +225,7 @@
@stack('reference_input_start')
<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.reference') }}
</td>
@ -237,7 +237,7 @@
@stack('description_input_start')
<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.description') }}
</td>
@ -261,11 +261,11 @@
<table>
@stack('amount_input_start')
<tr>
<td valign="center" style="width: 80%; padding:0; font-size: 14px; font-weight:600; color:#ffffff;">
{{ trans('general.amount') }}
</td>
<td valign="center" class="font-semibold" style="padding:0; font-size: 14px; color:#ffffff;">
<span class="ml-2">
{{ trans('general.amount') }}
</span>
<td valign="center" style="width: 20%; padding:0; font-size: 14px; color:#ffffff;">
<x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" convert />
</td>
</tr>

View File

@ -3,9 +3,9 @@
<table style="width: 100%;">
<tr>
<td style="padding:0 0 15px 0;">
<h2 class="text-left" style="font-size: 14px; font-weight:600;">
<div class="text-left font-semibold" style="font-size: 14px;">
{{ trans_choice('transfers.details', 2) }}
</h2>
</div>
</td>
</tr>
</table>
@ -13,7 +13,7 @@
<table>
@stack('transferred_at_input_start')
<tr>
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; font-weight:600; border-bottom:1px solid #adadad;">
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; border-bottom:1px solid #adadad;">
{{ trans('general.date') }}
</td>
@ -25,7 +25,7 @@
@stack('payment_method_input_start')
<tr>
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; font-weight:600; border-bottom:1px solid #adadad;">
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; border-bottom:1px solid #adadad;">
{{ trans_choice('general.payment_methods', 1) }}
</td>
@ -41,7 +41,7 @@
@stack('reference_input_start')
<tr>
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; font-weight:600; border-bottom:1px solid #adadad;">
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; border-bottom:1px solid #adadad;">
{{ trans('general.reference') }}
</td>
@ -53,7 +53,7 @@
@stack('description_input_start')
<tr>
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; font-weight:600; border-bottom:1px solid #adadad;">
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; border-bottom:1px solid #adadad;">
{{ trans('general.description') }}
</td>
@ -71,14 +71,14 @@
@stack('from_account_id_start')
<tr>
<td class="border-bottom-1 border-top-1" style="width: 60%; padding: 15px 0 15px 0;">
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
<div class="mb-1 font-semibold" style="font-size: 14px; margin-bottom: 15px;">
{{ trans('transfers.from_account') }}
</h2>
</div>
<table>
@stack('from_account_name_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('accounts.account_name') }}
</td>
@ -92,7 +92,7 @@
<table>
@stack('from_account_number_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('accounts.number') }}
</td>
@ -107,7 +107,7 @@
<table>
@stack('from_account_bank_name_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('accounts.bank_name') }}
</td>
@ -123,7 +123,7 @@
<table>
@stack('from_account_phone_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('general.phone') }}
</td>
@ -139,7 +139,7 @@
<table>
@stack('from_account_address_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('general.address') }}
</td>
@ -163,14 +163,14 @@
@stack('to_account_id_start')
<tr>
<td style="width: 60%; padding: 0 0 15px 0;">
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
<div class="mb-1 font-semibold" style="font-size: 14px; margin-bottom: 15px;">
{{ trans('transfers.to_account') }}
</h2>
</div>
<table>
@stack('to_account_name_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('accounts.number') }}
</td>
@ -184,7 +184,7 @@
<table>
@stack('to_account_number_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('accounts.number') }}
</td>
@ -199,7 +199,7 @@
<table>
@stack('to_account_bank_name_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('accounts.bank_name') }}
</td>
@ -215,7 +215,7 @@
<table>
@stack('to_account_phone_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('general.phone') }}
</td>
@ -231,7 +231,7 @@
<table>
@stack('to_account_address_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('general.address') }}
</td>
@ -257,11 +257,11 @@
<table>
@stack('amount_input_start')
<tr>
<td valign="center" style="width: 80%; padding:0; font-size: 14px; font-weight:600;">
{{ trans('general.amount') }}
</td>
<td valign="center" class="font-semibold" style="padding:0; font-size: 14px;">
<span class="ml-2">
{{ trans('general.amount') }}
</span>
<td valign="center" style="width: 20%; padding:0; font-size: 14px;">
<x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" convert />
</td>
</tr>

View File

@ -9,14 +9,14 @@
@stack('from_account_id_start')
<tr>
<td style="padding:0;">
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
<div class="mb-1 font-semibold" style="font-size: 14px; margin-bottom: 15px;">
{{ trans('transfers.from_account') }}
</h2>
</div>
<table>
@stack('from_account_name_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('accounts.account_name') }}
</td>
@ -30,7 +30,7 @@
<table>
@stack('from_account_number_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('accounts.number') }}
</td>
@ -45,7 +45,7 @@
<table>
@stack('from_account_bank_name_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('accounts.bank_name') }}
</td>
@ -61,7 +61,7 @@
<table>
@stack('from_account_phone_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('general.phone') }}
</td>
@ -77,7 +77,7 @@
<table>
@stack('from_account_address_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('general.address') }}
</td>
@ -103,14 +103,14 @@
@stack('to_account_id_start')
<tr>
<td style="padding:0;">
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
<div class="mb-1 font-semibold" style="font-size: 14px; margin-bottom: 15px;">
{{ trans('transfers.to_account') }}
</h2>
</div>
<table>
@stack('to_account_name_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('accounts.account_name') }}
</td>
@ -124,7 +124,7 @@
<table>
@stack('to_account_number_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('accounts.number') }}
</td>
@ -139,7 +139,7 @@
<table>
@stack('to_account_bank_name_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('accounts.bank_name') }}
</td>
@ -155,7 +155,7 @@
<table>
@stack('to_account_phone_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('general.phone') }}
</td>
@ -171,7 +171,7 @@
<table>
@stack('to_account_address_input_start')
<tr>
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
<td class="font-semibold" style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
{{ trans('general.address') }}
</td>
@ -197,9 +197,9 @@
<table style="width: 100%; margin-top:15px;">
<tr>
<td style="padding:0 0 15px 0;">
<h2 class="text-left text-uppercase" style="font-size: 14px; font-weight:600;">
<div class="text-left text-uppercase font-semibold" style="font-size: 14px;">
{{ trans_choice('transfers.details', 2) }}
</h2>
</div>
</td>
</tr>
</table>
@ -207,7 +207,7 @@
<table>
@stack('transferred_at_input_start')
<tr>
<td valign="top" style="width: 30%; margin: 0px; padding: 0; font-size: 12px; font-weight:600; line-height: 24px;">
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 0; font-size: 12px; line-height: 24px;">
{{ trans('general.date') }}
</td>
@ -219,7 +219,7 @@
@stack('payment_method_input_start')
<tr>
<td valign="top" style="width: 30%; margin: 0px; padding: 0; font-size: 12px; font-weight:600; line-height: 24px;">
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 0; font-size: 12px; line-height: 24px;">
{{ trans_choice('general.payment_methods', 1) }}
</td>
@ -235,7 +235,7 @@
@stack('reference_input_start')
<tr>
<td valign="top" style="width: 30%; margin: 0px; padding: 0; font-size: 12px; font-weight:600; line-height: 24px;">
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 0; font-size: 12px; line-height: 24px;">
{{ trans('general.reference') }}
</td>
@ -247,7 +247,7 @@
@stack('description_input_start')
<tr>
<td valign="top" style="width: 30%; margin: 0px; padding: 0; font-size: 12px; font-weight:600; line-height: 24px;">
<td valign="top" class="font-semibold" style="width: 30%; margin: 0px; padding: 0; font-size: 12px; line-height: 24px;">
{{ trans('general.description') }}
</td>
@ -271,11 +271,11 @@
<table>
@stack('amount_input_start')
<tr>
<td valign="center" style="width: 80%; padding:0; font-size: 14px; font-weight:600;">
{{ trans('general.amount') }}
</td>
<td valign="center" class="font-semibold" style="width: 80%; padding:0; font-size: 14px;">
<span class="ml-2">
{{ trans('general.amount') }}
</span>
<td valign="center" style="width: 20%; padding:0; font-size: 14px;">
<x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" convert />
</td>
</tr>