23-01-2026
This commit is contained in:
parent
a939cd51ef
commit
a8b395e20d
248 changed files with 29342 additions and 4805 deletions
|
|
@ -807,6 +807,42 @@
|
|||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- DHL Packstation/Paketbox --}}
|
||||
<div class="row mt-3">
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<hr>
|
||||
<h6 class="mb-2"><i class="fa fa-cube"></i> {{ __('payment.packstation_delivery') }}</h6>
|
||||
<p class="info-small mb-2">{{ __('payment.packstation_info') }}</p>
|
||||
</div>
|
||||
<div class="col-md-6 col-sm-6">
|
||||
<label class="mt-0 fs-14 fw-400" for="shipping_postnumber">{{ __('payment.dhl_postnumber') }} ({{ __('optional') }})</label>
|
||||
{!! Form::text('shipping_postnumber', $shopping_user->shipping_postnumber, ['class' => 'form-control '.($errors->has('shipping_postnumber') ? 'error' : ''), 'id'=>'shipping_postnumber', 'placeholder' => '12345678', 'maxlength' => '20']) !!}
|
||||
@if ($errors->has('shipping_postnumber'))
|
||||
<label for="shipping_postnumber" class="error text-danger small" style="display: block;">{{ $errors->first('shipping_postnumber') }}</label>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
{{-- Alert-Box für Packstation-Hinweis --}}
|
||||
<div class="row mt-2" id="packstation-hint" style="display: none;">
|
||||
<div class="col-md-12">
|
||||
<div class="alert alert-warning alert-dismissible show">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
<h6 class="alert-heading"><i class="fa fa-exclamation-triangle"></i> <strong>{{ __('payment.packstation_alert_title') }}</strong></h6>
|
||||
<hr>
|
||||
<p class="mb-2"><strong>{{ __('payment.packstation_alert_intro') }}</strong></p>
|
||||
<ul class="mb-2 pl-3">
|
||||
<li><strong>{{ __('Street') }} / {{ __('House number') }}:</strong> {{ __('payment.packstation_alert_street') }} <em>({{ __('payment.packstation_alert_street_example') }})</em></li>
|
||||
<li><strong>{{ __('Postcode') }} / {{ __('City') }}:</strong> {{ __('payment.packstation_alert_location') }} <em>({{ __('payment.packstation_alert_not_home') }})</em></li>
|
||||
</ul>
|
||||
<p class="mb-0 small text-muted">
|
||||
<i class="fa fa-info-circle"></i> {{ __('payment.packstation_alert_footer') }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
{{-- /SHIPPING --}}
|
||||
|
|
@ -922,19 +958,33 @@
|
|||
<fieldset class="box-border-shadow p-20">
|
||||
<h4>{{ __('abo.abo_delivery') }}</h4>
|
||||
<hr>
|
||||
<p class="small mb-2">{{ __('abo.abo_order_info') }}</p>
|
||||
<em class="small mb-4">{!! __('abo.abo_order_info_check') !!}</em>
|
||||
<hr style="margin-top: 10px; margin-bottom: 10px; border-color: #b4b4b4; border-width: 1px;">
|
||||
|
||||
<em class="small font-weight-bold mb-4">{!! __('abo.abo_order_info_check_2') !!}</em>
|
||||
<hr style="margin-top: 10px; margin-bottom: 10px; border-color: #b4b4b4; border-width: 1px;">
|
||||
<em class="small mb-4">{!! __('abo.abo_order_info_check_3', ['abo-min-duration' => \App\Models\Setting::getContentBySlug('abo-min-duration')]) !!}</em>
|
||||
<hr>
|
||||
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right small text-right">
|
||||
<div class="no-line-break"><strong> {{ now()->format('d.m.Y') }}</strong></div>
|
||||
</span>
|
||||
<span class="pull-left small"><strong>{{ __('abo.abo_start_date') }}:</strong></span>
|
||||
<span class="pull-left small"><strong>{{ __('abo.abo_first_execution_date') }}:</strong></span>
|
||||
</div>
|
||||
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right small text-right">
|
||||
<div class="no-line-break"><strong> {{ HTMLHelper::getAboStrLang($abo_interval) }}</strong></div>
|
||||
</span>
|
||||
<span class="pull-left small"><strong>{{ __('abo.abo_delivery_intervall') }}:</strong></span>
|
||||
</div>
|
||||
<div class="clearfix mb-2">
|
||||
<span class="pull-right small text-right">
|
||||
<div class="no-line-break"><strong> {{ HTMLHelper::getAboFirstExecutionDate(now(), $abo_interval) }}</strong></div>
|
||||
</span>
|
||||
<span class="pull-left small"><strong>{{ __('abo.abo_next_execution_date') }}:</strong></span>
|
||||
</div>
|
||||
</fieldset>
|
||||
@endif
|
||||
{{-- ABO INFOS END --}}
|
||||
|
|
@ -1315,6 +1365,22 @@
|
|||
jQuery('input[name="payment_method"]').on('change', function () {
|
||||
showSEPAPayment($(this).val());
|
||||
});
|
||||
|
||||
// Packstation/Paketbox Hinweis
|
||||
function togglePackstationHint() {
|
||||
var postnumber = $('#shipping_postnumber').val();
|
||||
if (postnumber && postnumber.trim().length > 0) {
|
||||
$('#packstation-hint').slideDown(200);
|
||||
} else {
|
||||
$('#packstation-hint').slideUp(200);
|
||||
}
|
||||
}
|
||||
// Initial check
|
||||
togglePackstationHint();
|
||||
// On input
|
||||
$('#shipping_postnumber').on('input', function() {
|
||||
togglePackstationHint();
|
||||
});
|
||||
</script>
|
||||
|
||||
@endsection
|
||||
Loading…
Add table
Add a link
Reference in a new issue