<div class="tab-pane fade <?php echo e(request()->route('tab') == 'business_setting' ? 'active show' : ''); ?>" id="business_setting" role="tabpanel">
    <form id="business_setting_form">
        <div class="card mb-6">
            <div class="card-header">
                <h5 class="card-title m-0"><?php echo e(__('Business Setting')); ?></h5>
            </div>
            <div class="card-body">
                <div class="row mb-6 g-6">
                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="business_name"><?php echo e(__('Business Name')); ?> <?php echo requiredField(); ?></label>
                        <input type="text" class="form-control" id="business_name" name="business_name" placeholder="<?php echo e(__('Enter')); ?> <?php echo e(__('Business Name')); ?>" value="<?php echo e($company->business_name); ?>">
                    </div>

                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="address"><?php echo e(__('Address')); ?> <?php echo requiredField(); ?></label>
                        <textarea class="form-control" id="address" name="address" rows="3" placeholder="<?php echo e(__('Enter')); ?> <?php echo e(__('Address')); ?>"><?php echo e($company->address); ?></textarea>
                    </div>

                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="website"><?php echo e(__('Website')); ?></label>
                        <div class="d-flex gap-2">
                            <input type="url" class="form-control" id="website" name="website" placeholder="<?php echo e(__('Enter')); ?> <?php echo e(__('Website')); ?>" value="<?php echo e($company->website); ?>">
                            <?php if($company->website): ?>
                                <a href="<?php echo e($company->website); ?>" target="_blank" class="btn btn-sm btn-primary preview-website d-flex gap-2 align-items-center">
                                    <i class="icon-base ti tabler-world"></i>
                                </a>
                            <?php else: ?>
                                <a href="#" target="_blank" class="btn btn-sm btn-primary preview-website d-flex gap-2 align-items-center" style="display: none;">
                                    <i class="icon-base ti tabler-world"></i>
                                </a>
                            <?php endif; ?>
                        </div>
                    </div>

                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="email"><?php echo e(__('Email')); ?> <?php echo requiredField(); ?></label>
                        <input type="email" class="form-control" id="email" name="email" placeholder="<?php echo e(__('Enter')); ?> <?php echo e(__('Email')); ?>" value="<?php echo e($company->email); ?>">
                    </div>

                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="phone"><?php echo e(__('Phone')); ?> <?php echo requiredField(); ?></label>
                        <input type="tel" class="form-control phone-mask" id="phone" name="phone" placeholder="<?php echo e(__('Enter')); ?> <?php echo e(__('Phone')); ?>" value="<?php echo e($company->phone); ?>">
                    </div>

                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="date_format"><?php echo e(__('Date Format')); ?> <?php echo requiredField(); ?></label>
                        <select class="select2 form-select" id="date_format" name="date_format" data-placeholder="<?php echo e(__('Select')); ?> <?php echo e(__('Date Format')); ?>">
                            <option value=""></option>
                            <option value="d/m/Y" <?php echo e($company->date_format == 'd/m/Y' ? 'selected' : ''); ?>>d/m/Y</option>
                            <option value="m/d/Y" <?php echo e($company->date_format == 'm/d/Y' ? 'selected' : ''); ?>>m/d/Y</option>
                            <option value="Y/m/d" <?php echo e($company->date_format == 'Y/m/d' ? 'selected' : ''); ?>>Y/m/d</option>
                        </select>
                    </div>

                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="zone_name"><?php echo e(__('Zone Name')); ?> <?php echo requiredField(); ?></label>
                        <select class="select2 form-select" id="zone_name" name="zone_name" data-placeholder="<?php echo e(__('Select')); ?> <?php echo e(__('Zone')); ?>">
                            <option value=""></option>
                            <?php $__currentLoopData = $timezones; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $timezone): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($timezone->zone_name); ?>" <?php echo e($company->zone_name == $timezone->zone_name ? 'selected' : ''); ?>><?php echo e($timezone->zone_name); ?></option>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                    </div>

                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="currency"><?php echo e(__('Currency')); ?> <?php echo requiredField(); ?></label>
                        <input type="text" class="form-control" id="currency" name="currency" placeholder="<?php echo e(__('Enter')); ?> <?php echo e(__('Currency')); ?>" value="<?php echo e($company->currency); ?>">
                    </div>

                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="currency_position"><?php echo e(__('Currency Position')); ?> <?php echo requiredField(); ?></label>
                        <select class="select2 form-select" id="currency_position" name="currency_position" data-placeholder="<?php echo e(__('Select')); ?> <?php echo e(__('Currency Position')); ?>">
                            <option value=""></option>
                            <option value="Before Amount" <?php echo e($company->currency_position == 'Before Amount' ? 'selected' : ''); ?>><?php echo e(__('Before Amount')); ?></option>
                            <option value="After Amount" <?php echo e($company->currency_position == 'After Amount' ? 'selected' : ''); ?>><?php echo e(__('After Amount')); ?></option>
                        </select>
                    </div>

                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="precision"><?php echo e(__('Precision')); ?></label>
                        <select class="select2 form-select" id="precision" name="precision" data-placeholder="<?php echo e(__('Select')); ?> <?php echo e(__('Precision')); ?>">
                            <option value=""></option>
                            <option value="1" <?php echo e($company->precision == '1' ? 'selected' : ''); ?>><?php echo e(__('1 Digit')); ?></option>
                            <option value="2" <?php echo e($company->precision == '2' ? 'selected' : ''); ?>><?php echo e(__('2 Digit')); ?></option>
                            <option value="3" <?php echo e($company->precision == '3' ? 'selected' : ''); ?>><?php echo e(__('3 Digit')); ?></option>
                        </select>
                    </div>

                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="thousands_separator"><?php echo e(__('Thousand Separator')); ?></label>
                        <select class="select2 form-select" id="thousands_separator" name="thousands_separator" data-placeholder="<?php echo e(__('Select')); ?> <?php echo e(__('Thousand Separator')); ?>">
                            <option value=""></option>
                            <option value="," <?php echo e($company->thousands_separator == ',' ? 'selected' : ''); ?>><?php echo e(__('Comma')); ?> (,)</option>
                            <option value="." <?php echo e($company->thousands_separator == '.' ? 'selected' : ''); ?>><?php echo e(__('Dot')); ?> (.)</option>
                            <option value="space" <?php echo e($company->thousands_separator == 'space' ? 'selected' : ''); ?>><?php echo e(__('Space')); ?> ( )</option>
                        </select>
                    </div>

                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="decimals_separator"><?php echo e(__('Decimal Separator')); ?> <?php echo requiredField(); ?></label>
                        <select class="select2 form-select" id="decimals_separator" name="decimals_separator" data-placeholder="<?php echo e(__('Select')); ?> <?php echo e(__('Decimal Separator')); ?>">
                            <option value=""></option>
                            <option value="." <?php echo e($company->decimals_separator == '.' ? 'selected' : ''); ?>><?php echo e(__('Dot')); ?> (.)</option>
                            <option value="," <?php echo e($company->decimals_separator == ',' ? 'selected' : ''); ?>><?php echo e(__('Comma')); ?> (,)</option>
                            <option value="space" <?php echo e($company->decimals_separator == 'space' ? 'selected' : ''); ?>><?php echo e(__('Space')); ?> ( )</option>
                        </select>
                    </div>

                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="installment_days"><?php echo e(__('Installment Days')); ?> <?php echo requiredField(); ?></label>
                        <select class="select2 form-select" id="installment_days" name="installment_days" data-placeholder="<?php echo e(__('Select')); ?> <?php echo e(__('Installment Days')); ?>">
                            <option value=""></option>
                            <option value="3" <?php echo e($company->installment_days == '3' ? 'selected' : ''); ?>><?php echo e(__('3 Days')); ?></option>
                            <option value="7" <?php echo e($company->installment_days == '7' ? 'selected' : ''); ?>><?php echo e(__('7 Days')); ?></option>
                            <option value="15" <?php echo e($company->installment_days == '15' ? 'selected' : ''); ?>><?php echo e(__('15 Days')); ?></option>
                        </select>
                    </div>

                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="e_commerce_checker"><?php echo e(__('E-Commerce Checker')); ?> <?php echo requiredField(); ?></label>
                        <select class="select2 form-select" id="e_commerce_checker" name="e_commerce_checker" data-placeholder="<?php echo e(__('Select')); ?> <?php echo e(__('Option')); ?>">
                            <option value=""></option>
                            <option value="Yes" <?php echo e($company->e_commerce_checker == 'Yes' ? 'selected' : ''); ?>><?php echo e(__('Yes')); ?></option>
                            <option value="No" <?php echo e($company->e_commerce_checker == 'No' ? 'selected' : ''); ?>><?php echo e(__('No')); ?></option>
                        </select>
                    </div>
                </div>
            </div>
        </div>
        <div class="card mb-6">
            <div class="card-header">
                <h5 class="card-title m-0"><?php echo e(__('Item Setting')); ?></h5>
            </div>
            <div class="card-body">
                <div class="row mb-6 g-6">
                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="is_loyalty_enable"><?php echo e(__('Is Loyalty Enable')); ?> <?php echo requiredField(); ?></label>
                        <select class="select2 form-select" id="is_loyalty_enable" name="is_loyalty_enable" data-placeholder="<?php echo e(__('Select')); ?> <?php echo e(__('Option')); ?>">
                            <option value=""></option>
                            <option value="Enable" <?php echo e($company->is_loyalty_enable == 'Enable' ? 'selected' : ''); ?>><?php echo e(__('Enable')); ?></option>
                            <option value="Disable" <?php echo e($company->is_loyalty_enable == 'Disable' ? 'selected' : ''); ?>><?php echo e(__('Disable')); ?></option>
                        </select>
                    </div>

                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="minimum_point_to_redeem"><?php echo e(__('Minimum Point To Redeem')); ?> <?php echo requiredField(); ?></label>
                        <input type="text" class="form-control number-input" id="minimum_point_to_redeem" name="minimum_point_to_redeem" placeholder="<?php echo e(__('Enter')); ?> <?php echo e(__('Minimum Point To Redeem')); ?>" value="<?php echo e($company->minimum_point_to_redeem); ?>">
                    </div>

                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="loyalty_rate"><?php echo e(__('Loyalty Rate')); ?> <?php echo requiredField(); ?></label>
                        <input type="text" class="form-control number-input" id="loyalty_rate" name="loyalty_rate" placeholder="<?php echo e(__('Enter')); ?> <?php echo e(__('Loyalty Rate')); ?>" value="<?php echo e($company->loyalty_rate); ?>">
                    </div>

                    <div class="col-12 col-md-6 validate_wrapper">
                        <label class="form-label mb-1" for="product_code_start_from"><?php echo e(__('Product Code Start From')); ?> <?php echo requiredField(); ?></label>
                        <input type="text" class="form-control number-input" id="product_code_start_from" name="product_code_start_from" placeholder="<?php echo e(__('Enter')); ?> <?php echo e(__('Product Code Start From')); ?>" value="<?php echo e($company->product_code_start_from); ?>">
                    </div>
                </div>
            </div>
        </div>
        <div class="d-flex justify-content-end gap-4">
            <button type="submit" name="submit" value="submit" class="btn btn-primary waves-effect waves-light business_setting_submit">
                <i class="ti tabler-checkbox me-1"></i>
                <?php echo e(__('Save Changes')); ?>

            </button>
        </div>
    </form>
</div><?php /**PATH D:\xampp-8.2\htdocs\off_pos_laravel\Modules/Configuration\resources/views/backend/settings/setting-component/business-setting.blade.php ENDPATH**/ ?>