@extends('layouts.admin')
@section('title', $t)
@section('content')
<div class="page-content-wrapper">
    <div class="container-fluid">
        <div class="row">
            <div class="col-sm-12">
                <div class="page-title-box">

                    <h4>{{ $t }}</h4>

                </div>
            </div>
        </div>

        <div class="row">
            <div class="col-lg-12">
                <div class="row">
                    <div class="col-md-4">
                        <div class="card">
                            <div class="card-header">
                                <h4>Jump To</h4>
                            </div>
                            <div class="card-body">
                                <ul class="nav nav-pills flex-column">
                                    <li class="nav-item"><a href="{{ route('setting', 'app-setting') }}"
                                            class="nav-link ">App Setting</a></li>
                                    <li class="nav-item"><a href="{{ route('setting', 'general-setting') }}"
                                            class="nav-link ">General</a></li>
                                    <li class="nav-item"><a href="{{ route('setting', 'level-setting') }}"
                                            class="nav-link active">{{ __('Level') }}</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-8">
                        <form id="setting-form" action="{{ route('settings/level-settings/update') }}"
                            enctype="multipart/form-data" method="POST">
                            @csrf
                            <div class="card" id="settings-card">
                                <div class="card-header">
                                    <h4> {{ $t }}</h4>
                                </div>
                                <div class="card-body">


                                    <div class="form-group row">
                                        <div class="col-md-4">
                                            <label for="date_format">{{ __(' Level 1 Normal Commission') }}</label>
                                            <input type="number" name="level_1_commission" class="form-control"
                                                value="{{ Utility::getsettings('level_1_commission') }}"
                                                placeholder="{{ __('Level Normal Commission') }}" required>

                                        </div>
                                        <div class="col-md-4">
                                            <label for="date_format">{{ __(' Level 1 Stop Commission') }}</label>
                                            <input type="number" name="level_1_stop_commission" class="form-control"
                                                value="{{ Utility::getsettings('level_1_stop_commission') }}"
                                                placeholder="{{ __('Level 1 Stop Commission') }}" required>

                                        </div>
                                        <div class="col-md-4">

                                            <label for="date_format">{{ __('Level 1 Number Of Journey') }}</label>
                                            <input type="number" name="level_1_jorney" class="form-control"
                                                value="{{ Utility::getsettings('level_1_jorney') }}"
                                                placeholder="{{ __('Level 1 Number Of Journey') }}" required>
                                        </div>
                                    </div>
                                    <div class="form-group row">
                                        <div class="col-md-4">
                                            <label for="date_format">{{ __(' Level 2 Normal Commission') }}</label>
                                            <input type="number" name="level_2_commission" class="form-control"
                                                value="{{ Utility::getsettings('level_2_commission') }}"
                                                placeholder="{{ __('Level 2 Normal Commission') }}" required>

                                        </div>
                                        <div class="col-md-4">
                                            <label for="date_format">{{ __(' Level 2 Stop Commission') }}</label>
                                            <input type="number" name="level_2_stop_commission" class="form-control"
                                                value="{{ Utility::getsettings('level_2_stop_commission') }}"
                                                placeholder="{{ __('Level 2 Stop Commission') }}" required>

                                        </div>
                                        <div class="col-md-4">

                                            <label for="date_format">{{ __('Level 2 Number Of Journey') }}</label>
                                            <input type="number" name="level_2_jorney" class="form-control"
                                                value="{{ Utility::getsettings('level_2_jorney') }}"
                                                placeholder="{{ __('Level 2 Number Of Journey') }}" required>
                                        </div>
                                    </div>
                                    <div class="form-group row">
                                        <div class="col-md-4">
                                            <label for="date_format">{{ __(' Level 3 Normal Commission') }}</label>
                                            <input type="number" name="level_3_commission" class="form-control"
                                                value="{{ Utility::getsettings('level_3_commission') }}"
                                                placeholder="{{ __('Level 3 Normal Commission') }}" required>

                                        </div>
                                        <div class="col-md-4">
                                            <label for="date_format">{{ __(' Level 3 Stop Commission') }}</label>
                                            <input type="number" name="level_3_stop_commission" class="form-control"
                                                value="{{ Utility::getsettings('level_3_stop_commission') }}"
                                                placeholder="{{ __('Level 3 Stop Commission') }}" required>

                                        </div>
                                        <div class="col-md-4">

                                            <label for="date_format">{{ __('Level 3 Number Of Journey') }}</label>
                                            <input type="number" name="level_3_jorney" class="form-control"
                                                value="{{ Utility::getsettings('level_3_jorney') }}"
                                                placeholder="{{ __('Level 3 Number Of Journey') }}" required>
                                        </div>
                                    </div>

                                    <div class="form-group row">
                                        <div class="col-md-4">
                                            <label for="date_format">{{ __(' Level 4 Normal Commission') }}</label>
                                            <input type="number" name="level_4_commission" class="form-control"
                                                value="{{ Utility::getsettings('level_4_commission') }}"
                                                placeholder="{{ __('Level 4 Normal Commission') }}" required>

                                        </div>
                                        <div class="col-md-4">
                                            <label for="date_format">{{ __(' Level 4 Stop Commission') }}</label>
                                            <input type="number" name="level_4_stop_commission" class="form-control"
                                                value="{{ Utility::getsettings('level_4_stop_commission') }}"
                                                placeholder="{{ __('Level 4 Stop Commission') }}" required>

                                        </div>
                                        <div class="col-md-4">

                                            <label for="date_format">{{ __('Level 4 Number Of Journey') }}</label>
                                            <input type="number" name="level_4_jorney" class="form-control"
                                                value="{{ Utility::getsettings('level_4_jorney') }}"
                                                placeholder="{{ __('Level 4 Number Of Journey') }}" required>
                                        </div>
                                    </div>

                                    <div class="form-group row">
                                        <div class="col-md-4">
                                            <label for="date_format">{{ __(' Level 5 Normal Commission') }}</label>
                                            <input type="number" name="level_5_commission" class="form-control"
                                                value="{{ Utility::getsettings('level_5_commission') }}"
                                                placeholder="{{ __('Level 5 Normal Commission') }}" required>

                                        </div>
                                        <div class="col-md-4">
                                            <label for="date_format">{{ __(' Level 5 Stop Commission') }}</label>
                                            <input type="number" name="level_5_stop_commission" class="form-control"
                                                value="{{ Utility::getsettings('level_5_stop_commission') }}"
                                                placeholder="{{ __('Level 5 Stop Commission') }}" required>

                                        </div>
                                        <div class="col-md-4">

                                            <label for="date_format">{{ __('Level 5 Number Of Journey') }}</label>
                                            <input type="number" name="level_5_jorney" class="form-control"
                                                value="{{ Utility::getsettings('level_5_jorney') }}"
                                                placeholder="{{ __('Level 5 Number Of Journey') }}" required>
                                        </div>
                                    </div>

                                    
                                    <div class="form-group">
                                        <label for="signup_bonus">{{ __('Signup Bonus') }}</label>
                                        <input type="number" name="signup_bonus" class="form-control"
                                            value="{{ Utility::getsettings('signup_bonus') }}"
                                            placeholder="{{ __('Signup Bonus') }}" required>
                                    </div>








                                </div>
                                <div class="card-footer bg-whitesmoke text-md-right">
                                    <button class="btn btn-primary" type="submit" id="save-btn">{{ __('Save Changes') }}</button>
                                    <a href="{{ route('settings') }}" class="btn btn-secondary">{{ __('Cancel') }}</a>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>

@endsection