<?php $__env->startSection('title', 'Settings'); ?>


<?php $__env->startPush('css'); ?>
<link rel="stylesheet" href="/assets/plugins/select2/css/select2.min.css">
    <link rel="stylesheet" href="/assets/plugins/select2-bootstrap4-theme/select2-bootstrap4.min.css">
    <style>
        .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
            display:none !important
        }
        .title{
            font-size: 25px;background: #28a745;color: white;border-radius: 5px;padding: 10px;text-align: center;
        }
        .getway label{
            font-size: 20px;
            display: flex;
        }
        .getway label input{
            margin-right: 5px;
        }
    </style>
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>

<!-- Content Header (Page header) -->
<section class="content-header">
    <div class="container-fluid">
        <div class="row mb-2">
            <div class="col-sm-6 offse">
                <h1>Setting</h1>
            </div>
            <div class="col-sm-6">
                <ol class="breadcrumb float-sm-right">
                    <li class="breadcrumb-item"><a href="<?php echo e(routeHelper('dashboard')); ?>">Home</a></li>
                    <li class="breadcrumb-item active">My Profile</li>
                </ol>
            </div>
        </div>
    </div><!-- /.container-fluid -->
</section>

<!-- Main content -->
<section class="content">
    <div class="card">
        <div class="card-header">
            <h3 class="card-title">Application Settings</h3>
        </div>
        <div class="card-body">
            <div class="row">
                <div class="col-12">
                    <form action="<?php echo e(route('admin.setting_g')); ?>" method="POST">
                        <?php echo csrf_field(); ?>
                        <div class="card-body getway form-row">
                            <h1 class="col-12 title">Manual/Offline Pay</h1>
                            <div class="form-group col-md-6 col-12">
                                <label><input type="checkbox" name="g_bkash" <?php if(setting('g_bkash')=='true' ): ?> checked
                                        <?php endif; ?>> Bkash Personal</label>
                                <input class="form-control" type="text" name="bkash" id="bkash"
                                    value="<?php echo e(setting('bkash') ?? '01721*****'); ?>">
                            </div>
                            <div class="form-group col-md-6 col-12">
                                <label><input type="checkbox" name="g_nagad" <?php if(setting('g_nagad')=='true' ): ?> checked
                                        <?php endif; ?>> Nagad</label>
                                <input class="form-control" type="text" name="nagad" id="nagad"
                                    value="<?php echo e(setting('nagad') ?? '01721*****'); ?>">
                            </div>
                            <div class="form-group col-md-6 col-12">
                                <label><input type="checkbox" name="g_rocket" <?php if(setting('g_rocket')=='true' ): ?>
                                        checked <?php endif; ?>> Rocket</label>
                                <input class="form-control" type="text" name="rocket" id="rocket"
                                    value="<?php echo e(setting('rocket') ?? '01721*****'); ?>">
                            </div>
                            <div class="form-group col-md-6 col-12">
                                <label><input type="checkbox" name="wallate" <?php if(setting('g_wallate')=='true' ): ?>
                                        checked <?php endif; ?>> Wallate</label>
                                <p>Wallet means, the store point withdrawn amount using for purchase proudcts</p>
                            </div>
                        </div>


                        
                        <div class="card-body getway form-row">
                            <div class="form-group col-md-6 col-12 bg-gray py-4 px-3">
                                <label><input type="checkbox" name="g_bkash_marchant" <?php if(setting('g_bkash_marchant')=='true' ): ?> checked <?php endif; ?>> Online Bkash Marchant</label>
                                <small><a class="text-white" href="https://pgw-integration.bkash.com/#/merchant/products">https://pgw-integration.bkash.com</a> <a class="text-white" href="https://developer.bka.sh/docs/create-payment-2#:~:text=Short%20Introduction-,CHECKOUT%20(URL%20BASED),-Checkout%20(URL)%20Process">(CHECKOUT (URL BASED))</a></small>
                                <label for="Bkash_marchant_username" class="text-capitalize">Bkash API Marchant Username</label>
                                <input class="form-control" type="text" name="Bkash_marchant_username" id="Bkash_marchant_username"
                                    value="<?php echo e(setting('Bkash_marchant_username') ?? ''); ?>" placeholder="Bkash API UserName">

                                <label for="Bkash_marchant_password" class="text-capitalize">Bkash API Marchant Password</label>
                                <input class="form-control" type="text" name="Bkash_marchant_password" id="Bkash_marchant_password"
                                    value="<?php echo e(setting('Bkash_marchant_password') ?? ''); ?>" placeholder="Bkash API PassWord">
                                
                                <label for="Bkash_marchant_appKey" class="text-capitalize">App Key</label>
                                <input class="form-control" type="text" name="Bkash_marchant_appKey" id="Bkash_marchant_appKey"
                                    value="<?php echo e(setting('Bkash_marchant_appKey') ?? ''); ?>" placeholder="App Key">

                                <label for="Bkash_marchant_appSecreat" class="text-capitalize">App Secreat</label>
                                <input class="form-control" type="text" name="Bkash_marchant_appSecreat" id="Bkash_marchant_appSecreat"
                                    value="<?php echo e(setting('Bkash_marchant_appSecreat') ?? ''); ?>" placeholder="App Secreat">

                                <div class="form-group">
                                    <label> Mode</label>
                                    <select name="Bkash_marchant_mode" class="form-control">
                                        <option <?php if(setting('Bkash_marchant_mode')=='1' ): ?> selected <?php endif; ?> value="1">Sandbox
                                        </option>
                                        <option <?php if(setting('Bkash_marchant_mode')=='2' ): ?> selected <?php endif; ?> value="2">Live</option>
                                    </select>
                                </div>
                            </div>
                        </div>


                        <hr>
                        <div class="card-body getway form-row">
                            <div class="form-group col-md-6 col-12 bg-gray py-4 px-3">
                                <label><input type="checkbox" name="bank" <?php if(setting('g_bank')=='true' ): ?> checked
                                        <?php endif; ?>> Bank</label>
                                <label for="bank_name" class="text-capitalize">Bank Name</label>
                                <input class="form-control" type="text" name="bank_name" id="bank_name"
                                    value="<?php echo e(setting('bank_name') ?? 'Bangladesh Bank'); ?>">
                                <label for="bank_account" class="text-capitalize">Bank A/C Number</label>
                                <input class="form-control" type="number" name="bank_account" id="bank_account"
                                    value="<?php echo e(setting('bank_account') ?? '000000000'); ?>">
                                <label for="branch_name" class="text-capitalize">Branch Name</label>
                                <input class="form-control" type="text" name="branch_name" id="branch_name"
                                    value="<?php echo e(setting('branch_name') ?? 'Kishoreganj Sadar'); ?>">
                                <label for="holder_name" class="text-capitalize">Account Holder Name (Capital
                                    Letter)</label>
                                <input class="form-control" type="text" name="holder_name" id="holder_name"
                                    value="<?php echo e(setting('holder_name') ?? 'Kishoreganj Sadar'); ?>">
                                <label for="routing" class="text-capitalize">Routing</label>
                                <input class="form-control" type="text" name="routing" id="routing"
                                    value="<?php echo e(setting('routing') ?? 'BDBL000'); ?>">
                            </div>

                            <div class="form-group col-md-6 col-12 bg-gray py-4 px-3">
                                <label><input type="checkbox" name="cod" <?php if(setting('g_cod')=='true' ): ?> checked
                                    <?php endif; ?>> COD&nbsp;<small>(Cash On Delivery)</small></label>
                                    <hr>
                                <p class="text-warning">All Charges are not related with COD, it will effect also all payment getway</p>
                                <label for="shipping_free_above" class="text-capitalize">Shipping Charge Free Above Amount</label>
                                <input name="shipping_free_above" id="shipping_free_above" class="form-control" type="text" value="<?php echo e(setting('shipping_free_above') ?? 10000); ?>">

                                <label for="shipping_range_inside" class="text-capitalize">Text - Shipping in Range</label>
                                <input name="shipping_range_inside" id="shipping_range_inside" class="form-control" type="text" value="<?php echo e(setting('shipping_range_inside') ?? "Dhaka"); ?>">

                                <label for="shipping_charge" class="text-capitalize">Shipping Charge Inside Range</label>
                                <input name="shipping_charge" id="shipping_charge" class="form-control" type="text" value="<?php echo e(setting('shipping_charge') ?? 80); ?>">

                                <label for="shipping_charge_out_of_range" class="text-capitalize">Shipping Charge Out Of Range</label>
                                <input name="shipping_charge_out_of_range" id="shipping_charge_out_of_range" class="form-control" type="text" value="<?php echo e(setting('shipping_charge_out_of_range') ?? 130); ?>">
                                
                                <label for="COD_notice" class="text-capitalize">Alart or Notice while cash on delivery</label>
                                <input name="COD_notice" id="COD_notice" class="form-control" type="text" placeholder="পণ্য হাতে পেয়ে টাকা দিন।" value="<?php echo e(setting('COD_notice') ?? 'পণ্য হাতে পেয়ে টাকা দিন।'); ?>">
                            </div>
                        </div>

                        <hr>
                        <div class="card-body row getway form-row">
                            <div class="col-sm-6" style="background:#45b03c80">
                                <h1 class="col-md-12 title">Online Pay- aamarPay</h1>
                                <div class="form-group">
                                    <label>StoreID</label>
                                    <input type="" class="form-control" name="astore" value="<?php echo e(setting('astore')); ?>">
                                </div>
                                <div class="form-group">
                                    <label>Signature key</label>
                                    <input type="" class="form-control" name="akey" value="<?php echo e(setting('akey')); ?>">
                                </div>
                                <div class="form-group">
                                    <label> Mode</label>
                                    <select name="amode" class="form-control">
                                        <option <?php if(setting('amode')=='1' ): ?> selected <?php endif; ?> value="1">Sandbox
                                        </option>
                                        <option <?php if(setting('amode')=='2' ): ?> selected <?php endif; ?> value="2">Live</option>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label><input type="checkbox" name="aamar" <?php if(setting('g_aamar')=='true' ): ?>
                                            checked <?php endif; ?>> is active</label>
                                </div>
                            </div>
                            <div class="col-sm-6" style="background:#80b8ea6e">
                                <h1 class="col-md-12 title" style="background:#2f84d0">Online Pay- UddoktaPay</h1>
                                <div class="form-group">
                                    <label>API Key</label>
                                    <input type="" class="form-control" name="uapi" value="<?php echo e(setting('uapi')); ?>">
                                </div>
                                <div class="form-group">
                                    <label>Base Url</label>
                                    <input type="" class="form-control" name="ubase" value="<?php echo e(setting('ubase')); ?>">
                                </div>
                                <div class="form-group">
                                    <label> Mode</label>
                                    <select name="umode" class="form-control">
                                        <option <?php if(setting('umode')=='1' ): ?> selected <?php endif; ?> value="1">Sandbox
                                        </option>
                                        <option <?php if(setting('umode')=='2' ): ?> selected <?php endif; ?> value="2">Live</option>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label><input type="checkbox" name="uddok" <?php if(setting('g_uddok')=='true' ): ?>
                                            checked <?php endif; ?>> is active</label>
                                </div>
                            </div>
                        </div>

                        <div class="card-footer sticky_btn position-sticky fixed-bottom float-right" style="width:fit-content;">
                            <button type="submit" class="btn btn-success">
                                <i class="fas fa-arrow-circle-up"></i>
                                Update
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    
    

</section>
<!-- /.content -->

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

<?php $__env->startPush('js'); ?>
<script src="/assets/plugins/select2/js/select2.full.min.js"></script>
    <script src="<?php echo e(asset('/assets/plugins/dropify/dropify.min.js')); ?>"></script>
    <script>
        $(function () {
            $('#cover_photo').dropify();
            $('.select2').select2();
        });
       
    </script>

<?php $__env->stopPush(); ?>
<?php echo $__env->make('layouts.admin.e-commerce.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/apleusbj/shopping.apleefix.com/resources/views/admin/e-commerce/getway.blade.php ENDPATH**/ ?>