<?php if ( ! defined( 'ABSPATH' ) ) {
exit;} ?>
<div class="row justify-content-center">

						<div class="col-xl-6 col-lg-8 col-md-10  py-2 pt-5">
							<div class="shadow-sm rounded py-3 px-4">
								<h4 class="mb-4"> <?php echo esc_html__( 'Vendor Setup', 'elex-multi-vendor-for-woocommerce' ); ?> </h4>
								<div class="row mb-3 ">
									<div class="col-8">
										<p><?php echo esc_html__( 'Approval Process for new Vendor Onboarding', 'elex-multi-vendor-for-woocommerce' ); ?></p>
									</div>
									<div class="col-4">
										<label class="elex-enable-disable-switch">
											<input type="checkbox" id="approve_vendor_onboard" name="approve_vendor_onboard"
											<?php 
											if ( 'on' === $site_settings->get( 'approve_vendor_onboard' ) ) {
												echo esc_html( 'checked' );
											} 
											?>
											>
											<div class="switch round"></div>
										</label>
									</div>
								</div>
								<div class="row mb-3 ">
									<div class="col-8">
										<p><?php echo esc_html__( 'Enable Vendors to Sell Products without Approval', 'elex-multi-vendor-for-woocommerce' ); ?></p>
									</div>
									<div class="col-4">
										<label class="elex-enable-disable-switch">
											<input type="checkbox" id="can_vendor_sell_products_without_approval" name="can_vendor_sell_products_without_approval" >
											<div class="switch round"></div>
										</label>
									</div>
								</div>
								<div class="row mb-3 ">
									<div class="col-8">
										<p><?php echo esc_html__( 'Allow Vendor to Use WooCommerce Shipping Setup by Admin', 'elex-multi-vendor-for-woocommerce' ); ?></p>
									</div>
									<div class="col-4">
										<label class="elex-enable-disable-switch">
											<input type="checkbox" id="allow_vendor_flat_rate" name="allow_vendor_flat_rate" >
											<div class="switch round"></div>
										</label>
									</div>
								</div>
								<div class="row mb-3 ">
									<div class="col-8">
										<p><?php echo esc_html__( 'Allow Vendors to Create Product Categories', 'elex-multi-vendor-for-woocommerce' ); ?></p>
									</div>
									<div class="col-4">
										<label class="elex-enable-disable-switch">
											<input type="checkbox" id="can_vendor_create_product_category" name="can_vendor_create_product_category" >
											<div class="switch round"></div>
										</label>
									</div>
								</div>
								<input hidden id="vendor_onboarding_wizard" name="vendor_onboarding_wizard" value="on">

								<div class="row mb-3 ">
									<div class="col-8">
										<p><?php echo esc_html__( 'Allow Vendors to Change Order Status', 'elex-multi-vendor-for-woocommerce' ); ?></p>
									</div>
									<div class="col-4">
										<label class="elex-enable-disable-switch">
											<input type="checkbox"id="can_vendor_change_order_status" name="can_vendor_change_order_status" 
											<?php 
											if ( 'on' === $site_settings->get( 'can_vendor_change_order_status' ) ) {
echo esc_html( 'checked' );} 
											?>
											>
											<div class="switch round"></div>
										</label>
									</div>
								</div>
							


								<div class="d-flex gap-2">
								<button class="btn btn-default flex-fill btn-outline-primary elex-multi-vendor-for-woocommerce-onboard-back-btn"  data-id="2" type="button">
									<?php echo esc_html__( '< Back', 'elex-multi-vendor-for-woocommerce' ); ?></button>

									<button class="btn btn-primary flex-fill elex-multi-vendor-for-woocommerce-confirm-admin-setup-btn" data-id="2" type="button">
									<?php echo esc_html__( 'Confirm', 'elex-multi-vendor-for-woocommerce' ); ?></button>
								
								</div>
							</div>

						</div>
					</div>
				 

