Abo Einmalprodukte und Bestätigung abschließen
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
2bdc9ada3c
commit
2269ce031f
57 changed files with 3647 additions and 371 deletions
56
resources/views/admin/abo/_confirm_add_modal.blade.php
Normal file
56
resources/views/admin/abo/_confirm_add_modal.blade.php
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
<div class="modal fade" id="modal-confirm-add" tabindex="-1" role="dialog" aria-labelledby="modal-confirm-add-label"
|
||||
aria-hidden="true" data-title-add="{{ __('abo.confirm_add_title_normal') }}"
|
||||
data-title-increase="{{ __('abo.confirm_increase_title') }}"
|
||||
data-info-add="{{ __('abo.confirm_add_info') }}"
|
||||
data-info-increase="{{ __('abo.confirm_increase_info') }}"
|
||||
data-per-delivery="{{ __('abo.confirm_per_delivery') }}"
|
||||
data-current-total="{{ $user_abo->getFormattedAmount() }}"
|
||||
data-next-billing-date="{{ $user_abo->next_date ?: __('abo.confirm_next_delivery_unknown') }}">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="modal-confirm-add-label"></h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="alert alert-info mb-3">
|
||||
<span id="confirm-add-info-text"></span>
|
||||
</div>
|
||||
<div class="font-weight-bold mb-2">{{ __('abo.confirm_article_details') }}</div>
|
||||
<table class="table table-sm mb-0">
|
||||
<tr>
|
||||
<td class="font-weight-bold">{{ __('order.article') }}:</td>
|
||||
<td id="confirm-add-product-name"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="font-weight-bold">{{ __('tables.quantity') }}:</td>
|
||||
<td id="confirm-add-qty-info"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="font-weight-bold">{{ __('abo.confirm_additional_costs') }}:</td>
|
||||
<td id="confirm-add-product-price"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="font-weight-bold">{{ __('abo.confirm_new_total') }}:</td>
|
||||
<td id="confirm-add-new-total"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<p class="small text-muted mb-0 mt-3">
|
||||
{!! __('abo.confirm_legal_notice', [
|
||||
'nextBillingDate' => '<span id="confirm-add-next-billing-date"></span>',
|
||||
'agb' => '<a href="'.url('/agb').'" target="_blank">'.__('abo.confirm_terms_link').'</a>',
|
||||
'withdrawal' => '<a href="'.asset('download/mivita_widerruf_formular.pdf').'" target="_blank">'.__('abo.confirm_withdrawal_link').'</a>',
|
||||
]) !!}
|
||||
</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default"
|
||||
data-dismiss="modal">{{ __('abo.confirm_add_cancel') }}</button>
|
||||
<button type="button" class="btn btn-primary"
|
||||
id="confirm-add-btn">{{ __('abo.confirm_add_ok') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue