|
@@ -152,8 +152,8 @@
|
|
|
<strong>{{ $invoice->status }}</strong>
|
|
|
</h4>
|
|
|
@endif
|
|
|
- <p>{{ __('invoices::invoice.serial') }} <strong>{{ $invoice->getSerialNumber() }}</strong></p>
|
|
|
- <p>{{ __('invoices::invoice.date') }}: <strong>{{ $invoice->getDate() }}</strong></p>
|
|
|
+ <p>{{ trans('invoices::invoice.serial') }} <strong>{{ $invoice->getSerialNumber() }}</strong></p>
|
|
|
+ <p>{{ trans('invoices::invoice.date') }}: <strong>{{ $invoice->getDate() }}</strong></p>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
@@ -164,11 +164,11 @@
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th class="border-0 pl-0 party-header" width="48.5%">
|
|
|
- {{ __('invoices::invoice.seller') }}
|
|
|
+ {{ trans('invoices::invoice.seller') }}
|
|
|
</th>
|
|
|
<th class="border-0" width="3%"></th>
|
|
|
<th class="border-0 pl-0 party-header">
|
|
|
- {{ __('invoices::invoice.buyer') }}
|
|
|
+ {{ trans('invoices::invoice.buyer') }}
|
|
|
</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
@@ -183,25 +183,25 @@
|
|
|
|
|
|
@if($invoice->seller->address)
|
|
|
<p class="seller-address">
|
|
|
- {{ __('invoices::invoice.address') }}: {{ $invoice->seller->address }}
|
|
|
+ {{ trans('invoices::invoice.address') }}: {{ $invoice->seller->address }}
|
|
|
</p>
|
|
|
@endif
|
|
|
|
|
|
@if($invoice->seller->code)
|
|
|
<p class="seller-code">
|
|
|
- {{ __('invoices::invoice.code') }}: {{ $invoice->seller->code }}
|
|
|
+ {{ trans('invoices::invoice.code') }}: {{ $invoice->seller->code }}
|
|
|
</p>
|
|
|
@endif
|
|
|
|
|
|
@if($invoice->seller->vat)
|
|
|
<p class="seller-vat">
|
|
|
- {{ __('invoices::invoice.vat') }}: {{ $invoice->seller->vat }}
|
|
|
+ {{ trans('invoices::invoice.vat') }}: {{ $invoice->seller->vat }}
|
|
|
</p>
|
|
|
@endif
|
|
|
|
|
|
@if($invoice->seller->phone)
|
|
|
<p class="seller-phone">
|
|
|
- {{ __('invoices::invoice.phone') }}: {{ $invoice->seller->phone }}
|
|
|
+ {{ trans('invoices::invoice.phone') }}: {{ $invoice->seller->phone }}
|
|
|
</p>
|
|
|
@endif
|
|
|
|
|
@@ -221,25 +221,25 @@
|
|
|
|
|
|
@if($invoice->buyer->address)
|
|
|
<p class="buyer-address">
|
|
|
- {{ __('invoices::invoice.address') }}: {{ $invoice->buyer->address }}
|
|
|
+ {{ trans('invoices::invoice.address') }}: {{ $invoice->buyer->address }}
|
|
|
</p>
|
|
|
@endif
|
|
|
|
|
|
@if($invoice->buyer->code)
|
|
|
<p class="buyer-code">
|
|
|
- {{ __('invoices::invoice.code') }}: {{ $invoice->buyer->code }}
|
|
|
+ {{ trans('invoices::invoice.code') }}: {{ $invoice->buyer->code }}
|
|
|
</p>
|
|
|
@endif
|
|
|
|
|
|
@if($invoice->buyer->vat)
|
|
|
<p class="buyer-vat">
|
|
|
- {{ __('invoices::invoice.vat') }}: {{ $invoice->buyer->vat }}
|
|
|
+ {{ trans('invoices::invoice.vat') }}: {{ $invoice->buyer->vat }}
|
|
|
</p>
|
|
|
@endif
|
|
|
|
|
|
@if($invoice->buyer->phone)
|
|
|
<p class="buyer-phone">
|
|
|
- {{ __('invoices::invoice.phone') }}: {{ $invoice->buyer->phone }}
|
|
|
+ {{ trans('invoices::invoice.phone') }}: {{ $invoice->buyer->phone }}
|
|
|
</p>
|
|
|
@endif
|
|
|
|
|
@@ -257,19 +257,19 @@
|
|
|
<table class="table table-items">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
- <th scope="col" class="border-0 pl-0">{{ __('invoices::invoice.description') }}</th>
|
|
|
+ <th scope="col" class="border-0 pl-0">{{ trans('invoices::invoice.description') }}</th>
|
|
|
@if($invoice->hasItemUnits)
|
|
|
- <th scope="col" class="text-center border-0">{{ __('invoices::invoice.units') }}</th>
|
|
|
+ <th scope="col" class="text-center border-0">{{ trans('invoices::invoice.units') }}</th>
|
|
|
@endif
|
|
|
- <th scope="col" class="text-center border-0">{{ __('invoices::invoice.quantity') }}</th>
|
|
|
- <th scope="col" class="text-right border-0">{{ __('invoices::invoice.price') }}</th>
|
|
|
+ <th scope="col" class="text-center border-0">{{ trans('invoices::invoice.quantity') }}</th>
|
|
|
+ <th scope="col" class="text-right border-0">{{ trans('invoices::invoice.price') }}</th>
|
|
|
@if($invoice->hasItemDiscount)
|
|
|
- <th scope="col" class="text-right border-0">{{ __('invoices::invoice.discount') }}</th>
|
|
|
+ <th scope="col" class="text-right border-0">{{ trans('invoices::invoice.discount') }}</th>
|
|
|
@endif
|
|
|
@if($invoice->hasItemTax)
|
|
|
- <th scope="col" class="text-right border-0">{{ __('invoices::invoice.tax') }}</th>
|
|
|
+ <th scope="col" class="text-right border-0">{{ trans('invoices::invoice.tax') }}</th>
|
|
|
@endif
|
|
|
- <th scope="col" class="text-right border-0 pr-0">{{ __('invoices::invoice.sub_total') }}</th>
|
|
|
+ <th scope="col" class="text-right border-0 pr-0">{{ trans('invoices::invoice.sub_total') }}</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
@@ -310,7 +310,7 @@
|
|
|
@if($invoice->hasItemOrInvoiceDiscount())
|
|
|
<tr>
|
|
|
<td colspan="{{ $invoice->table_columns - 2 }}" class="border-0"></td>
|
|
|
- <td class="text-right pl-0">{{ __('invoices::invoice.total_discount') }}</td>
|
|
|
+ <td class="text-right pl-0">{{ trans('invoices::invoice.total_discount') }}</td>
|
|
|
<td class="text-right pr-0">
|
|
|
{{ $invoice->formatCurrency($invoice->total_discount) }}
|
|
|
</td>
|
|
@@ -319,7 +319,7 @@
|
|
|
@if($invoice->taxable_amount)
|
|
|
<tr>
|
|
|
<td colspan="{{ $invoice->table_columns - 2 }}" class="border-0"></td>
|
|
|
- <td class="text-right pl-0">{{ __('invoices::invoice.taxable_amount') }}</td>
|
|
|
+ <td class="text-right pl-0">{{ trans('invoices::invoice.taxable_amount') }}</td>
|
|
|
<td class="text-right pr-0">
|
|
|
{{ $invoice->formatCurrency($invoice->taxable_amount) }}
|
|
|
</td>
|
|
@@ -328,7 +328,7 @@
|
|
|
@if($invoice->tax_rate)
|
|
|
<tr>
|
|
|
<td colspan="{{ $invoice->table_columns - 2 }}" class="border-0"></td>
|
|
|
- <td class="text-right pl-0">{{ __('invoices::invoice.tax_rate') }}</td>
|
|
|
+ <td class="text-right pl-0">{{ trans('invoices::invoice.tax_rate') }}</td>
|
|
|
<td class="text-right pr-0">
|
|
|
{{ $invoice->tax_rate }}%
|
|
|
</td>
|
|
@@ -337,7 +337,7 @@
|
|
|
@if($invoice->hasItemOrInvoiceTax())
|
|
|
<tr>
|
|
|
<td colspan="{{ $invoice->table_columns - 2 }}" class="border-0"></td>
|
|
|
- <td class="text-right pl-0">{{ __('invoices::invoice.total_taxes') }}</td>
|
|
|
+ <td class="text-right pl-0">{{ trans('invoices::invoice.total_taxes') }}</td>
|
|
|
<td class="text-right pr-0">
|
|
|
{{ $invoice->formatCurrency($invoice->total_taxes) }}
|
|
|
</td>
|
|
@@ -346,7 +346,7 @@
|
|
|
@if($invoice->shipping_amount)
|
|
|
<tr>
|
|
|
<td colspan="{{ $invoice->table_columns - 2 }}" class="border-0"></td>
|
|
|
- <td class="text-right pl-0">{{ __('invoices::invoice.shipping') }}</td>
|
|
|
+ <td class="text-right pl-0">{{ trans('invoices::invoice.shipping') }}</td>
|
|
|
<td class="text-right pr-0">
|
|
|
{{ $invoice->formatCurrency($invoice->shipping_amount) }}
|
|
|
</td>
|
|
@@ -354,7 +354,7 @@
|
|
|
@endif
|
|
|
<tr>
|
|
|
<td colspan="{{ $invoice->table_columns - 2 }}" class="border-0"></td>
|
|
|
- <td class="text-right pl-0">{{ __('invoices::invoice.total_amount') }}</td>
|
|
|
+ <td class="text-right pl-0">{{ trans('invoices::invoice.total_amount') }}</td>
|
|
|
<td class="text-right pr-0 total-amount">
|
|
|
{{ $invoice->formatCurrency($invoice->total_amount) }}
|
|
|
</td>
|
|
@@ -364,15 +364,15 @@
|
|
|
|
|
|
@if($invoice->notes)
|
|
|
<p>
|
|
|
- {{ __('invoices::invoice.notes') }}: {!! $invoice->notes !!}
|
|
|
+ {{ trans('invoices::invoice.notes') }}: {!! $invoice->notes !!}
|
|
|
</p>
|
|
|
@endif
|
|
|
|
|
|
<p>
|
|
|
- {{ __('invoices::invoice.amount_in_words') }}: {{ $invoice->getTotalAmountInWords() }}
|
|
|
+ {{ trans('invoices::invoice.amount_in_words') }}: {{ $invoice->getTotalAmountInWords() }}
|
|
|
</p>
|
|
|
<p>
|
|
|
- {{ __('invoices::invoice.pay_until') }}: {{ $invoice->getPayUntilDate() }}
|
|
|
+ {{ trans('invoices::invoice.pay_until') }}: {{ $invoice->getPayUntilDate() }}
|
|
|
</p>
|
|
|
|
|
|
<script type="text/php">
|