@extend('clientarea.layout')
@section('title')Sistem Ayarları - {{ beGetConfig('sitename') }}@endsection
@section('content')
<div class="card mb-3">
    <div class="card-header">
        <div>
            <span class="card-title"><i class="ri-notification-badge-line"></i> Sistem Ayarları</span>
        </div>
    </div>
    <div class="card-content">
        <form id="beSystemForm">
            <div class="row">
                <div class="col-12 mb-2">
                    <div class="form-check form-check-custom form-check-solid">
                        <input type="hidden" name="uiautopay" value="0">
                        <input class="form-check-input" type="checkbox" value="1" name="uiautopay" id="uiautopay"{{ $userinfo['uisettings']['order_auto_pay'] == 1 ? ' checked':'' }}>
                        <label class="form-check-label" for="uiautopay">
                            Seçtiğim hizmetlerdeki süre uzatım faturalarını otomatik olarak öde
                        </label>
                    </div>
                </div>
                <div class="col-12 mb-2">
                    <div class="form-check form-check-custom form-check-solid">
                    <input type="hidden" name="uisms" value="0">
                        <input class="form-check-input" type="checkbox" value="1" name="uisms" id="uisms"{{ $userinfo['uisettings']['sms_alert'] == 1 ? ' checked':'' }}>
                        <label class="form-check-label" for="uisms">
                            İşlemler için SMS bildirimi almak istiyorum
                            <a href="#">
                                <span class="text-danger">
                                    <svg width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                                        <path opacity="0.3" d="M4.7 17.3V7.7C4.7 6.59543 5.59543 5.7 6.7 5.7H9.8C10.2694 5.7 10.65 5.31944 10.65 4.85C10.65 4.38056 10.2694 4 9.8 4H5C3.89543 4 3 4.89543 3 6V19C3 20.1046 3.89543 21 5 21H18C19.1046 21 20 20.1046 20 19V14.2C20 13.7306 19.6194 13.35 19.15 13.35C18.6806 13.35 18.3 13.7306 18.3 14.2V17.3C18.3 18.4046 17.4046 19.3 16.3 19.3H6.7C5.59543 19.3 4.7 18.4046 4.7 17.3Z" fill="currentColor"></path>
                                        <rect x="21.9497" y="3.46448" width="13" height="2" rx="1" transform="rotate(135 21.9497 3.46448)" fill="currentColor"></rect>
                                        <path d="M19.8284 4.97161L19.8284 9.93937C19.8284 10.5252 20.3033 11 20.8891 11C21.4749 11 21.9497 10.5252 21.9497 9.93937L21.9497 3.05029C21.9497 2.498 21.502 2.05028 20.9497 2.05028L14.0607 2.05027C13.4749 2.05027 13 2.52514 13 3.11094C13 3.69673 13.4749 4.17161 14.0607 4.17161L19.0284 4.17161C19.4702 4.17161 19.8284 4.52978 19.8284 4.97161Z" fill="currentColor"></path>
                                    </svg>
                                </span>
                            </a>
                        </label>
                    </div>
                </div>
                <div class="col-12 mb-2">
                    <div class="form-check form-check-custom form-check-solid">
                        <input type="hidden" name="uiemial" value="0">
                        <input class="form-check-input" type="checkbox" value="1" name="uiemial" id="uiemial"{{ $userinfo['uisettings']['mail_alert'] == 1 ? ' checked':'' }}>
                        <label class="form-check-label" for="uiemial">
                            İşlemler için E-MAIL bildirimi almak istiyorum
                        </label>
                    </div>
                </div>
                <div class="col-12 mb-2">
                    <div class="form-check form-check-custom form-check-solid">
                        <input type="hidden" name="uialert" value="0">
                        <input class="form-check-input" type="checkbox" value="1" name="uialert" id="uialert"{{ $userinfo['uisettings']['notification_alert'] == 1 ? ' checked':'' }}>
                        <label class="form-check-label" for="uialert">
                            İşlemler için SITE bildirimi almak istiyorum
                        </label>
                    </div>
                </div>
                <div class="col-12 row-center row-flex">
                    <a href="#" class="btn btn-special beCallRequest" data-form="beSystem" data-url="{{ beGetRoute('client.systemsettings.save.post') }}">Kaydet</a>
                </div>
            </div>
        </form>
    </div>
</div>
@endsection