⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
erp.dev-unit.com
/
storage
/
framework
/
views
/
View File Name :
bace46c60688eb7b7edda2fa79c91505.php
<?php echo e(Form::open(array('url' => 'deals','enctype'=>'multipart/form-data','class'=>'needs-validation','novalidate'))); ?> <div class="modal-body"> <div class="text-end"> <?php if(module_is_active('AIAssistant')): ?> <?php echo $__env->make('aiassistant::ai.generate_ai_btn',['template_module' => 'deal','module'=>'Lead'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> </div> <?php if(module_is_active('CustomField') && !$customFields->isEmpty()): ?> <ul class="nav nav-pills mb-3" id="pills-tab" role="tablist"> <li class="nav-item"> <a class="nav-link active" id="pills-home-tab" data-bs-toggle="pill" href="#tab-1" role="tab" aria-controls="pills-home" aria-selected="true"><?php echo e(__('Lead Detail')); ?></a> </li> <li class="nav-item"> <a class="nav-link" id="pills-profile-tab" data-bs-toggle="pill" href="#tab-2" role="tab" aria-controls="pills-profile" aria-selected="false"><?php echo e(__('Custom Fields')); ?></a> </li> </ul> <?php endif; ?> <div class="tab-content tab-bordered"> <div class="tab-pane fade show active" id="tab-1" role="tabpanel"> <div class="row"> <div class="col-6 form-group"> <?php echo e(Form::label('name', __('Deal Name'),['class'=>'col-form-label'])); ?><?php if (isset($component)) { $__componentOriginaleab1765d328ab3f8835fc5d78676a070 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaleab1765d328ab3f8835fc5d78676a070 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.required','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('required'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $attributes = $__attributesOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php if (isset($__componentOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $component = $__componentOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__componentOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php echo e(Form::text('name', null, array('class' => 'form-control','required'=>'required','placeholder' => __('Enter Deal Name')))); ?> </div> <div class="col-6 form-group"> <?php echo e(Form::label('price', __('Price'),['class'=>'col-form-label'])); ?> <?php echo e(Form::number('price', 0, array('class' => 'form-control','min'=>0))); ?> </div> <?php if (isset($component)) { $__componentOriginal5d1845474bd0b0647eed674e26ea3910 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal5d1845474bd0b0647eed674e26ea3910 = $attributes; } ?> <?php $component = App\View\Components\Mobile::resolve(['name' => 'phone','label' => ''.e(__('Phone No')).'','placeholder' => ''.e(__('Enter Phone No')).'','required' => true] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('mobile'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\App\View\Components\Mobile::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal5d1845474bd0b0647eed674e26ea3910)): ?> <?php $attributes = $__attributesOriginal5d1845474bd0b0647eed674e26ea3910; ?> <?php unset($__attributesOriginal5d1845474bd0b0647eed674e26ea3910); ?> <?php endif; ?> <?php if (isset($__componentOriginal5d1845474bd0b0647eed674e26ea3910)): ?> <?php $component = $__componentOriginal5d1845474bd0b0647eed674e26ea3910; ?> <?php unset($__componentOriginal5d1845474bd0b0647eed674e26ea3910); ?> <?php endif; ?> <div class="col-12 form-group"> <?php echo e(Form::label('company_id', __('Clients'),['class'=>'col-form-label'])); ?><?php if (isset($component)) { $__componentOriginaleab1765d328ab3f8835fc5d78676a070 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaleab1765d328ab3f8835fc5d78676a070 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.required','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('required'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $attributes = $__attributesOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php if (isset($__componentOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $component = $__componentOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__componentOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php echo e(Form::select('clients[]', $clients,null, array('class' => 'form-control choices','id'=>'choices-multiple','multiple' => true))); ?> <?php if(count($clients) <= 0 && Auth::user()->type == 'company'): ?> <div class="text-muted text-xs"> <?php echo e(__('Please create new clients')); ?> <a href="<?php echo e(route('users.index')); ?>"><?php echo e(__('here')); ?></a>. </div> <?php endif; ?> </div> </div> </div> <?php if(module_is_active('CustomField') && !$customFields->isEmpty()): ?> <div class="tab-pane fade show" id="tab-2" role="tabpanel"> <div class="col-md-6"> <?php echo $__env->make('custom-field::formBuilder', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> </div> <?php endif; ?> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-light" data-bs-dismiss="modal"><?php echo e(__('Cancel')); ?></button> <button type="submit" class="btn btn-primary" id="submit"><?php echo e(__('Create')); ?></button> </div> <?php echo e(Form::close()); ?> <script> $(function(){ $("#submit").click(function() { var client = $("#choices-multiple option:selected").length; if(client == 0){ $('#clients_validation').removeClass('d-none') return false; } else { $('#clients_validation').addClass('d-none') } }); }); </script> <?php /**PATH /home/id/erp.dev-unit.com/packages/workdo/Lead/src/Providers/../Resources/views/deals/create.blade.php ENDPATH**/ ?>