
<?php $__env->startSection('title'); ?> এডিট কয়েন প্যাকেজ <?php $__env->stopSection(); ?>
<?php $__env->startSection('coin-package'); ?> active <?php $__env->stopSection(); ?>
<?php $__env->startSection('coin-package.edit'); ?> active <?php $__env->stopSection(); ?>
<?php $__env->startSection('styles'); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('admin_content'); ?>

<!-- BEGIN: Content-->
<div class="app-content content ">
	<div class="card">

		<div class="card-header p-1">
			<div class="head-label">
				<h4>এডিট কয়েন প্যাকেজ</h4>
			</div>
		</div>

		<div class="card-body">
			<form action="<?php echo e(route('coin-package.update',$coinPackage->id)); ?>" method="post">
				<?php echo csrf_field(); ?>
				<?php echo method_field('put'); ?>
				<div class="col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12">
					<div class="row">


						<div class="col-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
							<div class="form-group">
								<label for="name">প্যাকেজ টাইপ <span class=" text-danger">(required)</span> </label>
								<select id="coin_package_type" name="coin_package_type" class="form-select select2" required>
									<option value=""selected disabled> প্যাকেজ টাইপ সিলেক্ট করুন </option>
									<option value="প্রিমিয়াম"
										<?php echo e($coinPackage->coin_package_type == 'প্রিমিয়াম' ? "selected":""); ?>>প্রিমিয়াম
									</option>
									<option value="ফ্রি" <?php echo e($coinPackage->coin_package_type == 'ফ্রি' ? "selected":""); ?>>
										ফ্রি</option>
								</select>
							</div>

							<?php $__errorArgs = ['coin_package_type'];
$__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><?php echo e($message); ?></span>
							<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
						</div>


						<div class="col-12 col-sm-6 col-md-6 col-lg-6 col-xl-6">
							<div class="form-group">
								<label for="name">প্যাকেজর নাম <span class="text-danger">(required)</span> </label>
								<input type="text" name="coin_package_name" required class="form-control"
									placeholder="প্যাকেজর নাম" value="<?php echo e($coinPackage->coin_package_name); ?>">
							</div>

							<?php $__errorArgs = ['coin_package_name'];
$__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><?php echo e($message); ?></span>
							<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
						</div>


						<div class="col-12 col-sm-6 col-md-6 col-lg-6 col-xl-6 mt-2">
							<div class="form-group">
								<label for="name">কয়েন কুয়ান্টিটি <span class="text-danger">(required)</span> </label>
								<input type="text" name="coin_package_qty" required class="form-control"
									placeholder="কয়েন কুয়ান্টিটি" value="<?php echo e($coinPackage->coin_package_qty); ?>">
							</div>

							<?php $__errorArgs = ['coin_package_qty'];
$__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><?php echo e($message); ?></span>
							<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
						</div>


						<div class="col-12 col-sm-6 col-md-6 col-lg-6 col-xl-6 mt-2">
							<div class="form-group">
								<label for="name">প্যাকেজর দাম <span class="text-danger">(required)</span> </label>
								<input type="text" name="coin_package_price" required class="form-control"
									placeholder="প্যাকেজর দাম" value="<?php echo e($coinPackage->coin_package_price); ?>">
							</div>

							<?php $__errorArgs = ['coin_package_price'];
$__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><?php echo e($message); ?></span>
							<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
						</div>



						<div class="col-12 col-sm-12 col-md-2 col-lg-2 col-xl-2 d-flex align-items-center"
							style="margin-top: 20px;">
							<input type="submit" name="submit" class="btn btn btn-success" value="Update">
						</div>

					</div>

				</div>
			</form>
		</div>

	</div>

</div>
<!-- END: Content-->


<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\Project\Personal-Project\Office-Project\update\test-paper-final\resources\views/admin/coinPackage/edit.blade.php ENDPATH**/ ?>