File manager - Edit - /var/www/payraty/inventory_main/storage/framework/views/72d7cbebd04c959899071b2b7e983f75935a7954.php
Back
<?php $__env->startSection('content'); ?> <div class="page-title-box"> <div class="row align-items-center"> <div class="col-sm-6"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="<?php echo e(route('admin.coupons.index')); ?>" class=""><?php echo e(__('custom.coupon_list')); ?></a></li> <li class="breadcrumb-item active"><?php echo e(__('custom.coupon_product_list')); ?></li> </ol> </div> </div> </div> <div class="row"> <div class="col-8"> <div class="card"> <div class="card-body"> <h4 class="header-title"><?php echo e(__('custom.coupon_product_list')); ?></h4> <?php echo $dataTable->table(['class' => 'nowrap']); ?> </div> </div> </div> <div class="col-4"> <div class="card"> <div class="card-body"> <h4 class="header-title"><?php echo e(__('custom.coupon_product_add')); ?></h4> <form class="form-validate" action="<?php echo e(route('admin.coupon.product.store')); ?>" method="POST" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="row"> <div class="form-group col-sm-12"> <input type="hidden" name="coupon_id" value="<?php echo e($coupon->id); ?>"> <label for=""><?php echo e(__('custom.product')); ?> <span class="error">*</span></label> <select id="product_id" name="product_id" class="form-control select2" > <option value=""><?php echo e(__('custom.select')); ?> <?php echo e(__('custom.product')); ?></option> <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($product->id); ?>"><?php echo e($product->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> <?php $__errorArgs = ['product_id']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <p class="error"><?php echo e($message); ?></p> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> </div> <div class="form-group"> <div class="float-right"> <button class="btn btn-primary waves-effect waves-lightml-2" type="submit"> <i class="fa fa-save"></i> <span><?php echo e(__('custom.submit')); ?></span> </button> </div> </div> </form> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('style'); ?> <?php echo $__env->make('includes.styles.datatable', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopPush(); ?> <?php $__env->startPush('script'); ?> <?php echo $__env->make('includes.scripts.datatable', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php $__env->stopPush(); ?> <?php echo $__env->make('admin.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/payraty/inventory_main/resources/views/admin/coupons/coupon-products/index.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings