
<?php $__env->startSection('settings_content'); ?>

<!--form-->
<div class="card">
    <div class="card-body" id="landlord-settings-form">

        <!--live - publid key-->
        <div class="form-group row">
            <label class="col-12 control-label col-form-label required"><?php echo e(cleanLang(__('lang.publishable_key'))); ?>*
                <span class="align-middle text-themecontrast font-16" data-toggle="tooltip"
                    title="<?php echo e(cleanLang(__('lang.stripe_general_info'))); ?>" data-placement="top"><i
                        class="ti-info-alt"></i></span>
            </label>
            <div class="col-12">
                <input type="text" class="form-control form-control-sm" id="settings_stripe_public_key"
                    name="settings_stripe_public_key" value="<?php echo e($settings->settings_stripe_public_key ?? ''); ?>">
            </div>
        </div>

        <!--live - secret key-->
        <div class="form-group row">
            <label class="col-12 control-label col-form-label required"><?php echo e(cleanLang(__('lang.secret_key'))); ?>*
                <span class="align-middle text-themecontrast font-16" data-toggle="tooltip"
                    title="<?php echo e(cleanLang(__('lang.stripe_general_info'))); ?>" data-placement="top"><i
                        class="ti-info-alt"></i></span>
            </label>
            <div class="col-12">
                <input type="text" class="form-control form-control-sm" id="settings_stripe_secret_key"
                    name="settings_stripe_secret_key" value="<?php echo e($settings->settings_stripe_secret_key ?? ''); ?>">
            </div>
        </div>

        <!--webhooks secret key-->
        <div class="form-group row">
            <label
                class="col-12 control-label col-form-label required"><?php echo e(cleanLang(__('lang.webhooks_signing_key'))); ?>*
                <span class="align-middle text-themecontrast font-16" data-toggle="tooltip"
                    title="<?php echo e(cleanLang(__('lang.stripe_general_info'))); ?>" data-placement="top"><i
                        class="ti-info-alt"></i></span>
            </label>
            <div class="col-12">
                <input type="text" class="form-control form-control-sm" id="settings_stripe_webhooks_key"
                    name="settings_stripe_webhooks_key" value="<?php echo e($settings->settings_stripe_webhooks_key ?? ''); ?>">
            </div>
        </div>


        <!--display name-->
        <div class="form-group row">
            <label class="col-12 control-label col-form-label required"><?php echo e(cleanLang(__('lang.display_name'))); ?>*
                <span class="align-middle text-themecontrast font-16" data-toggle="tooltip"
                    title="<?php echo e(cleanLang(__('lang.display_name_info'))); ?>" data-placement="top"><i
                        class="ti-info-alt"></i></span>
            </label>
            <div class="col-12">
                <input type="text" class="form-control form-control-sm" id="settings_stripe_display_name"
                    name="settings_stripe_display_name" value="<?php echo e($settings->settings_stripe_display_name ?? ''); ?>">
            </div>
        </div>


        <!--webhooks url-->
        <div class="form-group row">
            <label class="col-12 control-label col-form-label required"><?php echo e(cleanLang(__('lang.webhooks_url'))); ?>

                <span class="align-middle text-themecontrast font-16" data-toggle="tooltip"
                    title="<?php echo e(cleanLang(__('lang.add_this_inside_your_dashboard'))); ?> (Stripe)" data-placement="top"><i
                        class="ti-info-alt"></i></span>
            </label>
            <div class="col-12">
                <input type="text" class="form-control form-control-sm" id="settings_stripe_ipn_url"
                    name="settings_stripe_ipn_url" value="<?php echo e(url('/app-admin/webhooks/stripe')); ?>" disabled>
            </div>
        </div>

        <div class="line"></div>

        <!--Enabled-->
        <div class="form-group form-group-checkbox row">
            <label class="col-3 col-form-label" title="Foo"><?php echo e(cleanLang(__('lang.enable_payment_method'))); ?></label>
            <div class="col-9 p-t-5">
                <input type="checkbox" id="settings_stripe_status" name="settings_stripe_status"
                    class="filled-in chk-col-light-blue" <?php echo e(runtimePrechecked($settings->settings_stripe_status)); ?>>
                <label for="settings_stripe_status"></label>
            </div>
        </div>

        <div class="line"></div>

        <!--advanced settings-->
        <div class="spacer row m-b-20">
            <div class="col-sm-12 col-lg-8">
                <span class="title"><?php echo app('translator')->get('lang.advanced_settings'); ?></span>
            </div>
            <div class="col-sm-12 col-lg-4">
                <div class="switch  text-right">
                    <label>
                        <input type="checkbox" name="more_information" id="more_information"
                            class="js-switch-toggle-hidden-content" data-target="toogle_more_information">
                        <span class="lever switch-col-light-blue"></span>
                    </label>
                </div>
            </div>
        </div>
        <!--advanced settings-->
        <div class="hidden p-t-10" id="toogle_more_information">
            <div class="alert alert-warning">
                <h5 class="text-danger"><i class="sl-icon-info"></i> <?php echo app('translator')->get('lang.warning'); ?></h5>
                <?php echo app('translator')->get('lang.warning_make_changes_if_sure'); ?>
            </div>
            <div class="form-group form-group-checkbox row">
                <label class="col-3 col-form-label"><?php echo e(cleanLang(__('lang.reset_plan_settings'))); ?> <span
                        class="align-middle text-themecontrast font-16" data-toggle="tooltip"
                        title="<?php echo app('translator')->get('lang.reset_plan_settings_info'); ?>" data-placement="top"><i
                            class="ti-info-alt"></i></span></label>
                <div class="col-9 p-t-5">
                    <input type="checkbox" id="settings_stripe_reset_plans" name="settings_stripe_reset_plans"
                        class="filled-in chk-col-red">
                    <label for="settings_stripe_reset_plans"></label>
                </div>
            </div>
        </div>

        <!--submit-->
        <div class="text-right">
            <button type="submit" id="commonModalSubmitButton"
                class="btn btn-rounded-x btn-danger waves-effect text-left ajax-request"
                data-url="<?php echo e(url('app-admin/settings/stripe')); ?>" data-form-id="landlord-settings-form"
                data-loading-target="" data-ajax-type="post" data-type="form"
                data-on-start-submit-button="disable"><?php echo e(cleanLang(__('lang.save_changes'))); ?></button>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('landlord.settings.wrapper', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/btijrmyl/crm.codenova.com.ng/application/resources/views/landlord/settings/sections/gateways/stripe/page.blade.php ENDPATH**/ ?>