Extend invoices and invoice items to keep more information.
This commit is contained in:
@@ -28,10 +28,17 @@
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="left" style="width: 110mm; height:15mm;">
|
||||
{{ __('invoice.Invoice Number short') }}: {{ $invoice->number }}
|
||||
@php
|
||||
$height = ($invoice->project) ? 25 : 15;
|
||||
@endphp
|
||||
<div class="left" style="width: 110mm; height:{{ $height }}mm;">
|
||||
{{ __('invoice.Invoice Number short') }}: {{ $invoice->number }}<br/>
|
||||
{{ \App\Enum\InvoiceTypeCode::label($invoice->type) }} {{ (in_array($invoice->type, ['326', '875'])) ? $invoice->project_count : '' }}
|
||||
@if($invoice->project)
|
||||
<br/>{{ $invoice->project->name }} - {{ __('project.Project Number') }}: {{ $invoice->project->project_number }}
|
||||
@endif
|
||||
</div>
|
||||
<div class="right" style=" width: 60mm; height:15mm;">
|
||||
<div class="right" style=" width: 60mm; height:{{ $height }}mm;">
|
||||
<div class="left">{{ __('common.Date') }}:</div>
|
||||
<div class="right text-right">{{ $invoice->created }}</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user