105 lines
6 KiB
PHP
Executable file
105 lines
6 KiB
PHP
Executable file
@extends('layouts.layout-2')
|
|
|
|
@section('content')
|
|
<h4 class="font-weight-bold py-2 mb-2">
|
|
{{ __('Einstellungen') }}
|
|
</h4>
|
|
{!! Form::open(['url' => route('admin_setting_store'), 'class' => 'form-horizontal']) !!}
|
|
|
|
<div class="card mb-2">
|
|
<div class="card-body">
|
|
<h4>Vorkasse Infos</h4>
|
|
<div class="form-row">
|
|
<div class="form-group col-sm-12">
|
|
<label class="form-label">{{ __('Kontoinhaber') }}*</label>
|
|
{{ Form::text('settings[prepayment-account-owner][val]', \App\Models\Setting::getContentBySlug('prepayment-account-owner'), array('class'=>'form-control')) }}
|
|
{{ Form::hidden('settings[prepayment-account-owner][type]', 'text') }}
|
|
</div>
|
|
<div class="form-group col-sm-12">
|
|
<label class="form-label">{{ __('IBAN') }}*</label>
|
|
{{ Form::text('settings[prepayment-iban][val]', \App\Models\Setting::getContentBySlug('prepayment-iban'), array('class'=>'form-control')) }}
|
|
{{ Form::hidden('settings[prepayment-iban][type]', 'text') }}
|
|
</div>
|
|
<div class="form-group col-sm-12">
|
|
<label class="form-label">{{ __('BIC') }}*</label>
|
|
{{ Form::text('settings[prepayment-bic][val]', \App\Models\Setting::getContentBySlug('prepayment-bic'), array('class'=>'form-control')) }}
|
|
{{ Form::hidden('settings[prepayment-bic][type]', 'text') }}
|
|
</div>
|
|
<div class="form-group col-sm-12">
|
|
<label class="form-label">{{ __('Bank') }}*</label>
|
|
{{ Form::text('settings[prepayment-bank][val]', \App\Models\Setting::getContentBySlug('prepayment-bank'), array('class'=>'form-control')) }}
|
|
{{ Form::hidden('settings[prepayment-bank][type]', 'text') }}
|
|
</div>
|
|
</div>
|
|
<button type="submit" name="action" value="save_prepayment" class="btn btn-primary btn-sm mb-2"><i class="ion ion-ios-save"></i> speichern</button>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="card mb-2">
|
|
<div class="card-body">
|
|
<h4>Rechnungen Einstellungen</h4>
|
|
<div class="form-row">
|
|
<div class="form-group col-sm-12">
|
|
<label class="form-label">{{ __('nächste Rechnungsnummer') }}*</label>
|
|
{{ Form::text('settings[invoice-number][val]', \App\Models\Setting::getContentBySlug('invoice-number'), array('class'=>'form-control')) }}
|
|
{{ Form::hidden('settings[invoice-number][type]', 'int') }}
|
|
</div>
|
|
</div>
|
|
<div class="form-row">
|
|
<div class="form-group col-sm-12">
|
|
<label class="form-label">{{ __('nächste Gutschriftsnummer') }}*</label>
|
|
{{ Form::text('settings[credit-number][val]', \App\Models\Setting::getContentBySlug('credit-number'), array('class'=>'form-control')) }}
|
|
{{ Form::hidden('settings[credit-number][type]', 'int') }}
|
|
</div>
|
|
</div>
|
|
<button type="submit" name="action" value="save_prepayment" class="btn btn-primary btn-sm mb-2"><i class="ion ion-ios-save"></i> speichern</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card mb-2">
|
|
<div class="card-body">
|
|
<h4>Bestellungen Einstellungen</h4>
|
|
<div class="form-row">
|
|
<div class="form-group col-sm-12">
|
|
<label class="form-label">{{ __('Pending in Tagen nach Versand für die Partner Provision') }}*</label>
|
|
{{ Form::text('settings[pending_partner_commissions_in_days][val]', \App\Models\Setting::getContentBySlug('pending_partner_commissions_in_days'), array('class'=>'form-control')) }}
|
|
{{ Form::hidden('settings[pending_partner_commissions_in_days][type]', 'int') }}
|
|
</div>
|
|
</div>
|
|
<button type="submit" name="action" value="save_prepayment" class="btn btn-primary btn-sm mb-2"><i class="ion ion-ios-save"></i> speichern</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card mb-2">
|
|
<div class="card-body">
|
|
<h4>Kauf Einstellungen</h4>
|
|
<div class="form-row">
|
|
<div class="form-group col-sm-12">
|
|
|
|
<label class="custom-control custom-checkbox mt-2">
|
|
{!! Form::checkbox('settings[order_partner_is_comp_me][val]', 1, \App\Models\Setting::getContentBySlug('order_partner_is_comp_me'), ['class'=>'custom-control-input']) !!}
|
|
<span class="custom-control-label">Kompensationprodukt bei Beraterbestellungen für sich</span>
|
|
</label>
|
|
{{ Form::hidden('settings[order_partner_is_comp_me][type]', 'bool') }}
|
|
|
|
<label class="custom-control custom-checkbox mt-3">
|
|
{!! Form::checkbox('settings[order_partner_is_comp_ot][val]', 1, \App\Models\Setting::getContentBySlug('order_partner_is_comp_ot'), ['class'=>'custom-control-input']) !!}
|
|
<span class="custom-control-label">Kompensationprodukt bei Beraterbestellungen für Kunden</span>
|
|
</label>
|
|
{{ Form::hidden('settings[order_partner_is_comp_ot][type]', 'bool') }}
|
|
</div>
|
|
|
|
<div class="form-group col-sm-12">
|
|
<label class="form-label">{{ __('Beschreibung Kompensationprodukt, wird als Subline angezeigt.') }}</label>
|
|
{!! Form::textarea('settings[order_partner_comp_text][val]', \App\Models\Setting::getContentBySlug('order_partner_comp_text'), array('class'=>'form-control', 'rows'=>3)) !!}
|
|
{{ Form::hidden('settings[order_partner_comp_text][type]', 'full_text') }}
|
|
</div>
|
|
</div>
|
|
<button type="submit" name="action" value="save_prepayment" class="btn btn-primary btn-sm mb-2"><i class="ion ion-ios-save"></i> speichern</button>
|
|
</div>
|
|
</div>
|
|
|
|
{!! Form::close() !!}
|
|
|
|
@endsection
|