Updates to 03-2025

This commit is contained in:
Kevin Adametz 2025-04-01 10:39:21 +02:00
parent 6167273a48
commit 9b54eb0512
348 changed files with 34535 additions and 5774 deletions

View file

@ -119,6 +119,40 @@
</div>
</div>
<!-- Modal template -->
<div class="modal fade" id="modal-user-vat-validation">
<div class="modal-dialog">
{!! Form::open(['url' => route('wizard_store_register', [1]), 'class' => 'modal-content']) !!}
<div class="modal-header">
<h5 class="modal-title">{{ __('account.new_vat_validate') }}</span></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>
</div>
<div class="modal-body">
<div class="form-row">
<div class="form-group col-12">
<p>{{ __('account.reverse_charge_copy_1') }}</p>
<p>{{ __('account.reverse_charge_note_1') }}</p>
</div>
<div class="form-group col-sm-12 {{ $errors->has('reverse_charge') ? 'has-error' : '' }}">
<label class="form-label" for="tax_identification_number">{{ __('account.VAT_ID_number') }} *</label>
{{ Form::text('tax_identification_number', $user->account-> tax_identification_number, array('placeholder'=>__('account.VAT_ID_number'), 'class'=>'form-control', 'id'=>'tax_identification_number', 'required'=>true)) }}
@if ($errors->has('reverse_charge'))
<span class="help-block">
<strong>{{ $errors->first('reverse_charge') }}</strong>
</span>
@endif
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">{{__('close')}}</button>
<button type="submit" class="btn btn-primary" name="action" value="reverse_charge_validate">{{ __('account.btn_vat_validate') }}n</button>
</div>
{!! Form::close() !!}
</div>
</div>
<link rel="stylesheet" href="{{ mix('/vendor/libs/smartwizard/smartwizard.css') }}">
<script src="{{ mix('/vendor/libs/smartwizard/smartwizard.js') }}"></script>
<script type="text/javascript">

View file

@ -43,7 +43,7 @@
<a href="#smartwizard-3-step-3" class="mb-3">
<span class="sw-done-icon ion ion-md-checkmark"></span>
<span class="sw-number">3</span>
Ausweis
Gewerbeschein
<div class="text-muted small">hochladen</div>
</a>
@ -52,15 +52,6 @@
<a href="#smartwizard-3-step-4" class="mb-3">
<span class="sw-done-icon ion ion-md-checkmark"></span>
<span class="sw-number">4</span>
Gewerbeschein
<div class="text-muted small">hochladen</div>
</a>
</li>
<li>
<a href="#smartwizard-3-step-5" class="mb-3">
<span class="sw-done-icon ion ion-md-checkmark"></span>
<span class="sw-number">5</span>
Registrierung
<div class="text-muted small">abschließen</div>
</a>
@ -89,6 +80,8 @@
{!! Form::close() !!}
</div>
</div>
{{--
<div id="smartwizard-3-step-3" class="card animated fadeIn">
<div class="card-body">
<div class="card mb-4">
@ -143,8 +136,9 @@
{!! Form::close() !!}
</div>
</div>
</div>
<div id="smartwizard-3-step-4" class="card animated fadeIn">
</div>
--}}
<div id="smartwizard-3-step-3" class="card animated fadeIn">
<div class="card-body">
<div class="card mb-4">
<h5 class="card-header">
@ -154,7 +148,7 @@
<div class="row">
<div class="col-sm-6">
<div class="mt-4">
{!! Form::open([ 'url' => route('wizard_store_register', [3]), 'method' => 'post', 'files' => true, 'enctype' => 'multipart/form-data', 'class' => 'dropzone', 'id' => 'businesslDropzone' ]) !!}
{!! Form::open([ 'url' => route('wizard_store_register', [2]), 'method' => 'post', 'files' => true, 'enctype' => 'multipart/form-data', 'class' => 'dropzone', 'id' => 'businesslDropzone' ]) !!}
<div class="fallback">
<input name="file" type="file" multiple>
</div>
@ -191,7 +185,7 @@
</div>
</div>
</div>
{!! Form::open(['url' => route('wizard_store_register', [3])]) !!}
{!! Form::open(['url' => route('wizard_store_register', [2])]) !!}
@php($business_license_choose = $user->account->getNotice('business_license'))
<div class="card-body pt-0">
<div class="row">
@ -231,10 +225,10 @@
</div>
</div>
</div>
<div id="smartwizard-3-step-5" class="card animated fadeIn">
<div id="smartwizard-3-step-4" class="card animated fadeIn">
<div class="card-body">
<h4>{{ trans('register.wizard_finish_hl') }}</h4>
{!! Form::open(['url' => route('wizard_store_register', [4])]) !!}
{!! Form::open(['url' => route('wizard_store_register', [3])]) !!}
@include('user.wizard._change')
<p>{{ trans('register.wizard_finish_line_1') }}.</p>
<button type="submit" name="submit" value="do" class="btn btn-primary">{{ __('Registrierung abschließen') }}</button>&nbsp;
@ -243,6 +237,49 @@
</div>
</div>
</div>
<!-- Modal template -->
<div class="modal fade" id="modal-user-vat-validation">
<div class="modal-dialog">
{!! Form::open(['url' => route('wizard_store_register', [1]), 'class' => 'modal-content']) !!}
<div class="modal-header">
<h5 class="modal-title">{{ __('account.new_vat_validate') }}</span></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>
</div>
<div class="modal-body">
<div class="form-row">
<div class="form-group col-12">
<p>{{ __('account.reverse_charge_copy_1') }}</p>
<p>{{ __('account.reverse_charge_note_1') }}</p>
</div>
<div class="form-group col-sm-12 {{ $errors->has('reverse_charge') ? 'has-error' : '' }}">
<label class="form-label" for="tax_identification_number">{{ __('account.VAT_ID_number') }} *</label>
{{ Form::text('tax_identification_number', $user->account-> tax_identification_number, array('placeholder'=>__('account.VAT_ID_number'), 'class'=>'form-control', 'id'=>'tax_identification_number', 'required'=>true)) }}
@if ($errors->has('reverse_charge'))
<span class="help-block">
<strong>{{ $errors->first('reverse_charge') }}</strong>
</span>
@endif
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">{{__('close')}}</button>
<button type="submit" class="btn btn-primary" name="action" value="reverse_charge_validate">{{ __('account.btn_vat_validate') }}n</button>
</div>
{!! Form::close() !!}
</div>
</div>
<div class="hidden">
{!! Form::open(['url' => route('wizard_store_register', [7]), 'id' => 'user-change-country']) !!}
<input type="hidden" name="user_country_id" id="user_country_id" value="">
{!! Form::close() !!}
</div>
@endsection
@section('scripts')
@ -261,6 +298,12 @@
showPreviousButton: false,
}
});
$('#lead-form-validation #country_id').on('change', function(e) {
var $country_id = $(this).val();
$('#user-change-country #user_country_id').val($country_id);
$('#user-change-country').submit();
});
});
var real_dropzone = {