45 lines
2 KiB
PHP
45 lines
2 KiB
PHP
{!! Form::open(['url' => route('admin_payments_credit'), 'class' => 'modal-content form-prevent-multiple-submits', 'enctype' => 'multipart/form-data']) !!}
|
||
<div class="modal-header">
|
||
<h5 class="modal-title">
|
||
{{ __('Gutschrift') }}
|
||
<span class="font-weight-light">hinzufügen</span>
|
||
</h5>
|
||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>
|
||
</div>
|
||
<div class="modal-body">
|
||
<input type="hidden" name="action" value="{{$data['action']}}">
|
||
<input type="hidden" name="id" value="{{$data['id']}}">
|
||
|
||
|
||
<div class="form-row">
|
||
<div class="form-group col-12">
|
||
<label for="member_id" class="form-label">{{ __('Vertriebspartner auswählen') }}*</label>
|
||
<select class="selectpicker" name="member_id" data-style="btn-light" data-live-search="true" required>
|
||
{!! HTMLHelper::getMembersOptions(0, true) !!}
|
||
</select>
|
||
</div>
|
||
|
||
<div class="form-group col-12">
|
||
<label class="form-label" for="credit">{{ __('Betrag') }} netto*</label>
|
||
{{ Form::text('credit', '', array('placeholder'=>__('in Euro'), 'class'=>'form-control', 'required'=>true)) }}
|
||
</div>
|
||
|
||
<div class="form-group col-12">
|
||
<label class="form-label" for="message">{{ __('Mitteilung') }}*</label>
|
||
{{ Form::textarea('message', '' , array('placeholder'=>__('Mitteilung'), 'class'=>'form-control', 'rows'=>4, 'required'=>true)) }}
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
<div class="modal-footer">
|
||
<button type="button" class="btn btn-default" data-dismiss="modal">schließen</button>
|
||
<button type="submit" class="btn btn-primary button-prevent-multiple-submits">{{__('Gutschrift hinzufügen')}}</button>
|
||
|
||
</div>
|
||
{!! Form::close() !!}
|
||
|
||
<script type="text/javascript">
|
||
$( document ).ready(function() {
|
||
|
||
});
|
||
</script>
|