ok

Mini Shell

Direktori : /home2/selectio/www/3-idiots/storage/framework/views/
Upload File :
Current File : /home2/selectio/www/3-idiots/storage/framework/views/68bba04d7638e914ae263f46a4de46ecee707149.php

<?php $__env->startSection('title', \App\CPU\translate('SMS Module Setup')); ?>

<?php $__env->startPush('css_or_js'); ?>

<?php $__env->stopPush(); ?>

<?php $__env->startSection('content'); ?>
    <div class="content container-fluid">
        <!-- Page Title -->
        <div class="mb-4 pb-2">
            <h2 class="h1 mb-0 text-capitalize d-flex align-items-center gap-2">
                <img src="<?php echo e(asset('/public/assets/back-end/img/3rd-party.png')); ?>" alt="">
                <?php echo e(\App\CPU\translate('3rd_party')); ?>

            </h2>
        </div>
        <!-- End Page Title -->

        <!-- Inlile Menu -->
        <?php echo $__env->make('admin-views.business-settings.third-party-inline-menu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <!-- End Inlile Menu -->

        <div class="row gy-3">
            <div class="col-md-6">
                <div class="card h-100">
                    <div class="card-header">
                        <h5 class="mb-0"><?php echo e(\App\CPU\translate('releans_sms')); ?></h5>
                    </div>
                    <div class="card-body text-<?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>">
                        <span class="badge text-wrap badge-soft-info mb-3"><?php echo e(\App\CPU\translate('NB_:_#OTP#_will_be_replace_with_otp')); ?></span>
                        <?php ($config=\App\CPU\Helpers::get_business_settings('releans_sms')); ?>
                        <form action="<?php echo e(env('APP_MODE')!='demo'?route('admin.business-settings.sms-module-update',['releans_sms']):'javascript:'); ?>"
                              style="text-align: <?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>;"
                              method="post">
                            <?php echo csrf_field(); ?>

                            <label class="mb-3 d-block title-color"><?php echo e(\App\CPU\translate('releans_sms')); ?></label>

                            <div class="d-flex gap-10 align-items-center mb-2">
                                <input type="radio" name="status" value="1" <?php echo e(isset($config) && $config['status']==1?'checked':''); ?>>
                                <label class="title-color mb-0"><?php echo e(\App\CPU\translate('active')); ?></label>
                            </div>
                            <div class="d-flex gap-10 align-items-center mb-4">
                                <input type="radio" name="status" value="0" <?php echo e(isset($config) && $config['status']==0?'checked':''); ?>>
                                <label class="title-color mb-0"><?php echo e(\App\CPU\translate('inactive')); ?> </label>

                            </div>

                            <div class="form-group">
                                <label class="title-color"><?php echo e(\App\CPU\translate('api_key')); ?></label>
                                <input type="text" class="form-control" name="api_key"
                                       value="<?php echo e(env('APP_MODE')!='demo'?$config['api_key']??"":''); ?>">
                            </div>

                            <div class="form-group">
                                <label class="title-color"><?php echo e(\App\CPU\translate('from')); ?></label>
                                <input type="text" class="form-control" name="from"
                                       value="<?php echo e(env('APP_MODE')!='demo'?$config['from']??"":''); ?>">
                            </div>

                            <div class="form-group">
                                <label class="title-color"><?php echo e(\App\CPU\translate('otp_template')); ?></label>
                                <input type="text" class="form-control" name="otp_template"
                                       value="<?php echo e(env('APP_MODE')!='demo'?$config['otp_template']??"":''); ?>">
                            </div>

                            <div class="mt-3 d-flex flex-wrap justify-content-end gap-10">
                                <button type="<?php echo e(env('APP_MODE')!='demo'?'submit':'button'); ?>"
                                    onclick="<?php echo e(env('APP_MODE')!='demo'?'':'call_demo()'); ?>"
                                    class="btn btn--primary px-4"><?php echo e(\App\CPU\translate('save')); ?></button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>

            <div class="col-md-6">
                <div class="card h-100">
                    <div class="card-header">
                        <h5 class="mb-0"><?php echo e(\App\CPU\translate('twilio_sms')); ?></h5>
                    </div>
                    <div class="card-body text-<?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>">
                        <span class="badge text-wrap badge-soft-info mb-3"><?php echo e(\App\CPU\translate('NB_:_#OTP#_will_be_replace_with_otp')); ?></span>
                        <?php ($config=\App\CPU\Helpers::get_business_settings('twilio_sms')); ?>
                        <form action="<?php echo e(env('APP_MODE')!='demo'?route('admin.business-settings.sms-module-update',['twilio_sms']):'javascript:'); ?>"
                              style="text-align: <?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>;"
                              method="post">
                            <?php echo csrf_field(); ?>
                            <label class="mb-3 d-block title-color"><?php echo e(\App\CPU\translate('twilio_sms')); ?></label>

                            <div class="d-flex gap-10 align-items-center mb-2">
                                <input type="radio" name="status" value="1" <?php echo e(isset($config) && $config['status']==1?'checked':''); ?>>
                                <label class="title-color mb-0"><?php echo e(\App\CPU\translate('active')); ?></label>
                            </div>
                            <div class="d-flex gap-10 align-items-center mb-4">
                                <input type="radio" name="status" value="0" <?php echo e(isset($config) && $config['status']==0?'checked':''); ?>>
                                <label class="title-color mb-0"><?php echo e(\App\CPU\translate('inactive')); ?> </label>
                            </div>
                            <div class="form-group">
                                <label class="text-capitalize title-color"><?php echo e(\App\CPU\translate('sid')); ?></label>
                                <input type="text" class="form-control" name="sid"
                                       value="<?php echo e(env('APP_MODE')!='demo'?$config['sid']??"":''); ?>">
                            </div>

                            <div class="form-group">
                                <label class="text-capitalize title-color"><?php echo e(\App\CPU\translate('messaging_service_sid')); ?></label>
                                <input type="text" class="form-control" name="messaging_service_sid"
                                       value="<?php echo e(env('APP_MODE')!='demo'?$config['messaging_service_sid']??"":''); ?>">
                            </div>

                            <div class="form-group">
                                <label class="title-color"><?php echo e(\App\CPU\translate('token')); ?></label>
                                <input type="text" class="form-control" name="token"
                                       value="<?php echo e(env('APP_MODE')!='demo'?$config['token']??"":''); ?>">
                            </div>

                            <div class="form-group">
                                <label class="title-color"><?php echo e(\App\CPU\translate('from')); ?></label>
                                <input type="text" class="form-control" name="from"
                                       value="<?php echo e(env('APP_MODE')!='demo'?$config['from']??"":''); ?>">
                            </div>

                            <div class="form-group">
                                <label class="title-color"><?php echo e(\App\CPU\translate('otp_template')); ?></label>
                                <input type="text" class="form-control" name="otp_template"
                                       value="<?php echo e(env('APP_MODE')!='demo'?$config['otp_template']??"":''); ?>">
                            </div>

                            <div class="mt-3 d-flex flex-wrap justify-content-end gap-10">
                                <button type="<?php echo e(env('APP_MODE')!='demo'?'submit':'button'); ?>"
                                    onclick="<?php echo e(env('APP_MODE')!='demo'?'':'call_demo()'); ?>"
                                    class="btn btn--primary px-4"><?php echo e(\App\CPU\translate('save')); ?></button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>

            <div class="col-md-6">
                <div class="card h-100">
                    <div class="card-header">
                        <h5 class="mb-0"><?php echo e(\App\CPU\translate('nexmo_sms')); ?></h5>
                    </div>
                    <div class="card-body text-<?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>">
                        <span class="badge text-wrap badge-soft-info mb-3"><?php echo e(\App\CPU\translate('NB_:_#OTP#_will_be_replace_with_otp')); ?></span>
                        <?php ($config=\App\CPU\Helpers::get_business_settings('nexmo_sms')); ?>
                        <form action="<?php echo e(env('APP_MODE')!='demo'?route('admin.business-settings.sms-module-update',['nexmo_sms']):'javascript:'); ?>"
                              style="text-align: <?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>;"
                              method="post">
                            <?php echo csrf_field(); ?>

                            <label class="mb-3 d-block title-color"><?php echo e(\App\CPU\translate('nexmo_sms')); ?></label>


                            <div class="d-flex gap-10 align-items-center mb-2">
                                <input type="radio" name="status" value="1" <?php echo e(isset($config) && $config['status']==1?'checked':''); ?>>
                                <label class="title-color mb-0"><?php echo e(\App\CPU\translate('active')); ?></label>

                            </div>
                            <div class="d-flex gap-10 align-items-center mb-4">
                                <input type="radio" name="status" value="0" <?php echo e(isset($config) && $config['status']==0?'checked':''); ?>>
                                <label class="title-color mb-0"><?php echo e(\App\CPU\translate('inactive')); ?> </label>
                            </div>
                            <div class="form-group">
                                <label class="text-capitalize"
                                       class="title-color"><?php echo e(\App\CPU\translate('api_key')); ?></label>
                                <input type="text" class="form-control" name="api_key"
                                       value="<?php echo e(env('APP_MODE')!='demo'?$config['api_key']??"":''); ?>">
                            </div>
                            <div class="form-group">
                                <label class="title-color"><?php echo e(\App\CPU\translate('api_secret')); ?></label>
                                <input type="text" class="form-control" name="api_secret"
                                       value="<?php echo e(env('APP_MODE')!='demo'?$config['api_secret']??"":''); ?>">
                            </div>
                            <div class="form-group">
                                <label class="title-color"><?php echo e(\App\CPU\translate('from')); ?></label>
                                <input type="text" class="form-control" name="from"
                                       value="<?php echo e(env('APP_MODE')!='demo'?$config['from']??"":''); ?>">
                            </div>
                            <div class="form-group">
                                <label class="title-color"><?php echo e(\App\CPU\translate('otp_template')); ?></label>
                                <input type="text" class="form-control" name="otp_template"
                                       value="<?php echo e(env('APP_MODE')!='demo'?$config['otp_template']??"":''); ?>">
                            </div>
                            <div class="mt-3 d-flex flex-wrap justify-content-end gap-10">
                                <button type="<?php echo e(env('APP_MODE')!='demo'?'submit':'button'); ?>"
                                    onclick="<?php echo e(env('APP_MODE')!='demo'?'':'call_demo()'); ?>"
                                    class="btn btn--primary px-4"><?php echo e(\App\CPU\translate('save')); ?></button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>

            <div class="col-md-6">
                <div class="card h-100">
                    <div class="card-header">
                        <h5 class="mb-0"><?php echo e(\App\CPU\translate('2factor_sms')); ?></h5>
                    </div>
                    <div class="card-body text-<?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>">
                        <div class="mb-3 d-flex flex-wrap gap-10">
                            <span class="badge text-wrap badge-soft-info"><?php echo e(\App\CPU\translate("EX of SMS provider's template : your OTP is XXXX here, please check")); ?>.</span>
                            <span class="badge text-wrap badge-soft-info"><?php echo e(\App\CPU\translate('NB : XXXX will be replace with otp')); ?></span>
                        </div>

                        <?php ($config=\App\CPU\Helpers::get_business_settings('2factor_sms')); ?>
                        <form action="<?php echo e(env('APP_MODE')!='demo'?route('admin.business-settings.sms-module-update',['2factor_sms']):'javascript:'); ?>"
                              style="text-align: <?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>;"
                              method="post">
                            <?php echo csrf_field(); ?>

                            <label class="mb-3 d-block title-color"><?php echo e(\App\CPU\translate('2factor_sms')); ?></label>

                            <div class="d-flex gap-10 align-items-center mb-2">
                                <input type="radio" name="status" value="1" <?php echo e(isset($config) && $config['status']==1?'checked':''); ?>>
                                <label class="title-color mb-0"><?php echo e(\App\CPU\translate('active')); ?></label>
                            </div>
                            <div class="d-flex gap-10 align-items-center mb-4">
                                <input type="radio" name="status" value="0" <?php echo e(isset($config) && $config['status']==0?'checked':''); ?>>
                                <label class="title-color mb-0"><?php echo e(\App\CPU\translate('inactive')); ?> </label>
                            </div>
                            <div class="form-group">
                                <label class="text-capitalize title-color"><?php echo e(\App\CPU\translate('api_key')); ?></label>
                                <input type="text" class="form-control" name="api_key"
                                       value="<?php echo e(env('APP_MODE')!='demo'?$config['api_key']??"":''); ?>">
                            </div>

                            <div class="mt-3 d-flex flex-wrap justify-content-end gap-10">
                                <button type="<?php echo e(env('APP_MODE')!='demo'?'submit':'button'); ?>"
                                    onclick="<?php echo e(env('APP_MODE')!='demo'?'':'call_demo()'); ?>"
                                    class="btn btn--primary px-4"><?php echo e(\App\CPU\translate('save')); ?></button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>

            <div class="col-md-6">
                <div class="card h-100">
                    <div class="card-header">
                        <h5 class="mb-0"><?php echo e(\App\CPU\translate('msg91_sms')); ?></h5>
                    </div>
                    <div class="card-body text-<?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>">
                        <span class="badge text-wrap badge-soft-info mb-3"><?php echo e(\App\CPU\translate('NB : Keep an OTP variable in your SMS providers OTP Template')); ?>.</span>
                        <?php ($config=\App\CPU\Helpers::get_business_settings('msg91_sms')); ?>
                        <form action="<?php echo e(env('APP_MODE')!='demo'?route('admin.business-settings.sms-module-update',['msg91_sms']):'javascript:'); ?>"
                              style="text-align: <?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>;"
                              method="post">
                            <?php echo csrf_field(); ?>

                            <label class="mb-3 d-block title-color"><?php echo e(\App\CPU\translate('msg91_sms')); ?></label>

                            <div class="d-flex gap-10 align-items-center mb-2">
                                <input type="radio" name="status" value="1" <?php echo e(isset($config) && $config['status']==1?'checked':''); ?>>
                                <label class="title-color mb-0"><?php echo e(\App\CPU\translate('active')); ?></label>

                            </div>
                            <div class="d-flex gap-10 align-items-center mb-4">
                                <input type="radio" name="status" value="0" <?php echo e(isset($config) && $config['status']==0?'checked':''); ?>>
                                <label class="title-color mb-0"><?php echo e(\App\CPU\translate('inactive')); ?> </label>

                            </div>
                            <div class="form-group">
                                <label class="text-capitalize title-color"><?php echo e(\App\CPU\translate('template_id')); ?></label>
                                <input type="text" class="form-control" name="template_id"
                                       value="<?php echo e(env('APP_MODE')!='demo'?$config['template_id']??"":''); ?>">
                            </div>
                            <div class="form-group">
                                <label class="text-capitalize title-color"><?php echo e(\App\CPU\translate('authkey')); ?></label>
                                <input type="text" class="form-control" name="authkey"
                                       value="<?php echo e(env('APP_MODE')!='demo'?$config['authkey']??"":''); ?>">
                            </div>

                            <div class="mt-3 d-flex flex-wrap justify-content-end gap-10">
                                <button type="<?php echo e(env('APP_MODE')!='demo'?'submit':'button'); ?>"
                                    onclick="<?php echo e(env('APP_MODE')!='demo'?'':'call_demo()'); ?>"
                                    class="btn btn--primary px-4"><?php echo e(\App\CPU\translate('save')); ?></button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('script_2'); ?>

<?php $__env->stopPush(); ?>

<?php echo $__env->make('layouts.back-end.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/selectio/public_html/a1tex.in/resources/views/admin-views/business-settings/sms-index.blade.php ENDPATH**/ ?>

Zerion Mini Shell 1.0