{{ __('finance.title') }}

{{ __('finance.subtitle') }}

{{-- What is still missing before anything may be issued. An invoice without a name, an address or a VAT number is not a valid invoice, and issuing one is worse than refusing to. --}} @if ($missing !== []) {{ __('finance.incomplete', ['fields' => collect($missing)->map(fn ($f) => __('finance.field.'.$f))->join(', ')]) }} @endif

{{ __('finance.company_title') }}

{{ __('finance.company_sub') }}

{{ __('finance.hint.tax_rate') }}

@error('taxRate')

{{ $message }}

@enderror
{{-- The logo. Replaceable, because a company changes its mark and every invoice rendered after that has to carry the new one — while every invoice already issued keeps the one it was issued with, because the path is copied into the document at issue. --}}
@if ($logo) @elseif ($logoPath) @else @endif

{{ __('finance.hint.logo') }}

@error('logo')

{{ $message }}

@enderror @if ($logoPath) @endif
{{ __('finance.save') }}
{{-- Where copies go. As many as somebody wants, because the reason for having a second is that the first can fail. --}}

{{ __('finance.targets_title') }}

{{ __('finance.targets_sub') }}

{{ __('finance.targets_add') }}
@if ($targets->isEmpty())

{{ __('finance.targets_empty') }}

@else @endif
{{-- The Rechnungskreise. Each has its own prefix and its own gapless counter — a credit note is not an invoice with a minus sign. --}}

{{ __('finance.series_title') }}

{{ __('finance.series_sub') }}

@foreach ($series as $row) @endforeach
{{ __('finance.series.name') }} {{ __('finance.series.prefix') }} {{ __('finance.series.next') }} {{ __('finance.series.reset') }} {{ __('finance.series.actions') }}
{{ $row->name }} {{ $row->prefix }} {{ str_pad((string) $row->next_number, $row->digits, '0', STR_PAD_LEFT) }} {{ $row->yearly_reset ? __('finance.series.reset_yearly') : __('finance.series.reset_never') }} {{ __('finance.series.edit') }}