<?php
use App\Helpers\StringHelper; // StringHelper::convertToTitleCase($item); $item = WHOLE_SELL; result Whole Sell

?>



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


<?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 - <small>Layout</small></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 Layout</h3>
        </div>
        <div class="card-body">
            <div class="row">
                <div class="col-10 offset-md-1">
                    <div class="card card-success">
                        <div class="card-header">
                            <h3 class="card-title">Setting - Layout Change</h3>
                        </div>
                        <form id="layoutForm" action="<?php echo e(routeHelper('setting')); ?>" method="POST">
                            <?php echo csrf_field(); ?>
                            <?php echo method_field('PUT'); ?>
                            <input type="hidden" name="type" value="9">
                            <div class="card-body row">
                                
                                    <h4 class="bg-warning p-2 w-full">Global Layout</h4>
                                    <div class="col-12 col-md-12 mb-3">
                                        <label for="TOP_HEADER_STYLE" class="text-capitalize">Top Header Style: </label>
                                        <select class="form-control w-25" name="TOP_HEADER_STYLE" id="TOP_HEADER_STYLE">
                                            <option <?php if(setting('TOP_HEADER_STYLE') == 1 || setting('TOP_HEADER_STYLE') == NULL): ?> selected class="bg-success" <?php endif; ?> value="1">Style 1</option>
                                            <option <?php if(setting('TOP_HEADER_STYLE') == 2): ?> selected class="bg-success" <?php endif; ?> value="2">Style 2</option>
                                            <option <?php if(setting('TOP_HEADER_STYLE') == 3): ?> selected class="bg-success" <?php endif; ?> value="3">Style 3</option>
                                            <option <?php if(setting('TOP_HEADER_STYLE') == 4): ?> selected class="bg-success" <?php endif; ?> value="4">Style 4</option>
                                        </select>
                                        
                                        <div class="col-10 offset-md-1 px-3 my-3 bg-light border border-info <?php echo e($TOP_HEADER_STYLE->value == 3 ? 'visible' : 'd-none'); ?>">
                                            <div class="col-12 col-md-12 form-group">
                                                <label for="STYLE_3_TOP_MENU" class="text-capitalize">Style 3 top menu add: </label>
                                                <br>
                                                <textarea class="form-control w-75" style="border:1.5px dotted rgb(9, 102, 41);padding:5px;order-radius:2%;outline:none;" name="STYLE_3_TOP_MENU" id="STYLE_3_TOP_MENU" cols="30" rows="3"><?php echo e($STYLE_3_TOP_MENU->value); ?></textarea>
                                                <br>
                                                <div class="w-75">
                                                    <small>Copy the menu code and paste in above box and customized as per your rquiements (Multi-menu add multi li and a tag):</small>
                                                    <script src="https://gist.github.com/flevnex/5c7632c5272cf8f70b2628f2ca758a08.js"></script>
                                                </div>
                                            </div>
                                            <div class="col-12 col-md-6 form-group">
                                                <label class="text-capitalize d-block" for="STYLE_3_TOP_MENU_BG_COLOR">Style 3 Top Menu Background Color: </label>
                                                <input class="form-control w-25 d-inline-block" type="color" id="STYLE_3_TOP_MENU_BG_COLOR_CHOOSER" value="<?php echo e($STYLE_3_TOP_MENU_BG_COLOR->value); ?>">
                                                <input class="form-control w-50 d-inline-block" type="text" id="STYLE_3_TOP_MENU_BG_COLOR" name="STYLE_3_TOP_MENU_BG_COLOR" value="<?php echo e($STYLE_3_TOP_MENU_BG_COLOR->value); ?>">
                                            </div>
                                            <div class="col-12 col-md-6 form-group">
                                                <label class="text-capitalize d-block" for="STYLE_3_TOP_MENU_LINK_COLOR">Style 3 Top Menu Link Color: </label>
                                                <input class="form-control w-25 d-inline-block" type="color" id="STYLE_3_TOP_MENU_LINK_COLOR_CHOOSER" value="<?php echo e($STYLE_3_TOP_MENU_LINK_COLOR->value); ?>">
                                                <input class="form-control w-50 d-inline-block" type="text" id="STYLE_3_TOP_MENU_LINK_COLOR" name="STYLE_3_TOP_MENU_LINK_COLOR" value="<?php echo e($STYLE_3_TOP_MENU_LINK_COLOR->value); ?>">
                                            </div>
                                            <div class="col-12 col-md-6 form-group">
                                                <label class="text-capitalize d-block" for="STYLE_3_TOP_MENU_LINK_HOVER_COLOR">Style 3 Top Menu Link Hover Color: </label>
                                                <input class="form-control w-25 d-inline-block" type="color" id="STYLE_3_TOP_MENU_LINK_HOVER_COLOR_CHOOSER" value="<?php echo e($STYLE_3_TOP_MENU_LINK_HOVER_COLOR->value); ?>">
                                                <input class="form-control w-50 d-inline-block" type="text" id="STYLE_3_TOP_MENU_LINK_HOVER_COLOR" name="STYLE_3_TOP_MENU_LINK_HOVER_COLOR" value="<?php echo e($STYLE_3_TOP_MENU_LINK_HOVER_COLOR->value); ?>">
                                            </div>
                                            <div class="col-12 col-md-6 form-group">
                                                <label class="text-capitalize d-block" for="STYLE_3_HEADER_SEARCH_INPUT_BAR_WIDHT">Style 3 Search Input Width: </label>
                                                <input class="form-control w-50 d-inline-block" type="text" class="border" id="STYLE_3_HEADER_SEARCH_INPUT_BAR_WIDHT" name="STYLE_3_HEADER_SEARCH_INPUT_BAR_WIDHT" value="<?php echo e(setting('STYLE_3_HEADER_SEARCH_INPUT_BAR_WIDHT') ?? ''); ?>">
                                            </div>
                                            <?php $__env->startPush('js'); ?>
                                            <script>
                                                $(document).ready(function () {
                                                    $("#STYLE_3_TOP_MENU_BG_COLOR_CHOOSER").on("input", function () {
                                                        $("#STYLE_3_TOP_MENU_BG_COLOR").val($(this).val());
                                                    });
                                                    $("#STYLE_3_TOP_MENU_BG_COLOR").on("keyup", function () {
                                                        $("#STYLE_3_TOP_MENU_BG_COLOR_CHOOSER").val($(this).val());
                                                    });
                                                    $("#STYLE_3_TOP_MENU_LINK_COLOR_CHOOSER").on("input", function () {
                                                        $("#STYLE_3_TOP_MENU_LINK_COLOR").val($(this).val());
                                                    });
                                                    $("#STYLE_3_TOP_MENU_LINK_COLOR").on("keyup", function () {
                                                        $("#STYLE_3_TOP_MENU_LINK_COLOR_CHOOSER").val($(this).val());
                                                    });
                                                    $("#STYLE_3_TOP_MENU_LINK_HOVER_COLOR_CHOOSER").on("input", function () {
                                                        $("#STYLE_3_TOP_MENU_LINK_HOVER_COLOR").val($(this).val());
                                                    });
                                                    $("#STYLE_3_TOP_MENU_LINK_HOVER_COLOR").on("keyup", function () {
                                                        $("#STYLE_3_TOP_MENU_LINK_HOVER_COLOR_CHOOSER").val($(this).val());
                                                    });
                                                });
                                            </script>
                                            <?php $__env->stopPush(); ?>
                                        </div>
                                        
                                    </div>
                                    <div class="col-12 col-md-3 form-group mb-3">
                                        <label for="MAIN_MENU_STYLE" class="text-capitalize">Main Menu Style: </label>
                                        <select class="form-control" name="MAIN_MENU_STYLE" id="MAIN_MENU_STYLE">
                                            <option <?php if(setting('MAIN_MENU_STYLE') == 1 || setting('MAIN_MENU_STYLE') == NULL): ?> selected class="bg-success" <?php endif; ?> value="1">Style 1</option>
                                            <option <?php if(setting('MAIN_MENU_STYLE') == 2): ?> selected class="bg-success" <?php endif; ?> value="2">Style 2</option>
                                            <option <?php if(setting('MAIN_MENU_STYLE') == 3): ?> selected class="bg-success" <?php endif; ?> value="3">Style 3</option>
                                        </select>
                                    </div>
                                    <div class="col-12 col-md-3 form-group mb-3">
                                        <label for="FLOAT_LIVE_CHAT" class="text-capitalize">Float Live Chat: </label>
                                        <select class="form-control" name="FLOAT_LIVE_CHAT" id="FLOAT_LIVE_CHAT">
                                            <option <?php if(setting('FLOAT_LIVE_CHAT') == 0 || setting('FLOAT_LIVE_CHAT') == NULL): ?> selected class="bg-success" <?php endif; ?> value="0">All</option>
                                            <option <?php if(setting('FLOAT_LIVE_CHAT') == 1): ?> selected class="bg-success" <?php endif; ?> value="1">Live Chat</option>
                                            <option <?php if(setting('FLOAT_LIVE_CHAT') == 2): ?> selected class="bg-success" <?php endif; ?> value="2">WhatsApp</option>
                                        </select>
                                    </div>
                                    
                                    <h4 class="col-12 col-md-12 border-bottom text-bold pt-2 mt-3">Placeholder</h4>
                                    <div class="col-6 col-md-3 form-group mb-3">
                                        <label for="placeholder_one" class="text-capitalize">Place Holder One</label>
                                        <input class="form-control" type="text" name="placeholder_one" id="placeholder_one" value="<?php echo e(setting('placeholder_one') ?? 'Search by product name'); ?>">
                                    </div>
                                    <div class="col-6 col-md-3 form-group mb-3">
                                        <label for="placeholder_two" class="text-capitalize">Place Holder Two</label>
                                        <input class="form-control" type="text" name="placeholder_two" id="placeholder_two" value="<?php echo e(setting('placeholder_two') ?? 'Search by Vendor'); ?>">
                                    </div>
                                    <div class="col-6 col-md-3 form-group mb-3">
                                        <label for="placeholder_three" class="text-capitalize">Place Holder Three</label>
                                        <input class="form-control" type="text" name="placeholder_three" id="placeholder_three" value="<?php echo e(setting('placeholder_three') ?? 'Search by category'); ?>">
                                    </div>
                                    <div class="col-6 col-md-3 form-group mb-3">
                                        <label for="placeholder_four" class="text-capitalize">Place Holder Four</label>
                                        <input class="form-control" type="text" name="placeholder_four" id="placeholder_four" value="<?php echo e(setting('placeholder_four') ?? 'Search by product'); ?>">
                                    </div>

                                    <h4 class="col-12 col-md-12 border-bottom text-bold pt-2 mt-3">Product grid</h4>
                                    <div class="col-6 col-md-3 form-group mb-3">
                                        <label for="product_grid_title_character_counts" class="text-capitalize">Product grid title maximum charter counts</label>
                                        <input class="form-control" type="number" name="product_grid_title_character_counts" id="product_grid_title_character_counts" value="<?php echo e(setting('product_grid_title_character_counts') ?? 32); ?>">
                                    </div>
                                    <div class="col-6 col-md-3 form-group">
                                        <label for="FIXED_ADD_TO_CART_BTN_IN_PRODUCT_GRID" class="text-capitalize">Fixed Add to cart btn in grid: </label>
                                        <select class="form-control" name="FIXED_ADD_TO_CART_BTN_IN_PRODUCT_GRID" id="FIXED_ADD_TO_CART_BTN_IN_PRODUCT_GRID">
                                            <option <?php if(setting('FIXED_ADD_TO_CART_BTN_IN_PRODUCT_GRID') == 1 || setting('FIXED_ADD_TO_CART_BTN_IN_PRODUCT_GRID') == NULL): ?> selected class="bg-success" <?php endif; ?> value="1">Yes</option>
                                            <option <?php if(setting('FIXED_ADD_TO_CART_BTN_IN_PRODUCT_GRID') == "0"): ?> selected class="bg-success" <?php endif; ?> value="0">No</option>
                                        </select>
                                    </div>
                                    <div class="col-6 col-md-3 form-group">
                                        <label class="text-capitalize">Product grid add to cart button: </label>
                                        <div class="d-flex flex-row" style="gap:8px;">
                                            <div class="form-check mb-2">
                                                <input class="form-check-input" type="radio" name="PRODUCT_GRID_ADD_TO_CART_ICON" id="icon1" value="0" 
                                                    <?php if(setting('PRODUCT_GRID_ADD_TO_CART_ICON') == "0"|| setting('PRODUCT_GRID_ADD_TO_CART_ICON') == NULL): ?> checked <?php endif; ?>>
                                                <label class="form-check-label d-flex align-items-center" for="icon1">
                                                    <i class="fas fa-shopping-cart" aria-hidden="true"></i>
                                                </label>
                                            </div>
                            
                                            <div class="form-check mb-2">
                                                <input class="form-check-input" type="radio" name="PRODUCT_GRID_ADD_TO_CART_ICON" id="addCartText" value="1" 
                                                    <?php if(setting('PRODUCT_GRID_ADD_TO_CART_ICON') == 1): ?> checked <?php endif; ?>>
                                                <label class="form-check-label d-flex align-items-center" for="addCartText">
                                                    Add Cart
                                                </label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-6 col-md-3 form-group">
                                        <label class="text-capitalize">Product grid 2nd Button: </label>
                                        <div class="d-flex flex-row" style="gap:8px;">
                                            <div class="form-check mb-2">
                                                <input class="form-check-input" type="radio" name="PRODUCT_GRID_2ND_BTN" id="whishlist" value="0" 
                                                    <?php if(setting('PRODUCT_GRID_2ND_BTN') == "0"|| setting('PRODUCT_GRID_2ND_BTN') == NULL): ?> checked <?php endif; ?>>
                                                <label class="form-check-label d-flex align-items-center" for="whishlist">
                                                    <i class="fas fa-heart" aria-hidden="true"></i>
                                                </label>
                                            </div>
                            
                                            <div class="form-check mb-2">
                                                <input class="form-check-input" type="radio" name="PRODUCT_GRID_2ND_BTN" id="buyNow" value="1" 
                                                    <?php if(setting('PRODUCT_GRID_2ND_BTN') == 1): ?> checked <?php endif; ?>>
                                                <label class="form-check-label d-flex align-items-center" for="buyNow">
                                                    Buy Now
                                                </label>
                                            </div>
                                        </div>
                                    </div>
                                

                            

                                
                                <div class="col-12 col-md-12 mb-2 py-2">
                                    <h4 class="bg-warning p-2">All products page</h4>
                                    <h4 class="col-12 col-md-12 border-bottom text-bold pt-2 mt-3">Filter Section</h4>
                                    <div class="col-6 col-md-3 form-group mb-3">
                                        <label for="ALL_PRODUCTS_MIN_AMOUNT_PRICE_FILTER" class="text-capitalize">Default limit</label>
                                        <input class="form-control" type="text" name="ALL_PRODUCTS_FILTER_DEFAULT_VALUES" id="ALL_PRODUCTS_FILTER_DEFAULT_VALUES" value="<?php echo e(setting('ALL_PRODUCTS_FILTER_DEFAULT_VALUES') ?? "10,200"); ?>">
                                    </div>
                                    <div class="col-6 col-md-3 form-group mb-3">
                                        <label for="ALL_PRODUCTS_MAX_AMOUNT_PRICE_FILTER" class="text-capitalize">Maximum amount price</label>
                                        <input class="form-control" type="number" name="ALL_PRODUCTS_MAX_AMOUNT_PRICE_FILTER" id="ALL_PRODUCTS_MAX_AMOUNT_PRICE_FILTER" value="<?php echo e(setting('ALL_PRODUCTS_MAX_AMOUNT_PRICE_FILTER') ?? 6000); ?>">
                                    </div>
                                </div>
                            
                                
                                <div class="col-12 col-md-12 mb-2 py-2">
                                    <h4 class="bg-warning p-2">Home Layout</h4>
                                    <div class="mb-3">
                                        <label for="SLIDER_LAYOUT" class="text-capitalize">Slider Layout: </label>
                                        <select  class="form-control w-25" name="SLIDER_LAYOUT" id="SLIDER_LAYOUT">
                                            <option <?php if(setting('SLIDER_LAYOUT') == 1 || setting('SLIDER_LAYOUT') == NULL): ?> selected class="bg-success" <?php endif; ?> value="1">Style 1 - Container</option>
                                            <option <?php if(setting('SLIDER_LAYOUT') == 2): ?> selected class="bg-success" <?php endif; ?> value="2">Style 2 - Full Width</option>
                                        </select>
                                    </div>
                                    <?php
                                        $home_layout = [
                                            'HEADER_SIDE_CATEGORY_NAV',
                                        ];
                                    ?>
                                    <table class="table table-responsive table-striped checkboxTable">
                                        <?php $__currentLoopData = $home_layout; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr <?php if(setting($item) == 1 || setting($item) == ''): ?> class="table-success" <?php endif; ?>>
                                            <td><label for="<?php echo e($item); ?>" class="text-capitalize"><?php echo e(StringHelper::convertToTitleCase($item)); ?></label></td>
                                            <td>
                                                <input class="form-check-input" type="radio" name="<?php echo e($item); ?>" id="<?php echo e($item); ?>" <?php if(setting($item) == 1 || setting($item) == ''): ?> checked <?php endif; ?> value="1">
                                                <label class="form-check-label" for="<?php echo e($item); ?>">On</label>
                                            </td>
                                            <td>
                                                <input class="form-check-input" type="radio" name="<?php echo e($item); ?>" id="<?php echo e($item); ?>" <?php if(setting($item) == '0'): ?> checked <?php endif; ?> value="0">
                                                <label class="form-check-label" for="<?php echo e($item); ?>">Off</label>
                                            </td>
                                        </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </table>

                                    <div class="mb-3">
                                        <label for="FEATURES_SLIDER_TEXT" class="text-capitalize">Features Slider Title</label>
                                        <input  class="form-control w-25" type="text" name="FEATURES_SLIDER_TEXT" value="<?php echo e(setting('FEATURES_SLIDER_TEXT') ?? ''); ?>">
                                    </div>
                                    <div id="layoutIndex_home_top_cat" class="border border-danger py-2 px-2 mb-2">
                                        <div class="mb-3">
                                            <label for="TOP_CAT" class="text-capitalize">Top Category Title</label>
                                            <input class="form-control w-25 mb-2" class="border" type="text" name="TOP_CAT" value="<?php echo e(setting('TOP_CAT') ?? 'Top Categories'); ?>">
                                        </div>
                                        <div class="mb-3">
                                            <label for="TOP_CAT_SORT" class="text-capitalize">Top Category Sorting</label>
                                            <select class="form-control w-25 mb-2" name="TOP_CAT_SORT" id="TOP_CAT_SORT">
                                                <option value="asc" <?php if(setting('TOP_CAT_SORT') == 'asc'): ?> selected <?php endif; ?>>Ascending</option>
                                                <option value="desc" <?php if(setting('TOP_CAT_SORT') == 'desc'): ?> selected <?php endif; ?>>Descending</option>
                                            </select>
                                        </div>
                                        <div class="mb-3">
                                            <label for="home_top_cat_section_height" class="text-capitalize">Top Category section height</label>
                                            <input class="form-control w-25 mb-2" class="border" type="text" name="home_top_cat_section_height" value="<?php echo e(setting('home_top_cat_section_height') ?? '270px'); ?>" placeholder="270px">
                                        </div>
                                        <div class="mb-3">
                                            <label for="home_top_cat_section_height_mobile" class="text-capitalize">Top Category section height (Mobile)</label>
                                            <input class="form-control w-25 mb-2" class="border" type="text" name="home_top_cat_section_height_mobile" value="<?php echo e(setting('home_top_cat_section_height_mobile') ?? '245px'); ?>" placeholder="245px">
                                        </div>
                                        <div class="mb-3">
                                            <label for="default_home_top_cat_row_count_desktop" class="text-capitalize">Top Category Column (Desktop)</label>
                                            <input class="form-control w-25 mb-2" class="border" type="number" name="default_home_top_cat_row_count_desktop" value="<?php echo e(setting('default_home_top_cat_row_count_desktop') ?? 7); ?>">
                                        </div>
                                        <div class="mb-3">
                                            <label for="default_home_top_cat_row_count_phone" class="text-capitalize">Top Category Column (Phone)</label>
                                            <input class="form-control w-25 mb-2" class="border" type="number" name="default_home_top_cat_row_count_phone" value="<?php echo e(setting('default_home_top_cat_row_count_phone') ?? 3); ?>">
                                        </div>
                                        <div class="mb-3">
                                            <label for="categories_f" class="text-capitalize">Maximum Big Categories in home page</label>
                                            <input class="form-control w-25 mb-2" class="border" type="number" name="categories_f" value="<?php echo e(setting('categories_f') ?? 10); ?>">
                                        </div>
                                        <div class="mb-3">
                                            <label for="sub_f" class="text-capitalize">Maximum Sub Categories in home page</label>
                                            <input class="form-control w-25 mb-2" class="border" type="number" name="sub_f" value="<?php echo e(setting('sub_f') ?? 10); ?>">
                                        </div>
                                        <div class="mb-3">
                                            <label for="mini_f" class="text-capitalize">Maximum Mini Categories in home page</label>
                                            <input class="form-control w-25 mb-2" class="border" type="number" name="mini_f" value="<?php echo e(setting('mini_f') ?? 10); ?>">
                                        </div>
                                    </div>
                                </div>
                                


                                
                                <div class="col-12 col-md-12 mb-2 py-2">
                                    <h4 class="bg-warning p-2">Product Single Page</h4>

                                    <div class="col-12 col-md-12 form-group">
                                        <label for="SINGLE_PRODUCT_LAYOUT" class="text-capitalize">Single Product Layout: </label>
                                        <select class="form-control w-25" name="SINGLE_PRODUCT_LAYOUT" id="SINGLE_PRODUCT_LAYOUT">
                                            <option <?php if(setting('SINGLE_PRODUCT_LAYOUT') == 1 || setting('SINGLE_PRODUCT_LAYOUT') == NULL): ?> selected class="bg-success" <?php endif; ?> value="1">Style 1</option>
                                            <option <?php if(setting('SINGLE_PRODUCT_LAYOUT') == 2): ?> selected class="bg-success" <?php endif; ?> value="2">Style 2</option>
                                        </select>
                                    </div>

                                    <div class="col-12 col-md-12 form-group">
                                        <label for="ATTRIBUTE_STYLE" class="text-capitalize">Product Attribute Style: </label>
                                        <select class="form-control w-25" name="ATTRIBUTE_STYLE" id="ATTRIBUTE_STYLE">
                                            <option <?php if(setting('ATTRIBUTE_STYLE') == 1 || setting('ATTRIBUTE_STYLE') == NULL): ?> selected class="bg-success" <?php endif; ?> value="1">Style 1</option>
                                            <option <?php if(setting('ATTRIBUTE_STYLE') == 2): ?> selected class="bg-success" <?php endif; ?> value="2">Style 2</option>
                                        </select>
                                    </div>

                                    <?php
                                        $product_single_page = [
                                            'WHOLE_SELL',
                                            'SINGLE_POP_UP_BUY_NOW_ADD_TO_CART',
                                        ];
                                    ?>

                                    <table class="table table-responsive table-striped checkboxTable">
                                        <?php $__currentLoopData = $product_single_page; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr <?php if(setting($item) == 1 || setting($item) == ''): ?> class="table-success" <?php endif; ?>>
                                            <td><label for="<?php echo e($item); ?>" class="text-capitalize"><?php echo e(StringHelper::convertToTitleCase($item)); ?></label></td>
                                            <td>
                                                <input class="form-check-input" type="radio" name="<?php echo e($item); ?>" id="<?php echo e($item); ?>" <?php if(setting($item) == 1 || setting($item) == ''): ?> checked <?php endif; ?> value="1">
                                                <label class="form-check-label" for="<?php echo e($item); ?>">On</label>
                                            </td>
                                            <td>
                                                <input class="form-check-input" type="radio" name="<?php echo e($item); ?>" id="<?php echo e($item); ?>" <?php if(setting($item) == '0'): ?> checked <?php endif; ?> value="0">
                                                <label class="form-check-label" for="<?php echo e($item); ?>">Off</label>
                                            </td>
                                        </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                        
                                        <tr <?php if(setting('CHAT_SELLER_STATUS') == 1): ?> class="table-success" <?php endif; ?>>
                                            <td><label for="CHAT_SELLER_STATUS" class="text-capitalize"><?php echo e(StringHelper::convertToTitleCase('CHAT_SELLER_STATUS')); ?></label></td>
                                            <td>
                                                <input class="form-check-input" type="radio" name="CHAT_SELLER_STATUS" id="CHAT_SELLER_STATUS" <?php if(setting('CHAT_SELLER_STATUS') == '1'): ?> checked <?php endif; ?> value="1">
                                                <label class="form-check-label" for="CHAT_SELLER_STATUS">On</label>
                                            </td>
                                            <td>
                                                <input class="form-check-input" type="radio" name="CHAT_SELLER_STATUS" id="CHAT_SELLER_STATUS" <?php if(setting('CHAT_SELLER_STATUS') == '0' || setting('CHAT_SELLER_STATUS') == ''): ?> checked <?php endif; ?> value="0">
                                                <label class="form-check-label" for="CHAT_SELLER_STATUS">Off</label>
                                            </td>
                                        </tr>
                                        <?php
                                        $product_single_page_chat_with_sellder = [
                                            'shop_mobile',
                                            'shop_whatsapp',
                                            'shop_telegram',
                                            'shop_messenger',
                                            'shop_imo',
                                            'shop_fb',
                                            'shop_linkedin',
                                            'shop_twitter',
                                            'shop_web_url',
                                        ];
                                        ?>
                                        <?php $__currentLoopData = $product_single_page_chat_with_sellder; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr class="border border-warning <?php if(setting('CHAT_SELLER_STATUS') == 0): ?> d-none <?php endif; ?> <?php if(setting($item) == 1 || setting($item) == ''): ?>table-success <?php endif; ?>">
                                            <td><label for="<?php echo e($item); ?>" class="text-capitalize"><?php echo e(StringHelper::convertToTitleCase($item)); ?></label></td>
                                            <td>
                                                <input class="form-check-input" type="radio" name="<?php echo e($item); ?>" id="<?php echo e($item); ?>" <?php if(setting($item) == 1 || setting($item) == ''): ?> checked <?php endif; ?> value="1">
                                                <label class="form-check-label" for="<?php echo e($item); ?>">On</label>
                                            </td>
                                            <td>
                                                <input class="form-check-input" type="radio" name="<?php echo e($item); ?>" id="<?php echo e($item); ?>" <?php if(setting($item) == '0'): ?> checked <?php endif; ?> value="0">
                                                <label class="form-check-label" for="<?php echo e($item); ?>">Off</label>
                                            </td>
                                        </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        


                                    </table>
                                </div>
                                


                            </div>
                            <div class="card-footer sticky_btn position-sticky fixed-bottom float-right" style="width:fit-content;">
                                <button type="submit" class="btn btn-dark">
                                    <i class="fas fa-arrow-circle-up"></i>
                                    Update
                                </button>
                            </div>
                            <?php $__env->startPush('css'); ?>
                                <style>
                                    
                                </style>
                            <?php $__env->stopPush(); ?>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>



</section>
<!-- /.content -->
<?php $__env->stopSection(); ?>

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

    .checkboxTable td{
        padding-right: 3rem !important;
    }

    /* form#layoutForm ul li.heading{
        background: #096629;
        color: #c2c7d0;
        padding: 0.5rem;
        font-size: 18px;
        text-transform: uppercase;
        margin-top: 2rem;
        margin-bottom: 0.7rem;
    } */

    /* form#layoutForm ul li{
        list-style-type: none;
        padding: .5rem .3rem;
    }
    form#layoutForm input[type="color"],
    form#layoutForm select{
        cursor: pointer;
    } */
</style>    
<?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/setting/layoutIndex.blade.php ENDPATH**/ ?>