<div id="addCategory" class="modal fade" data-backdrop="static" tabindex="-1" role="dialog"
	 aria-labelledby="primary-header-modalLabel"
	 aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="primary-header-modalLabel"><?php echo app('translator')->get('New Category'); ?></h4>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
			</div>
			<form>
				<div class="modal-body">
					<div class="row">
						<div class="col-md-12">
							<label><?php echo app('translator')->get('Name'); ?></label>
							<div class="form-group">
								<input type="text" v-model="item.name" class="form-control">
								<span class="text-danger">{{nameError}}</span>
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-md-12">
							<label><?php echo app('translator')->get('Status'); ?></label>
							<div class="selectgroup w-100">
								<label class="selectgroup-item">
									<input type="radio" name="status" v-model="item.status" value="0"
										   class="selectgroup-input">
									<span class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
								</label>
								<label class="selectgroup-item">
									<input type="radio" name="status" v-model="item.status" value="1"
										   class="selectgroup-input" :checked="item.status">
									<span class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
								</label>
							</div>
						</div>
					</div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-dark" data-dismiss="modal"><?php echo app('translator')->get('Close'); ?></button>
					<button type="button" @click="save" class="btn btn-primary"><?php echo app('translator')->get('Submit'); ?></button>
				</div>
			</form>
		</div>
	</div>
</div>
<div id="editCategory" class="modal fade" data-backdrop="static" tabindex="-1" role="dialog"
	 aria-labelledby="primary-header-modalLabel"
	 aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="primary-header-modalLabel"><?php echo app('translator')->get('Update Category'); ?></h4>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
			</div>
			<form>
				<div class="modal-body">
					<div class="row">
						<div class="col-md-12">
							<label><?php echo app('translator')->get('Name'); ?></label>
							<div class="form-group">
								<input type="text" v-model="item.name" class="form-control">
								<span class="text-danger">{{nameError}}</span>
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-md-12">
							<label><?php echo app('translator')->get('Status'); ?></label>
							<div class="selectgroup w-100">
								<label class="selectgroup-item">
									<input type="radio" name="status" v-model="item.status" value="0"
										   class="selectgroup-input">
									<span class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
								</label>
								<label class="selectgroup-item">
									<input type="radio" name="status" v-model="item.status" value="1"
										   class="selectgroup-input" :checked="item.status">
									<span class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
								</label>
							</div>
						</div>
					</div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-dark" data-dismiss="modal"><?php echo app('translator')->get('Close'); ?></button>
					<button type="button" @click="update" class="btn btn-primary"><?php echo app('translator')->get('Update'); ?></button>
				</div>
			</form>
		</div>
	</div>
</div>
<div id="categoryDelete" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="primary-header-modalLabel"
	 aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title text-danger"
					id="primary-header-modalLabel"><?php echo app('translator')->get('Category Delete Confirmation'); ?></h4>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
			</div>
			<?php echo csrf_field(); ?>
			<div class="modal-body">
				<p><?php echo app('translator')->get('Are you want to delete this category?'); ?></p>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-dark" data-dismiss="modal"><?php echo app('translator')->get('Close'); ?></button>
				<form action="" method="post" class="deleteCategoryForm">
					<?php echo csrf_field(); ?>
					<?php echo method_field('delete'); ?>
					<button type="submit" class="btn btn-primary"><?php echo app('translator')->get('Submit'); ?></button>
				</form>
			</div>
		</div>
	</div>
</div>
<?php /**PATH E:\xamp\htdocs\Paysecure-wallet\project\resources\views/user/store/category/modal.blade.php ENDPATH**/ ?>