Viewing file: 0f656b432872c6f1a2d0ac83f9bfd2ea223cb350.php (3.53 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<div class="form-group">
<label for="first_name"><?php echo app('translator')->get('admin.form.first_name'); ?></label>
<input value="<?php echo e(isset($customer)?$customer->first_name:old('first_name')); ?>" type="text" name="first_name" class="form-control" id="first_name"
placeholder="<?php echo app('translator')->get('admin.form.input.first_name'); ?>">
</div>
<div class="form-group">
<label for="last_name"><?php echo app('translator')->get('admin.form.last_name'); ?></label>
<input value="<?php echo e(isset($customer)?$customer->last_name:old('last_name')); ?>" type="text" name="last_name" class="form-control" id="last_name"
placeholder="<?php echo app('translator')->get('admin.form.input.last_name'); ?>">
</div>
<div class="form-group">
<label for="email"><?php echo app('translator')->get('admin.form.email'); ?></label>
<input value="<?php echo e(isset($customer)?$customer->email:old('email')); ?>" type="email" name="email" class="form-control" id="email"
placeholder="<?php echo app('translator')->get('admin.form.input.email'); ?>" autocomplete="off" readonly
onfocus="remove_readonly(this)">
</div>
<div class="form-group">
<label for="password"><?php echo app('translator')->get('admin.form.password'); ?></label>
<input type="password" name="password" class="form-control" id="password"
placeholder="<?php echo app('translator')->get('admin.form.input.password'); ?>">
</div>
<div class="form-group">
<label for="status"><?php echo app('translator')->get('admin.form.type'); ?></label>
<select class="form-control" name="type" id="type">
<option <?php echo e(isset($customer) && $customer->type=='normal'?'selected':(old('type')=='normal'?'selected':'')); ?> value="normal">Customer</option>
<?php if(get_settings('reseller_status')=='enable'): ?>
<option <?php echo e(isset($customer) && $customer->type=='reseller'?'selected':(old('type')=='reseller'?'selected':'')); ?> value="reseller">Reseller</option>
<?php endif; ?>
</select>
</div>
<div class="form-group customer_gateway <?php echo e(isset($customer) && $customer->type !='normal'?'':'d-none'); ?>">
<label for="status"><?php echo app('translator')->get('admin.form.payment_gateway'); ?></label>
<select class="form-control select2 d-flex" multiple name="payment_gateway[]" id="gateway">
<?php $__currentLoopData = getAllPaymentGateway(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$gateway): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option <?php echo e(isset($payment_gateway) && in_array($gateway, $payment_gateway)?'selected':''); ?> value="<?php echo e($gateway); ?>"><?php echo e(ucfirst(str_replace('_',' ', $gateway))); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
<div class="form-group">
<label for="status"><?php echo app('translator')->get('admin.form.status'); ?></label>
<select class="form-control" name="status" id="status">
<option <?php echo e(isset($customer) && $customer->status=='Active'?'selected':(old('status')=='active'?'selected':'')); ?> value="active">Active</option>
<option <?php echo e(isset($customer) && $customer->status=='Inactive'?'selected':(old('status')=='inactive'?'selected':'')); ?> value="inactive">Inactive</option>
</select>
</div>
<?php /**PATH E:\actiontexts\resources\views/admin/customers/form.blade.php ENDPATH**/ ?>
|