⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.220
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Server Software:
Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.25
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
erp.dev-unit.com
/
storage
/
framework
/
views
/
View File Name :
f278369972f876f9f9e3a6db70370f30.php
<?php echo e(Form::model($lead, array('route' => array('leads.convert.to.deal', $lead->id), 'method' => 'POST','class'=>'needs-validation','novalidate'))); ?> <div class="modal-body"> <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', $lead->subject, array('class' => 'form-control','required'=>'required','placeholder' => __('Enter 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> <div class="col-sm-12 col-md-12"> <div class="d-flex radio-check"> <div class="form-check custom-radio custom-control-inline m-1"> <input type="radio" name="client_check" value="new" id="new_client" class="form-check-input pointer" <?php if(empty($exist_client)): ?> checked <?php endif; ?>/> <label class="form-check-label" for="new_client"><?php echo e(__('New Client')); ?></label> </div> <div class="custom-control custom-radio custom-control-inline m-1"> <input type="radio" name="client_check" value="exist" id="existing_client" class="form-check-input pointer" <?php if(!empty($exist_client)): ?> checked <?php endif; ?>/> <label class="form-check-label" for="existing_client"><?php echo e(__('Existing Client')); ?></label> </div> </div> </div> <div class="col-6 exist_client d-none form-group"> <?php echo e(Form::label('clients', __('Client'),['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; ?> <select name="clients" id="clients" class="form-control select2"> <option value=""><?php echo e(__('Select Client')); ?></option> <?php $__currentLoopData = $clients; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $client): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($client->email); ?>" <?php if($lead->email == $client->email): ?> selected <?php endif; ?>><?php echo e($client->name); ?> (<?php echo e($client->email); ?>)</option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="col-6 new_client form-group"> <?php echo e(Form::label('client_name', __('Client 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('client_name', $lead->name, array('class' => 'form-control','required'=>'required','placeholder' => __('Enter Client Name')))); ?> </div> <div class="col-6 new_client form-group"> <?php echo e(Form::label('client_email', __('Client Email'),['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('client_email', $lead->email, array('class' => 'form-control','required'=>'required','placeholder' => __('Enter Client Email')))); ?> </div> <div class="col-6 new_client form-group"> <?php echo e(Form::label('client_password', __('Client Password'),['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('client_password',null, array('class' => 'form-control','required'=>'required','placeholder' => __('Enter Client Password')))); ?> </div> </div> <div class="row px-3 text-sm "> <div class="col-12 pl-0 pb-2 col-form-label font-weight-bold text-dark"><?php echo e(__('Copy To')); ?></div> <div class="col-3 pl-0 pb-2 custom-control"> <?php echo e(Form::checkbox('is_transfer[]','products',false,['class' => 'form-check-input','id'=>'is_transfer_products','checked'=>'checked'])); ?> <?php echo e(Form::label('is_transfer_products', __('Products'),['class'=>'form-check-label'])); ?> </div> <div class="col-3 custom-control custom-checkbox"> <?php echo e(Form::checkbox('is_transfer[]','sources',false,['class' => 'form-check-input','id'=>'is_transfer_sources','checked'=>'checked'])); ?> <?php echo e(Form::label('is_transfer_sources', __('Sources'),['class'=>'form-check-label'])); ?> </div> <div class="col-3 custom-control custom-checkbox"> <?php echo e(Form::checkbox('is_transfer[]','files',false,['class' => 'form-check-input','id'=>'is_transfer_files','checked'=>'checked'])); ?> <?php echo e(Form::label('is_transfer_files', __('Files'),['class'=>'form-check-label'])); ?> </div> <div class="col-3 custom-control custom-checkbox"> <?php echo e(Form::checkbox('is_transfer[]','discussion',false,['class' => 'form-check-input','id'=>'is_transfer_discussion','checked'=>'checked'])); ?> <?php echo e(Form::label('is_transfer_discussion', __('Discussion'),['class'=>'form-check-label'])); ?> </div> <div class="col-3 custom-control custom-checkbox"> <?php echo e(Form::checkbox('is_transfer[]','notes',false,['class' => 'form-check-input','id'=>'is_transfer_notes','checked'=>'checked'])); ?> <?php echo e(Form::label('is_transfer_notes', __('Notes'),['class'=>'form-check-label'])); ?> </div> <div class="col-3 custom-control custom-checkbox"> <?php echo e(Form::checkbox('is_transfer[]','calls',false,['class' => 'form-check-input','id'=>'is_transfer_calls','checked'=>'checked'])); ?> <?php echo e(Form::label('is_transfer_calls', __('Calls'),['class'=>'form-check-label'])); ?> </div> <div class="col-3 custom-control custom-checkbox"> <?php echo e(Form::checkbox('is_transfer[]','emails',false,['class' => 'form-check-input','id'=>'is_transfer_emails','checked'=>'checked'])); ?> <?php echo e(Form::label('is_transfer_emails', __('Emails'),['class'=>'form-check-label'])); ?> </div> </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(__('Convert')); ?></button> </div> <?php echo e(Form::close()); ?> <script> $(document).ready(function () { var is_client = $("input[name='client_check']:checked").val(); $("input[name='client_check']").click(function () { is_client = $(this).val(); if (is_client == "exist") { $('.exist_client').removeClass('d-none'); $('#client_name').removeAttr('required'); $('#client_email').removeAttr('required'); $('#client_password').removeAttr('required'); $('.new_client').addClass('d-none'); $('#clients').attr('required', 'required'); } else { $('.new_client').removeClass('d-none'); $('#client_name').attr('required', 'required'); $('#client_email').attr('required', 'required'); $('#client_password').attr('required', 'required'); $('.exist_client').addClass('d-none'); $('#clients').removeAttr('required'); } }); if (is_client == "exist") { $('.exist_client').removeClass('d-none'); $('#client_name').removeAttr('required'); $('#client_email').removeAttr('required'); $('#client_password').removeAttr('required'); $('.new_client').addClass('d-none'); $('#clients').attr('required', 'required'); } else { $('.new_client').removeClass('d-none'); $('#client_name').attr('required', 'required'); $('#client_email').attr('required', 'required'); $('#client_password').attr('required', 'required'); $('.exist_client').addClass('d-none'); $('#clients').removeAttr('required'); } }) </script> <?php /**PATH /home/id/erp.dev-unit.com/packages/workdo/Lead/src/Providers/../Resources/views/leads/convert.blade.php ENDPATH**/ ?>