⚝
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 :
7d75bfa7c279ef03d942f0adcd304bbc.php
<?php if (app('laratrust')->hasPermission('hrm manage')) : ?> <div class="card" id="hrm-sidenav"> <?php echo e(Form::open(['route' => 'hrm.setting.store', 'id' => 'hrm_setting_store'])); ?> <div class="card-header p-3"> <h5 class=""><?php echo e(__('HRM Settings')); ?></h5> </div> <div class="card-body pb-0 p-3"> <div class="row "> <div class="col-md-4 col-sm-6"> <div class="form-group"> <label for="employee_prefix" class="form-label"><?php echo e(__('Employee Prefix')); ?></label> <input type="text" name="employee_prefix" class="form-control" placeholder="<?php echo e(__('Employee Prefix')); ?>" value="<?php echo e(!empty($settings['employee_prefix']) ? $settings['employee_prefix'] : '#EMP000'); ?>" id="employee_prefix"> </div> </div> <div class="col-md-4 col-sm-6"> <div class="form-group"> <label for="company_start_time" class="form-label"><?php echo e(__('Company Start Time')); ?></label> <input type="time" name="company_start_time" class="form-control" value="<?php echo e(!empty($settings['company_start_time']) ? $settings['company_start_time'] : '09:00'); ?>" id="company_start_time"> </div> </div> <div class="col-md-4 col-sm-6"> <div class="form-group"> <label for="company_end_time" class="form-label"><?php echo e(__('Company End Time')); ?></label> <input type="time" name="company_end_time" class="form-control" value="<?php echo e(!empty($settings['company_end_time']) ? $settings['company_end_time'] : '18:00'); ?>" id="company_end_time"> </div> </div> <?php if(Auth::user()->isAbleTo('ip restrict manage')): ?> <div class="col-md-4"> <div class="card"> <div class="card-body p-3"> <div class="form-group col mb-0"> <div class=" form-switch p-0"> <?php echo e(Form::label('ip_restrict', __('IP Restrict'), ['class' => ' form-label mb-0'])); ?> <div class=" float-end"> <input type="checkbox" class="form-check-input" id="ip_restrict" name="ip_restrict" <?php echo e(isset($settings['ip_restrict']) && $settings['ip_restrict'] == 'on' ? 'checked' : ''); ?> /> <label class="form-check-label form-label" for="ip_restrict"></label> </div> </div> </div> </div> </div> </div> <?php endif; ?> <?php echo e(Form::close()); ?> </div> <div class="text-xs mt-1"> <?php echo e(__('Manage ')); ?> <a href="<?php echo e(route('joiningletter.index')); ?>"><b><?php echo e(__('joining letter,')); ?></b></a><a href="<?php echo e(route('experiencecertificate.index')); ?>"><b><?php echo e(__(' certificate of experience letter and')); ?></b></a><a href="<?php echo e(route('hrmnoc.index')); ?>"><b><?php echo e(__(' no objection certificate letter')); ?></b></a><?php echo e(__(' here')); ?> </div> </div> <div class="card-footer text-end p-3"> <input class="btn btn-print-invoice btn-primary hrm_setting_btn" type="button" value="<?php echo e(__('Save Changes')); ?>"> </div> </div> <div class="ip_restrict_div <?php echo e(!empty($settings['ip_restrict']) && $settings['ip_restrict'] != 'on' ? ' d-none ' : ''); ?>" id="ip_restrict"> <div class="card"> <?php if(Auth::user()->isAbleTo('ip restrict create')): ?> <div class="card-header d-flex flex-wrap align-items-center justify-content-between p-3 row-gap"> <h5><?php echo e(__('IP Restriction Settings')); ?></h5> <a data-url="<?php echo e(route('iprestrict.create')); ?>" class="btn btn-sm btn-primary" data-bs-toggle="tooltip" data-bs-original-title="<?php echo e(__('Create New IP')); ?>" data-bs-placement="top" data-size="md" data-ajax-popup="true" data-title="<?php echo e(__('Create New IP')); ?>"> <i class="ti ti-plus"></i> </a> </div> <?php endif; ?> <div class="table-border-style"> <div class="card-body p-3" style="max-height: 290px; overflow:auto"> <div class="table-responsive"> <table class="table" id="pc-dt-simple"> <thead> <tr> <th class="w-75"> <?php echo e(__('IP')); ?></th> <th width="200px"> <?php echo e('Action'); ?></th> </tr> </thead> <tbody> <?php $__empty_1 = true; $__currentLoopData = $ips; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ip): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <tr class="Action"> <td class="sorting_1"><?php echo e($ip->ip); ?></td> <td class=""> <?php if (app('laratrust')->hasPermission('ip restrict edit')) : ?> <div class="action-btn me-2"> <a class="mx-3 btn bg-info btn-sm align-items-center" data-url="<?php echo e(route('iprestrict.edit', $ip->id)); ?>" data-size="md" data-bs-toggle="tooltip" data-bs-original-title="<?php echo e(__('Edit')); ?>" data-bs-placement="top" data-ajax-popup="true" data-title="<?php echo e(__('Edit IP')); ?>" class="edit-icon" data-original-title="<?php echo e(__('Edit')); ?>"><i class="ti ti-pencil text-white"></i></a> </div> <?php endif; // app('laratrust')->permission ?> <?php if (app('laratrust')->hasPermission('ip restrict delete')) : ?> <div class="action-btn"> <?php echo e(Form::open(['method' => 'DELETE', 'route' => ['iprestrict.destroy', $ip->id], 'class' => 'm-0'])); ?> <a class="mx-3 btn bg-danger btn-sm align-items-center bs-pass-para show_confirm" data-bs-toggle="tooltip" title="" data-bs-original-title="Delete" aria-label="Delete" data-confirm="<?php echo e(__('Are You Sure?')); ?>" data-text="<?php echo e(__('This action can not be undone. Do you want to continue?')); ?>" data-confirm-yes="delete-form-<?php echo e($ip->id); ?>"><i class="ti ti-trash text-white text-white"></i></a> <?php echo e(Form::close()); ?> </div> <?php endif; // app('laratrust')->permission ?> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <?php echo $__env->make('layouts.nodatafound', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> </tbody> </table> </div> </div> </div> </div> </div> <?php endif; // app('laratrust')->permission ?> <link rel="stylesheet" href="<?php echo e(asset('packages/workdo/Hrm/src/Resources/assets/css/custom.css')); ?>"> <script src="<?php echo e(asset('js/custom.js')); ?>"></script> <script> $(".hrm_setting_btn").click(function() { $("#hrm_setting_store").submit(); }); </script> <script> $(document).on('change', '#ip_restrict', function() { if ($(this).is(':checked')) { $('.ip_restrict_div').removeClass('d-none'); } else { $('.ip_restrict_div').addClass('d-none'); } }); </script> <?php /**PATH /home/id/erp.dev-unit.com/packages/workdo/Hrm/src/Providers/../Resources/views/company/settings/index.blade.php ENDPATH**/ ?>