|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /var/www/erp.theinteractive.co.in/storage/framework/views/ |
Upload File : |
<?php echo e(Form::open(array('url'=>'training','method'=>'post'))); ?>
<div class="modal-body">
<?php
$plan= \App\Models\Utility::getChatGPTSettings();
?>
<?php if($plan->chatgpt == 1): ?>
<div class="text-end">
<a href="#" data-size="md" class="btn btn-primary btn-icon btn-sm" data-ajax-popup-over="true" data-url="<?php echo e(route('generate',['training'])); ?>"
data-bs-placement="top" data-title="<?php echo e(__('Generate content with AI')); ?>">
<i class="fas fa-robot"></i> <span><?php echo e(__('Generate with AI')); ?></span>
</a>
</div>
<?php endif; ?>
<div class="row">
<div class="col-md-12">
<div class="form-group">
<?php echo e(Form::label('branch',__('Branch'),['class'=>'form-label'])); ?>
<?php echo e(Form::select('branch',$branches,null,array('class'=>'form-control select','required'=>'required'))); ?>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<?php echo e(Form::label('trainer_option',__('Trainer Option'),['class'=>'form-label'])); ?>
<?php echo e(Form::select('trainer_option',$options,null,array('class'=>'form-control select','required'=>'required'))); ?>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<?php echo e(Form::label('training_type',__('Training Type'),['class'=>'form-label'])); ?>
<?php echo e(Form::select('training_type',$trainingTypes,null,array('class'=>'form-control select','required'=>'required'))); ?>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<?php echo e(Form::label('trainer',__('Trainer'),['class'=>'form-label'])); ?>
<?php echo e(Form::select('trainer',$trainers,null,array('class'=>'form-control select','required'=>'required'))); ?>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<?php echo e(Form::label('training_cost',__('Training Cost'),['class'=>'form-label'])); ?>
<?php echo e(Form::number('training_cost',null,array('class'=>'form-control','step'=>'0.01','required'=>'required'))); ?>
</div>
</div>
<div class="col-md-12">
<div class="form-group">
<?php echo e(Form::label('employee',__('Employee'),['class'=>'form-label'])); ?>
<?php echo e(Form::select('employee',$employees,null,array('class'=>'form-control select','required'=>'required'))); ?>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<?php echo e(Form::label('start_date',__('Start Date'),['class'=>'form-label'])); ?>
<?php echo e(Form::date('start_date',null,array('class'=>'form-control '))); ?>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<?php echo e(Form::label('end_date',__('End Date'),['class'=>'form-label'])); ?>
<?php echo e(Form::date('end_date',null,array('class'=>'form-control '))); ?>
</div>
</div>
<div class="form-group col-lg-12">
<?php echo e(Form::label('description',__('Description'),['class'=>'form-label'])); ?>
<?php echo e(Form::textarea('description',null,array('class'=>'form-control','placeholder'=>__('Description')))); ?>
</div>
</div>
</div>
<div class="modal-footer">
<input type="button" value="<?php echo e(__('Cancel')); ?>" class="btn btn-light" data-bs-dismiss="modal">
<input type="submit" value="<?php echo e(__('Create')); ?>" class="btn btn-primary">
</div>
<?php echo e(Form::close()); ?>
<?php /**PATH /var/www/erp.theinteractive.co.in/resources/views/training/create.blade.php ENDPATH**/ ?>