<?php $__env->startSection('page_title', __('Service Control')); ?>
<?php $__env->startSection('content'); ?>
	<div class="main-content">
		<section class="section">
			<div class="section-header">
				<h1><?php echo app('translator')->get('Service Control'); ?></h1>
				<div class="section-header-breadcrumb">
					<div class="breadcrumb-item active">
						<a href="<?php echo e(route('admin.home')); ?>"><?php echo app('translator')->get('Dashboard'); ?></a>
					</div>
					<div class="breadcrumb-item"><?php echo app('translator')->get('Service Control'); ?></div>
				</div>
			</div>

			<div class="section-body">
				<div class="row mt-sm-4">
					<div class="col-12 col-md-4 col-lg-3">
						<?php echo $__env->make('admin.control_panel.components.sidebar', ['settings' => config('generalsettings.settings'), 'suffix' => 'Settings'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
					</div>
					<div class="col-12 col-md-8 col-lg-9">
						<div class="container-fluid" id="container-wrapper">
							<div class="row justify-content-md-center">
								<div class="col-lg-12">
									<div class="card mb-4 card-primary shadow">
										<div
											class="card-header py-3 d-flex flex-row align-items-center justify-content-between">
											<h6 class="m-0 font-weight-bold text-primary"><?php echo app('translator')->get('Service Control'); ?></h6>
										</div>
										<div class="card-body">
											<form action="<?php echo e(route('service.control')); ?>" method="post">
												<?php echo csrf_field(); ?>
												<div class="row">
													<?php if(checkPermission(2) == true): ?>
														<div class="col-md-3">
															<div class="form-group">
																<label><?php echo app('translator')->get('Transfer Service'); ?></label>
																<div class="selectgroup w-100">
																	<label class="selectgroup-item">
																		<input type="radio" name="transfer" value="0"
																			   class="selectgroup-input" <?php echo e(old('transfer', $serviceControl->transfer) == 0 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
																	</label>
																	<label class="selectgroup-item">
																		<input type="radio" name="transfer" value="1"
																			   class="selectgroup-input" <?php echo e(old('transfer', $serviceControl->transfer) == 1 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
																	</label>
																</div>
																<?php $__errorArgs = ['transfer'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
																<span class="text-danger" role="alert">
																<strong><?php echo e(__($message)); ?></strong>
															</span>
																<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
															</div>
														</div>
													<?php endif; ?>
													<?php if(checkPermission(15) == true): ?>
														<div class="col-md-3">
															<div class="form-group">
																<label><?php echo app('translator')->get('Request Service'); ?></label>
																<div class="selectgroup w-100">
																	<label class="selectgroup-item">
																		<input type="radio" name="request" value="0"
																			   class="selectgroup-input" <?php echo e(old('request', $serviceControl->request) == 0 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
																	</label>
																	<label class="selectgroup-item">
																		<input type="radio" name="request" value="1"
																			   class="selectgroup-input" <?php echo e(old('request', $serviceControl->request) == 1 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
																	</label>
																</div>
																<?php $__errorArgs = ['request'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
																<span class="text-danger" role="alert">
																<strong><?php echo e(__($message)); ?></strong>
															</span>
																<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
															</div>
														</div>
													<?php endif; ?>
													<?php if(checkPermission(3) == true): ?>
														<div class="col-md-3">
															<div class="form-group">
																<label><?php echo app('translator')->get('Exchange Service'); ?></label>
																<div class="selectgroup w-100">
																	<label class="selectgroup-item">
																		<input type="radio" name="exchange" value="0"
																			   class="selectgroup-input" <?php echo e(old('exchange', $serviceControl->exchange) == 0 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
																	</label>
																	<label class="selectgroup-item">
																		<input type="radio" name="exchange" value="1"
																			   class="selectgroup-input" <?php echo e(old('exchange', $serviceControl->exchange) == 1 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
																	</label>
																</div>
																<?php $__errorArgs = ['exchange'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
																<span class="text-danger" role="alert">
																<strong><?php echo e(__($message)); ?></strong>
															</span>
																<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
															</div>
														</div>
													<?php endif; ?>
													<?php if(checkPermission(4) == true): ?>
														<div class="col-md-3">
															<div class="form-group">
																<label><?php echo app('translator')->get('Redeem Service'); ?></label>
																<div class="selectgroup w-100">
																	<label class="selectgroup-item">
																		<input type="radio" name="redeem" value="0"
																			   class="selectgroup-input" <?php echo e(old('redeem', $serviceControl->redeem) == 0 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
																	</label>
																	<label class="selectgroup-item">
																		<input type="radio" name="redeem" value="1"
																			   class="selectgroup-input" <?php echo e(old('redeem', $serviceControl->redeem) == 1 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
																	</label>
																</div>
																<?php $__errorArgs = ['redeem'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
																<span class="text-danger" role="alert">
																<strong><?php echo e(__($message)); ?></strong>
															</span>
																<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
															</div>
														</div>
													<?php endif; ?>
													<?php if(checkPermission(5) == true): ?>
														<div class="col-md-3">
															<div class="form-group">
																<label><?php echo app('translator')->get('Escrow Service'); ?></label>
																<div class="selectgroup w-100">
																	<label class="selectgroup-item">
																		<input type="radio" name="escrow" value="0"
																			   class="selectgroup-input" <?php echo e(old('escrow', $serviceControl->escrow) == 0 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
																	</label>
																	<label class="selectgroup-item">
																		<input type="radio" name="escrow" value="1"
																			   class="selectgroup-input" <?php echo e(old('escrow', $serviceControl->escrow) == 1 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
																	</label>
																</div>
																<?php $__errorArgs = ['escrow'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
																<span class="text-danger" role="alert">
																<strong><?php echo e(__($message)); ?></strong>
															</span>
																<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
															</div>
														</div>
													<?php endif; ?>
													<?php if(checkPermission(6) == true): ?>
														<div class="col-md-3">
															<div class="form-group">
																<label><?php echo app('translator')->get('Voucher Service'); ?></label>
																<div class="selectgroup w-100">
																	<label class="selectgroup-item">
																		<input type="radio" name="voucher" value="0"
																			   class="selectgroup-input" <?php echo e(old('voucher', $serviceControl->voucher) == 0 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
																	</label>
																	<label class="selectgroup-item">
																		<input type="radio" name="voucher" value="1"
																			   class="selectgroup-input" <?php echo e(old('voucher', $serviceControl->voucher) == 1 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
																	</label>
																</div>
																<?php $__errorArgs = ['voucher'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
																<span class="text-danger" role="alert">
																<strong><?php echo e(__($message)); ?></strong>
															</span>
																<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
															</div>
														</div>
													<?php endif; ?>
													<?php if(checkPermission(1) == true): ?>
														<div class="col-md-3">
															<div class="form-group">
																<label><?php echo app('translator')->get('Deposit Service'); ?></label>
																<div class="selectgroup w-100">
																	<label class="selectgroup-item">
																		<input type="radio" name="deposit" value="0"
																			   class="selectgroup-input" <?php echo e(old('deposit', $serviceControl->deposit) == 0 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
																	</label>
																	<label class="selectgroup-item">
																		<input type="radio" name="deposit" value="1"
																			   class="selectgroup-input" <?php echo e(old('deposit', $serviceControl->deposit) == 1 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
																	</label>
																</div>
																<?php $__errorArgs = ['deposit'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
																<span class="text-danger" role="alert">
																<strong><?php echo e(__($message)); ?></strong>
															</span>
																<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
															</div>
														</div>
													<?php endif; ?>
													<?php if(checkPermission(8) == true): ?>
														<div class="col-md-3">
															<div class="form-group">
																<label><?php echo app('translator')->get('Payout Service'); ?></label>
																<div class="selectgroup w-100">
																	<label class="selectgroup-item">
																		<input type="radio" name="payout" value="0"
																			   class="selectgroup-input" <?php echo e(old('payout', $serviceControl->payout) == 0 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
																	</label>
																	<label class="selectgroup-item">
																		<input type="radio" name="payout" value="1"
																			   class="selectgroup-input" <?php echo e(old('payout', $serviceControl->payout) == 1 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
																	</label>
																</div>
																<?php $__errorArgs = ['payout'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
																<span class="text-danger" role="alert">
																<strong><?php echo e(__($message)); ?></strong>
															</span>
																<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
															</div>
														</div>
													<?php endif; ?>
													<?php if(checkPermission(9) == true): ?>
														<div class="col-md-3">
															<div class="form-group">
																<label><?php echo app('translator')->get('Invoice Service'); ?></label>
																<div class="selectgroup w-100">
																	<label class="selectgroup-item">
																		<input type="radio" name="invoice" value="0"
																			   class="selectgroup-input" <?php echo e(old('invoice', $serviceControl->invoice) == 0 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
																	</label>
																	<label class="selectgroup-item">
																		<input type="radio" name="invoice" value="1"
																			   class="selectgroup-input" <?php echo e(old('invoice', $serviceControl->invoice) == 1 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
																	</label>
																</div>
																<?php $__errorArgs = ['invoice'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
																<span class="text-danger" role="alert">
																<strong><?php echo e(__($message)); ?></strong>
															</span>
																<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
															</div>
														</div>
													<?php endif; ?>
													<?php if(checkPermission(7) == true): ?>
														<div class="col-md-3">
															<div class="form-group">
																<label><?php echo app('translator')->get('Store Service'); ?></label>
																<div class="selectgroup w-100">
																	<label class="selectgroup-item">
																		<input type="radio" name="store" value="0"
																			   class="selectgroup-input" <?php echo e(old('store', $serviceControl->store) == 0 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
																	</label>
																	<label class="selectgroup-item">
																		<input type="radio" name="store" value="1"
																			   class="selectgroup-input" <?php echo e(old('store', $serviceControl->store) == 1 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
																	</label>
																</div>
																<?php $__errorArgs = ['store'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
																<span class="text-danger" role="alert">
																<strong><?php echo e(__($message)); ?></strong>
															</span>
																<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
															</div>
														</div>
													<?php endif; ?>
													<?php if(checkPermission(17) == true): ?>
														<div class="col-md-3">
															<div class="form-group">
																<label><?php echo app('translator')->get('QR Payment Service'); ?></label>
																<div class="selectgroup w-100">
																	<label class="selectgroup-item">
																		<input type="radio" name="qr_payment" value="0"
																			   class="selectgroup-input" <?php echo e(old('qr_payment', $serviceControl->qr_payment) == 0 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
																	</label>
																	<label class="selectgroup-item">
																		<input type="radio" name="qr_payment" value="1"
																			   class="selectgroup-input" <?php echo e(old('qr_payment', $serviceControl->qr_payment) == 1 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
																	</label>
																</div>
																<?php $__errorArgs = ['qr_payment'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
																<span class="text-danger" role="alert">
																<strong><?php echo e(__($message)); ?></strong>
															</span>
																<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
															</div>
														</div>
													<?php endif; ?>
													<?php if(checkPermission(10) == true): ?>
														<div class="col-md-3">
															<div class="form-group">
																<label><?php echo app('translator')->get('Virtual Card Service'); ?></label>
																<div class="selectgroup w-100">
																	<label class="selectgroup-item">
																		<input type="radio" name="virtual_card"
																			   value="0"
																			   class="selectgroup-input" <?php echo e(old('virtual_card', $serviceControl->virtual_card) == 0 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
																	</label>
																	<label class="selectgroup-item">
																		<input type="radio" name="virtual_card"
																			   value="1"
																			   class="selectgroup-input" <?php echo e(old('virtual_card', $serviceControl->virtual_card) == 1 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
																	</label>
																</div>
																<?php $__errorArgs = ['virtual_card'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
																<span class="text-danger" role="alert">
																<strong><?php echo e(__($message)); ?></strong>
															</span>
																<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
															</div>
														</div>
													<?php endif; ?>
													<?php if(checkPermission(11) == true): ?>
														<div class="col-md-3">
															<div class="form-group">
																<label><?php echo app('translator')->get('Bill Payment Service'); ?></label>
																<div class="selectgroup w-100">
																	<label class="selectgroup-item">
																		<input type="radio" name="bill_payment"
																			   value="0"
																			   class="selectgroup-input" <?php echo e(old('bill_payment', $serviceControl->bill_payment) == 0 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
																	</label>
																	<label class="selectgroup-item">
																		<input type="radio" name="bill_payment"
																			   value="1"
																			   class="selectgroup-input" <?php echo e(old('bill_payment', $serviceControl->bill_payment) == 1 ? 'checked' : ''); ?>>
																		<span
																			class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
																	</label>
																</div>
																<?php $__errorArgs = ['bill_payment'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
																<span class="text-danger" role="alert">
																<strong><?php echo e(__($message)); ?></strong>
															</span>
																<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
															</div>
														</div>
													<?php endif; ?>
												</div>
												<div class="form-group">
													<button type="submit" name="submit"
															class="btn btn-primary btn-sm btn-block"><?php echo app('translator')->get('Save changes'); ?></button>
												</div>
											</form>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>

		</section>
	</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\xamp\htdocs\Paysecure-wallet\project\resources\views/admin/control_panel/serviceControl.blade.php ENDPATH**/ ?>