Server : Apache System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64 User : tradze ( 1001) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/tradze/public_html/storage/framework/views/ |
<?php $__env->startSection('title'); ?>
<?php if(isset($label)): ?>
<?php echo e(trans("vouchers::packages.edit_label_title")); ?>
<?php else: ?>
<?php echo e(trans("vouchers::packages.create_label_title")); ?>
<?php endif; ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('css_page'); ?>
<link href="<?php echo e(asset('/themes/admin/assets/global/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.css')); ?>"
rel="stylesheet">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!-- BEGIN PAGE HEADER-->
<div class="page-bar">
<ul class="page-breadcrumb">
<li>
<i class="fa fa-home"></i>
<a href="<?php echo url(''); ?>"><?php echo e(trans('general.breadcrumbs_home')); ?></a>
<i class="fa fa-angle-right"></i>
</li>
<li>
<a href="<?php echo route('admin.vouchers.packages.index'); ?>"><?php echo e(trans('vouchers::packages.breadcrumbs_title')); ?></a>
<i class="fa fa-angle-right"></i>
</li>
<li>
<a href="<?php echo route('admin.vouchers.packages.index'); ?>"><?php echo e(trans('vouchers::packages.page_title')); ?></a>
<i class="fa fa-angle-right"></i>
</li>
<li>
<?php if(isset($obj)): ?>
<a href="#"><?php echo e(trans('vouchers::packages.edit_title')); ?></a>
<?php else: ?>
<a href="#"><?php echo e(trans('vouchers::packages.create_new_title')); ?></a>
<?php endif; ?>
</li>
</ul>
</div>
<!-- END PAGE HEADER-->
<!-- BEGIN PAGE CONTENT-->
<div class="row">
<div class="col-md-12">
<?php if(isset($obj)): ?>
<?php echo Form::model($obj, array('url' => URL::to('admin/vouchers/packages') . '/' . $obj->id, 'method' => 'put', 'class' => 'bf form-horizontal', 'files'=> true)); ?>
<?php else: ?>
<?php echo Form::open(array('url' => URL::to('admin/vouchers/packages'), 'method' => 'post', 'class' => 'bf form-horizontal', 'files'=> true)); ?>
<?php endif; ?>
<div class="portlet">
<div class="portlet-title">
<div class="caption">
<?php if(isset($obj)): ?>
<?php echo e(trans('vouchers::packages.edit_title')); ?>
<?php else: ?>
<?php echo e(trans('vouchers::packages.create_new_title')); ?>
<?php endif; ?>
</div>
<div class="actions btn-set">
<a href="<?php echo e(route('admin.vouchers.packages.index')); ?>" name="back" class="btn default"><i class="fa fa-angle-left"></i> <?php echo e(trans('general.action_back')); ?></a>
<button class="btn default" type="reset"><i class="fa fa-reply"></i> <?php echo e(trans('general.action_reset')); ?></button>
<button class="btn green" name="save" value="save"><i class="fa fa-check"></i> <?php echo e(trans('general.action_save')); ?></button>
<button class="btn blue" name="save_exit" value="save_exit"><?php echo e(trans('general.action_save_exit')); ?> <i class="fa fa-arrow-circle-right"></i></button>
</div>
</div>
<!--form-->
<div class="portlet-body">
<?php echo $__env->make('flash::message', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<!--GENERAL-->
<div class="portlet">
<div class="portlet-body">
<div class="row">
<div class="col-md-8">
<!--name-->
<div class="form-group <?php echo e($errors->has('name') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('vouchers::packages.form_name')); ?>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
<?php echo Form::text('name', null, array('class' => 'form-control','placeholder'=>'')); ?>
<span class="help-block"><?php echo e($errors->first('name', ':message')); ?></span>
</div>
</div>
<!--end name-->
<!--price-->
<div class="form-group <?php echo e($errors->has('value') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('vouchers::packages.form_value')); ?>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
<?php echo Form::text('value', null, array('class' => 'form-control','placeholder'=>'')); ?>
<span class="help-block"><?php echo e($errors->first('value', ':message')); ?></span>
</div>
</div>
<!--end price-->
<!--send limit-->
<div class="form-group <?php echo e($errors->has('send_limit') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('vouchers::packages.form_send_limit')); ?>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
<?php echo Form::text('send_limit', null, array('class' => 'form-control','placeholder'=>'')); ?>
<span class="help-block"><?php echo e($errors->first('send_limit', ':message')); ?></span>
</div>
</div>
<!--end send limit-->
<!--usage limit-->
<div class="form-group <?php echo e($errors->has('usage_limit') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('vouchers::packages.form_usage_limit')); ?>
<span class="required" aria-required="true">*</span>
</label>
<div class="col-md-9">
<?php echo Form::text('usage_limit', null, array('class' => 'form-control','placeholder'=>'')); ?>
<span class="help-block"><?php echo e($errors->first('usage_limit', ':message')); ?></span>
</div>
</div>
<!--end usage limit-->
<!--short description-->
<div class="form-group <?php echo e($errors->has('excerpt') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('vouchers::packages.form_excerpt')); ?>
</label>
<div class="col-md-9">
<?php echo Form::textarea('excerpt', null, array('class' => 'form-control ckeditor','placeholder'=>'')); ?>
<span class="help-block"><?php echo e($errors->first('excerpt', ':message')); ?></span>
</div>
</div>
<!--end short description-->
<!--body-->
<div class="form-group <?php echo e($errors->has('body') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('vouchers::packages.form_body')); ?>
</label>
<div class="col-md-9">
<?php echo Form::textarea('body', null, array('class' => 'form-control ckeditor','placeholder'=>'')); ?>
<span class="help-block"><?php echo e($errors->first('body', ':message')); ?></span>
</div>
</div>
<!--end body-->
<!--image-->
<div class="form-group <?php echo e($errors->has('image') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3"></label>
<div class="col-md-9">
<?php if(@$obj->image_file): ?>
<div class="fileinput fileinput-exists" data-provides="fileinput">
<div class="fileinput-preview thumbnail" data-trigger="fileinput" style="width: 200px; height: 150px; line-height: 150px;">
<img src="data:image/jpeg;base64,<?php echo e(base64_encode($obj->image_file)); ?>" alt=""/>
</div>
<div>
<span class="btn default btn-file">
<span class="fileinput-new">Select image </span>
<span class="fileinput-exists">Change </span>
<input type="hidden" value="" name="">
<input type="file" name="image">
</span>
<a href="#" class="btn red fileinput-exists" data-dismiss="fileinput">Remove </a>
</div>
</div>
<?php else: ?>
<div class="fileinput fileinput-new" data-provides="fileinput">
<div class="fileinput-new thumbnail" style="width: 200px; height: 150px;">
<img src="http://www.placehold.it/200x150/EFEFEF/AAAAAA&text=no+image" alt=""/>
</div>
<div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 150px;"></div>
<div>
<span class="btn default btn-file">
<span class="fileinput-new">Select image </span>
<span class="fileinput-exists">Change </span>
<input type="file" name="image">
</span>
<a href="#" class="btn default fileinput-exists" data-dismiss="fileinput">Remove </a>
</div>
</div>
<?php endif; ?>
</div>
</div>
<!--end image-->
</div>
<!--end row left-->
<!--col right-->
<div class="col-md-4">
<!--is_default-->
<div class="form-group <?php echo e($errors->has('is_active') ? 'has-error' : ''); ?>">
<label class="control-label col-md-3">
<?php echo e(trans('vouchers::packages.form_is_active')); ?>
</label>
<div class="col-md-9 checkbox-list">
<label class="checkbox-inline">
<?php echo Form::checkbox('is_active', 1, null); ?>
</label>
<span class="help-block"><?php echo e($errors->first('is_active', ':message')); ?></span>
</div>
</div>
<!--end is_default-->
</div>
<!--end col right-->
</div>
</div>
</div>
<!--END GENERAL-->
</div>
<!--/form-->
<!--actions-->
<div class="portlet-title">
<div class="actions btn-set">
<a href="<?php echo e(route('admin.vouchers.packages.index')); ?>" name="back" class="btn default"><i class="fa fa-angle-left"></i> <?php echo e(trans('general.action_back')); ?></a>
<button class="btn default" type="reset"><i class="fa fa-reply"></i> <?php echo e(trans('general.action_reset')); ?></button>
<button class="btn green" name="save" value="save"><i class="fa fa-check"></i> <?php echo e(trans('general.action_save')); ?></button>
<button class="btn blue" name="save_exit" value="save_exit"><?php echo e(trans('general.action_save_exit')); ?> <i class="fa fa-arrow-circle-right"></i></button>
</div>
</div>
<!--/actions-->
</div>
<?php echo Form::close(); ?>
</div>
</div>
<!-- END PAGE CONTENT-->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts_page'); ?>
@parent
<script src="<?php echo e(asset('/themes/admin/assets/global/plugins/bootstrap-wysihtml5/wysihtml5-0.3.0.js')); ?>"
type="text/javascript"></script>
<script src="<?php echo e(asset('/themes/admin/assets/global/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.js')); ?>"
type="text/javascript"></script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.form', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>