⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.139
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 :
b68fe4ac2aa306c247f6a19d16dd8f8a.php
<?php $password = base64_decode($project->password); $setting = []; if ($project->copylinksetting) { $setting = json_decode($project->copylinksetting); } ?> <?php echo e(Form::open(['route' => ['project.setting.save', $project->id], 'method' => 'POST'])); ?> <div class="modal-body"> <div class="table-responsive"> <table class="table mb-0"> <thead class="thead-light"> <tr> <th> <?php echo e(__('Name')); ?></th> <th class="text-right"> <?php echo e(__('Off/On')); ?></th> </tr> </thead> <tbody> <tr> <td><?php echo e(__('Basic details')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="basic_details" class="form-check-input" <?php if(isset($setting->basic_details) && $setting->basic_details == 'on'): ?> checked="checked" <?php endif; ?> id="copy_link_1" value="on"> <label class="custom-control-label" for="copy_link_1"></label> </div> </td> </tr> <?php if($project->type == 'project'): ?> <tr> <td><?php echo e(__('Member')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="member" class="form-check-input" <?php if(isset($setting->member) && $setting->member == 'on'): ?> checked="checked" <?php endif; ?> id="copy_link_2" value="on"> <label class="custom-control-label" for="copy_link_2"></label> </div> </td> </tr> <tr> <td><?php echo e(__('Client')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="client" class="form-check-input" <?php if(isset($setting->client) && $setting->client == 'on'): ?> checked="checked" <?php endif; ?> id="copy_link_21" value="on"> <label class="custom-control-label" for="copy_link_21"></label> </div> </td> </tr> <?php if(module_is_active('Account')): ?> <tr> <td><?php echo e(__('Vendor')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="vendor" class="form-check-input" <?php if(isset($setting->vendor) && $setting->vendor == 'on'): ?> checked="checked" <?php endif; ?> id="copy_link_22" value="on"> <label class="custom-control-label" for="copy_link_22"></label> </div> </td> </tr> <?php endif; ?> <?php endif; ?> <tr> <td><?php echo e(__('Milestone')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="milestone" class="form-check-input" <?php if(isset($setting->milestone) && $setting->milestone == 'on'): ?> checked="checked" <?php endif; ?> id="copy_link_3" value="on"> <label class="custom-control-label" for="copy_link_3"></label> </div> </td> </tr> <?php if($project->type == 'project'): ?> <tr> <td><?php echo e(__('Activity')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="activity" class="form-check-input" <?php if(isset($setting->activity) && $setting->activity == 'on'): ?> checked="checked" <?php endif; ?> id="copy_link_4" value="on"> <label class="custom-control-label" for="copy_link_4"></label> </div> </td> </tr> <?php endif; ?> <tr> <td><?php echo e(__('Files')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="attachment" class="form-check-input" <?php if(isset($setting->attachment) && $setting->attachment == 'on'): ?> checked="checked" <?php endif; ?> id="copy_link_5" value="on"> <label class="custom-control-label" for="copy_link_5"></label> </div> </td> </tr> <tr> <td><?php echo e(__('Task')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="task" class="form-check-input" id="copy_link_7" <?php if(isset($setting->task) && $setting->task == 'on'): ?> checked="checked" <?php endif; ?> value="on"> <label class="custom-control-label" for="copy_link_7"></label> </div> </td> </tr> <tr> <td><?php echo e(__('Bug Report')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="bug_report" class="form-check-input" <?php if(isset($setting->bug_report) && $setting->bug_report == 'on'): ?> checked="checked" <?php endif; ?> id="copy_link_6" value="on"> <label class="custom-control-label" for="copy_link_6"></label> </div> </td> </tr> <tr> <td><?php echo e(__('Invoice')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="invoice" class="form-check-input" id="copy_link_7_1" <?php if(isset($setting->invoice) && $setting->invoice == 'on'): ?> checked="checked" <?php endif; ?> value="on"> <label class="custom-control-label" for="copy_link_7_1"></label> </div> </td> </tr> <?php if(module_is_active('Account')): ?> <tr> <td><?php echo e(__('Bill')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="bill" class="form-check-input" id="copy_link_7_1_2" <?php if(isset($setting->bill) && $setting->bill == 'on'): ?> checked="checked" <?php endif; ?> value="on"> <label class="custom-control-label" for="copy_link_7_1_2"></label> </div> </td> </tr> <?php endif; ?> <?php if(module_is_active('Timesheet')): ?> <tr> <td><?php echo e(__('Timesheet')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="timesheet" class="form-check-input" <?php if(isset($setting->timesheet) && $setting->timesheet == 'on'): ?> checked="checked" <?php endif; ?> id="copy_link_9" value="on"> <label class="custom-control-label" for="copy_link_9"></label> </div> </td> </tr> <?php endif; ?> <?php if(module_is_active('Documents')): ?> <tr> <td><?php echo e(__('Documents')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="documents" class="form-check-input" <?php if(isset($setting->documents) && $setting->documents == 'on'): ?> checked="checked" <?php endif; ?> id="copy_link_9" value="on"> <label class="custom-control-label" for="copy_link_9"></label> </div> </td> </tr> <?php endif; ?> <tr> <td><?php echo e(__('Progress')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="progress" class="form-check-input" <?php if(isset($setting->progress) && $setting->progress == 'on'): ?> checked="checked" <?php endif; ?> id="copy_link_10" value="on"> <label class="custom-control-label" for="copy_link_10"></label> </div> </td> </tr> <tr> <td><?php echo e(__('Password Protected')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="password_protected" class="form-check-input password_protect" id="password_protected" <?php if(isset($setting->password_protected) && $setting->password_protected == 'on'): ?> checked="checked" <?php endif; ?> value="on"> <label class="custom-control-label" for="password_protected"></label> </div> </td> <tr class="passwords"> <td> <div class="action input-group input-group-merge text-left "> <input type="password" value="<?php echo e($password); ?>" class=" form-control <?php $__errorArgs = ['password']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?>" name="password" autocomplete="new-password" id="password" placeholder="<?php echo e(__('Enter Your Password')); ?>"> <div class="input-group-append"> <span class="input-group-text py-3"> <a href="#" data-toggle="password-text" data-target="#password"> <i class="fas fa-eye-slash" id="togglePassword"></i> </a> </span> </div> </div> </td> </tr> </tr> <?php if(module_is_active('Retainer')): ?> <tr> <td><?php echo e(__('Retainer')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="retainer" class="form-check-input" <?php if(isset($setting->retainer) && $setting->retainer == 'on'): ?> checked="checked" <?php endif; ?> id="copy_link_10" value="on"> <label class="custom-control-label" for="copy_link_10"></label> </div> </td> </tr> <?php endif; ?> <tr> <td><?php echo e(__('Proposal')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="proposal" class="form-check-input" <?php if(isset($setting->proposal) && $setting->proposal == 'on'): ?> checked="checked" <?php endif; ?> id="copy_link_12" value="on"> <label class="custom-control-label" for="copy_link_12"></label> </div> </td> </tr> <?php if(module_is_active('Procurement')): ?> <tr> <td><?php echo e(__('Procurement')); ?></td> <td class="action text-right"> <div class="form-check form-switch"> <input type="checkbox" name="procurement" class="form-check-input" <?php if(isset($setting->procurement) && $setting->procurement == 'on'): ?> checked="checked" <?php endif; ?> id="copy_link_14" value="on"> <label class="custom-control-label" for="copy_link_14"></label> </div> </td> </tr> <?php endif; ?> </tbody> </table> </div> </div> <div class="modal-footer"> <?php echo e(Form::button(__('Save'), ['type' => 'submit', 'class' => 'btn btn-primary'])); ?> </div> <?php echo e(Form::close()); ?> <script> $(document).ready(function() { if ($('.password_protect').is(':checked')) { $('.passwords').show(); } else { $('.passwords').hide(); } $('#password_protected').on('change', function() { if ($('.password_protect').is(':checked')) { $('.passwords').show(); } else { $('.passwords').hide(); } }); }); $(document).on('change', '#password_protected', function() { if ($(this).is(':checked')) { $('.passwords').removeClass('password_protect'); $('.passwords').attr("required", true); } else { $('.passwords').addClass('password_protect'); $('.passwords').val(null); $('.passwords').removeAttr("required"); } }); </script> <script> const togglePassword = document.querySelector("#togglePassword"); const password = document.querySelector("#password"); togglePassword.addEventListener("click", function() { // toggle the type attribute const type = password.getAttribute("type") === "password" ? "text" : "password"; password.setAttribute("type", type); this.classList.toggle("fa-eye"); this.classList.toggle("fa-eye-slash"); }); </script> <?php /**PATH /home/id/erp.dev-unit.com/packages/workdo/Taskly/src/Providers/../Resources/views/projects/copylink_setting.blade.php ENDPATH**/ ?>