⚝
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 :
a645b46ca4b26639e8fc075bb2adbcaa.php
<?php echo e(Form::model($deal, ['route' => ['deals.update', $deal->id], 'method' => 'PUT','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' => '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, ['class' => 'form-control', 'required' => 'required','placeholder' => __('Enter Deal Name')])); ?> </div> <div class="col-6 form-group"> <?php echo e(Form::label('price', __('Price'), ['class' => 'form-label'])); ?> <?php echo e(Form::number('price', null, ['class' => 'form-control','min'=>0])); ?> </div> <div class="col-6 form-group"> <?php echo e(Form::label('pipeline_id', __('Pipeline'), ['class' => '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('pipeline_id', $pipelines, null, ['class' => 'form-control', 'required' => 'required'])); ?> </div> <div class="col-6 form-group"> <?php echo e(Form::label('stage_id', __('Stage'), ['class' => '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('stage_id', ['' => __('Select Stage')], null, ['class' => 'form-control', 'required' => 'required'])); ?> </div> <div class="col-12 form-group"> <?php echo e(Form::label('sources', __('Sources'), ['class' => 'form-label'])); ?> <?php echo e(Form::select('sources[]', $sources, null, ['class' => 'form-control choices', 'id' => 'choices-multiple', 'multiple' => true])); ?> </div> <div class="col-12 form-group"> <?php echo e(Form::label('products', __('Products'), ['class' => 'form-label'])); ?> <?php echo e(Form::select('products[]', $products, null, ['class' => 'form-control choices', 'id' => 'choices-multiple1', 'multiple' => true])); ?> </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('notes', __('Notes'), ['class' => 'form-label'])); ?> <?php echo e(Form::textarea('notes', null, ['class' => 'form-control summernote' , 'id' => 'deal-edit-summernote'])); ?> </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',['fildedata' => $deal->customField], \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"><?php echo e(__('Update')); ?></button> </div> <?php echo e(Form::close()); ?> <script> var stage_id = '<?php echo e($deal->stage_id); ?>'; $(document).ready(function() { $("#commonModal select[name=pipeline_id]").trigger('change'); }); $(document).on("change", "#commonModal select[name=pipeline_id]", function() { $.ajax({ url: '<?php echo e(route('stages.json')); ?>', data: { pipeline_id: $(this).val(), _token: $('meta[name="csrf-token"]').attr('content') }, type: 'POST', success: function(data) { $('#stage_id').empty(); $("#stage_id").append( '<option value="" selected="selected"><?php echo e(__('Select Stage')); ?></option>'); $.each(data, function(key, data) { var select = ''; if (key == '<?php echo e($deal->stage_id); ?>') { select = 'selected'; } $("#stage_id").append('<option value="' + key + '" ' + select + '>' + data + '</option>'); }); $("#stage_id").val(stage_id); } }) }); </script> <script> if ($(".summernote").length > 0) { $('.summernote').summernote({ toolbar: [ ['style', ['style']], ['font', ['bold', 'italic', 'underline', 'strikethrough']], ['list', ['ul', 'ol', 'paragraph']], ['insert', ['link', 'unlink']], ], height: 200, }); } </script> <?php /**PATH /home/id/erp.dev-unit.com/packages/workdo/Lead/src/Providers/../Resources/views/deals/edit.blade.php ENDPATH**/ ?>