whoami7 - Manager
:
/
home
/
kckglobal
/
public_html
/
portal
/
storage
/
framework
/
views
/
Upload File:
files >> /home/kckglobal/public_html/portal/storage/framework/views/124a259f0e83d9768da2f04659b83c1d.php
<div class="mt-3 chartHeading-org d-flex justify-content-between rounded-top"> <h3 class="mb-0 f-21 f-w-500"><?php echo app('translator')->get('modules.department.treeView'); ?></h3> <div class="heading-h3"> <i class="fa fa-compress" id="resize"></i> <i class="fa fa-expand" id="full_view"></i> </div> </div> <div id="chartDiv" class="pt-3 rounded-bottom" style="height:100%"></div> <script> chartTreeClass = $('#chartOrganization').attr('class'); if(chartTreeClass == 'col-md-12') { $('#full_view').hide(); $('#resize').show(); }else { $('#resize').hide(); } var chartValue = []; var departmentHierarchy = <?php echo $chartDepartments; ?>; var isRtl = "<?php echo e(isRtl('he-IL')); ?>"; for (var i = 0; i < departmentHierarchy.length; i++) { if (departmentHierarchy[i].parent_id == null) { chartValue.push({ x: departmentHierarchy[i].team_name, id: departmentHierarchy[i].id.toString(), }); } else { chartValue.push({ x: departmentHierarchy[i].team_name, id: departmentHierarchy[i].id.toString(), parent: departmentHierarchy[i].parent_id.toString(), }); } } var chart = JSC.chart('chartDiv', { debug: false, type: 'organizational', defaultCultureName: isRtl, /*These options will apply to all annotations including point nodes and breadcrumbs.*/ defaultAnnotation: { padding: [10, 30], margin: 10, minHeight: 41, maxHeight: 'auto', }, defaultSeries: { color: '#e0ffcc', mouseTracking: false, defaultPoint: { label_maxWidth: 70, /* Default line styling for connector lines */ connectorLine: { /* No radius on first angle, then 5px on the second angle. */ radius: [0, 5], color: '#000', width: 1, caps: { end: { type: 'arrow', size: 6 } } } } }, series: [{ defaultPoint: { outline: { color: '#<?php echo e($appTheme->header_color); ?>'}, color: '#fff', }, points: chartValue, }], toolbar: { defaultItem: { margin: 5, events_click: orientChart }, } }); function orientChart(direction) { chart.options({ type: 'organizational ' + direction }); } </script> <?php /**PATH /home/kckglobal/public_html/portal/resources/views/departments-hierarchy/chart_organization.blade.php ENDPATH**/ ?>
Copyright ©2021 || Defacer Indonesia