Steuerberater Modul tax

This commit is contained in:
Kevin Adametz 2026-05-08 15:34:57 +02:00
parent 0f82fea88a
commit 245c281541
22 changed files with 1489 additions and 139 deletions

View file

@ -23,8 +23,34 @@
{!! HTMLHelper::getAboDeliveryOptions($user_abo->abo_interval) !!}
</select>
</div>
@if($data['view'] === 'admin')
@php
$selectedNextMonth = $user_abo->getRawOriginal('next_date')
? \Carbon\Carbon::parse($user_abo->getRawOriginal('next_date'))->format('Y-m')
: now()->format('Y-m');
@endphp
<div class="col-sm-6">
<label for="abo_next_month" class="form-label">{{ __('validation.attributes.month') }}*</label>
<select class="custom-select" name="abo_next_month" id="abo_next_month" required>
@foreach(range(0, 3) as $monthOffset)
@php
$executionMonth = now()->copy()->startOfMonth()->addMonths($monthOffset);
@endphp
<option value="{{ $executionMonth->format('Y-m') }}" @if($executionMonth->format('Y-m') === $selectedNextMonth) selected @endif>
{{ \App\Services\HTMLHelper::getMonth($executionMonth->month) }} {{ $executionMonth->year }}
</option>
@endforeach
</select>
</div>
@endif
<div class="col-sm-12 mt-1">
<i class="text-muted">{{ __('abo.abo_copy_abo_interval') }}</i>
<i class="text-muted">
@if($data['view'] === 'admin')
{{ __('abo.admin_abo_copy_next_date') }}
@else
{{ __('abo.abo_copy_abo_interval') }}
@endif
</i>
</div>
</div>