mail templates refactored for chinese lang
This commit is contained in:
@ -239,43 +239,43 @@
|
||||
<tr>
|
||||
@stack('name_th_start')
|
||||
@if (! $hideItems || (! $hideName && ! $hideDescription))
|
||||
<th class="item text font-semibold text-alignment-left text-left">
|
||||
<td class="item text font-semibold text-alignment-left text-left">
|
||||
{{ (trans_choice($textItems, 2) != $textItems) ? trans_choice($textItems, 2) : trans($textItems) }}
|
||||
</th>
|
||||
</td>
|
||||
@endif
|
||||
@stack('name_th_end')
|
||||
|
||||
@stack('quantity_th_start')
|
||||
@if (! $hideQuantity)
|
||||
<th class="quantity text font-semibold text-alignment-right text-right">
|
||||
<td class="quantity text font-semibold text-alignment-right text-right">
|
||||
{{ trans($textQuantity) }}
|
||||
</th>
|
||||
</td>
|
||||
@endif
|
||||
@stack('quantity_th_end')
|
||||
|
||||
@stack('price_th_start')
|
||||
@if (! $hidePrice)
|
||||
<th class="price text font-semibold text-alignment-right text-right">
|
||||
<td class="price text font-semibold text-alignment-right text-right">
|
||||
{{ trans($textPrice) }}
|
||||
</th>
|
||||
</td>
|
||||
@endif
|
||||
@stack('price_th_end')
|
||||
|
||||
@if (! $hideDiscount)
|
||||
@if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both']))
|
||||
@stack('discount_td_start')
|
||||
<th class="discount text font-semibold text-alignment-right text-right">
|
||||
<td class="discount text font-semibold text-alignment-right text-right">
|
||||
{{ trans('invoices.discount') }}
|
||||
</th>
|
||||
</td>
|
||||
@stack('discount_td_end')
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@stack('total_th_start')
|
||||
@if (! $hideAmount)
|
||||
<th class="total text font-semibold text-alignment-right text-right">
|
||||
<td class="total text font-semibold text-alignment-right text-right">
|
||||
{{ trans($textAmount) }}
|
||||
</th>
|
||||
</td>
|
||||
@endif
|
||||
@stack('total_th_end')
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user