changed trans and trans_choice location..
This commit is contained in:
@ -54,7 +54,7 @@
|
||||
<div class="col-58">
|
||||
<div class="text company">
|
||||
@if (!$hideContactInfo)
|
||||
<strong>{{ $textContactInfo }}</strong>
|
||||
<strong>{{ trans($textContactInfo) }}</strong>
|
||||
<br>
|
||||
@endif
|
||||
|
||||
@ -104,7 +104,7 @@
|
||||
@stack('order_number_input_start')
|
||||
@if (!$hideOrderNumber)
|
||||
@if ($document->order_number)
|
||||
<strong>{{ $textOrderNumber }}:</strong>
|
||||
<strong>{{ trans($textOrderNumber) }}:</strong>
|
||||
<span class="float-right">{{ $document->order_number }}</span><br><br>
|
||||
@endif
|
||||
@endif
|
||||
@ -112,21 +112,21 @@
|
||||
|
||||
@stack('invoice_number_input_start')
|
||||
@if (!$hideDocumentNumber)
|
||||
<strong>{{ $textDocumentNumber }}:</strong>
|
||||
<strong>{{ trans($textDocumentNumber) }}:</strong>
|
||||
<span class="float-right">{{ $document->document_number }}</span><br><br>
|
||||
@endif
|
||||
@stack('invoice_number_input_end')
|
||||
|
||||
@stack('invoiced_at_input_start')
|
||||
@if (!$hideIssuedAt)
|
||||
<strong>{{ $textIssuedAt }}:</strong>
|
||||
<strong>{{ trans($textIssuedAt) }}:</strong>
|
||||
<span class="float-right">@date($document->issued_at)</span><br><br>
|
||||
@endif
|
||||
@stack('invoiced_at_input_end')
|
||||
|
||||
@stack('due_at_input_start')
|
||||
@if (!$hideDueAt)
|
||||
<strong>{{ $textDueAt }}:</strong>
|
||||
<strong>{{ trans($textDueAt) }}:</strong>
|
||||
<span class="float-right">@date($document->due_at)</span>
|
||||
@endif
|
||||
@stack('due_at_input_end')
|
||||
@ -142,19 +142,19 @@
|
||||
<tr>
|
||||
@stack('name_th_start')
|
||||
@if (!$hideItems || (!$hideName && !$hideDescription))
|
||||
<th class="item text-left text-white">{{ $textItems }}</th>
|
||||
<th class="item text-left text-white">{{ (trans_choice($textItems, 2) != $textItems) ? trans_choice($textItems, 2) : trans($textItems) }}</th>
|
||||
@endif
|
||||
@stack('name_th_end')
|
||||
|
||||
@stack('quantity_th_start')
|
||||
@if (!$hideQuantity)
|
||||
<th class="quantity text-white">{{ $textQuantity }}</th>
|
||||
<th class="quantity text-white">{{ trans($textQuantity) }}</th>
|
||||
@endif
|
||||
@stack('quantity_th_end')
|
||||
|
||||
@stack('price_th_start')
|
||||
@if (!$hidePrice)
|
||||
<th class="price text-white">{{ $textPrice }}</th>
|
||||
<th class="price text-white">{{ trans($textPrice) }}</th>
|
||||
@endif
|
||||
@stack('price_th_end')
|
||||
|
||||
@ -168,7 +168,7 @@
|
||||
|
||||
@stack('total_th_start')
|
||||
@if (!$hideAmount)
|
||||
<th class="total text-white">{{ $textAmount }}</th>
|
||||
<th class="total text-white">{{ trans($textAmount) }}</th>
|
||||
@endif
|
||||
@stack('total_th_end')
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user