Commit 29c08486 by Lalang Trendy Buana Committed by nurchamim

modul: Library DataTable

status: selesai
keterangan:
1. upgrade library dataTable versi terbaru
2. bug fix UI dataTable
parent 64fade56
......@@ -35,7 +35,7 @@ class Data_diri_histori extends MY_Controller
{
$list = $this->model->get_datatables();
$data = array();
$no = $_POST['start'];
$no = $_GET['start'];
foreach ($list as $field) {
$no++;
$row = array();
......@@ -47,7 +47,7 @@ class Data_diri_histori extends MY_Controller
}
$output = array(
"draw" => $_POST['draw'],
"draw" => $_GET['draw'],
"recordsTotal" => $this->model->count_all(),
"recordsFiltered" => $this->model->count_filtered(),
"data" => $data
......
......@@ -35,7 +35,7 @@ class Data_kelengkapan_file_histori extends MY_Controller
{
$list = $this->model->get_datatables();
$data = array();
$no = $_POST['start'];
$no = $_GET['start'];
foreach ($list as $field) {
$no++;
$row = array();
......@@ -47,7 +47,7 @@ class Data_kelengkapan_file_histori extends MY_Controller
}
$output = array(
"draw" => $_POST['draw'],
"draw" => $_GET['draw'],
"recordsTotal" => $this->model->count_all(),
"recordsFiltered" => $this->model->count_filtered(),
"data" => $data
......
......@@ -34,7 +34,7 @@ class Data_keluarga_histori extends MY_Controller
{
$list = $this->model->get_datatables();
$data = array();
$no = $_POST['start'];
$no = $_GET['start'];
foreach ($list as $field) {
$no++;
$row = array();
......@@ -47,7 +47,7 @@ class Data_keluarga_histori extends MY_Controller
}
$output = array(
"draw" => $_POST['draw'],
"draw" => $_GET['draw'],
"recordsTotal" => $this->model->count_all(),
"recordsFiltered" => $this->model->count_filtered(),
"data" => $data
......
......@@ -34,7 +34,7 @@ class Data_sertifikat_histori extends MY_Controller
{
$list = $this->model->get_datatables();
$data = array();
$no = $_POST['start'];
$no = $_GET['start'];
foreach ($list as $field) {
$no++;
$row = array();
......@@ -46,7 +46,7 @@ class Data_sertifikat_histori extends MY_Controller
}
$output = array(
"draw" => $_POST['draw'],
"draw" => $_GET['draw'],
"recordsTotal" => $this->model->count_all(),
"recordsFiltered" => $this->model->count_filtered(),
"data" => $data
......
......@@ -34,7 +34,7 @@ class Pengalaman_kerja_histori extends MY_Controller
{
$list = $this->model->get_datatables();
$data = array();
$no = $_POST['start'];
$no = $_GET['start'];
foreach ($list as $field) {
$no++;
$row = array();
......@@ -49,7 +49,7 @@ class Pengalaman_kerja_histori extends MY_Controller
}
$output = array(
"draw" => $_POST['draw'],
"draw" => $_GET['draw'],
"recordsTotal" => $this->model->count_all(),
"recordsFiltered" => $this->model->count_filtered(),
"data" => $data
......
......@@ -34,7 +34,7 @@ class Riwayat_pendidikan_histori extends MY_Controller
{
$list = $this->model->get_datatables();
$data = array();
$no = $_POST['start'];
$no = $_GET['start'];
foreach ($list as $field) {
$no++;
$row = array();
......@@ -47,7 +47,7 @@ class Riwayat_pendidikan_histori extends MY_Controller
}
$output = array(
"draw" => $_POST['draw'],
"draw" => $_GET['draw'],
"recordsTotal" => $this->model->count_all(),
"recordsFiltered" => $this->model->count_filtered(),
"data" => $data
......
<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if (!defined('BASEPATH')) exit('No direct script access allowed');
class Data_diri_histori_m extends CI_Model {
class Data_diri_histori_m extends CI_Model
{
public $table = 'data_karyawan_h';
function get_datatables(){
function get_datatables()
{
$this->_get_datatables_query();
if($_POST['length'] != -1){
$this->db->limit($_POST['length'], $_POST['start']);
if ($_GET['length'] != -1) {
$this->db->limit($_GET['length'], $_GET['start']);
}
$query = $this->db->get();
return $query->result();
}
function count_filtered(){
function count_filtered()
{
$this->_get_datatables_query();
$query = $this->db->get();
return $query->num_rows();
}
public function count_all(){
public function count_all()
{
$this->db->select("id")->from($this->table);
$this->db->where("id_company",$this->session->userdata('id_company'));
$this->db->where("id_company", $this->session->userdata('id_company'));
$this->db->where('md5(id_karyawan)', $this->input->get('id_karyawan'));
return $this->db->count_all_results();
}
private function _get_datatables_query(){
private function _get_datatables_query()
{
$this->db->select("id, tgl_input")->from($this->table);
$this->db->where("id_company",$this->session->userdata('id_company'));
$this->db->where("id_company", $this->session->userdata('id_company'));
$this->db->where('md5(id_karyawan)', $this->input->get('id_karyawan'));
$column_search = array('tgl_input');
$i = 0;
foreach ($column_search as $item){ // looping awal
if($_POST['search']['value']){ // jika datatable mengirimkan pencarian dengan metode POST
foreach ($column_search as $item) { // looping awal
if ($_GET['search']['value']) { // jika datatable mengirimkan pencarian dengan metode POST
if($i===0){ // looping awal
if ($i === 0) { // looping awal
$this->db->group_start();
$this->db->like($item, $_POST['search']['value']);
}else{
$this->db->or_like($item, $_POST['search']['value']);
$this->db->like($item, $_GET['search']['value']);
} else {
$this->db->or_like($item, $_GET['search']['value']);
}
if(count($column_search) - 1 == $i){
if (count($column_search) - 1 == $i) {
$this->db->group_end();
}
}
$i++;
}
$column_order = array('','action','tgl_input','id');
$column_order = array('', 'action', 'tgl_input', 'id');
if(isset($_POST['order'])){
$this->db->order_by($column_order[$_POST['order']['0']['column']], $_POST['order']['0']['dir']);
}
else{
$order_by = array("tgl_input"=>"DESC");
if (isset($_GET['order'])) {
$this->db->order_by($column_order[$_GET['order']['0']['column']], $_GET['order']['0']['dir']);
} else {
$order_by = array("tgl_input" => "DESC");
$this->db->order_by(key($order_by), $order_by[key($order_by)]);
}
}
function get_data($id_md5) {
function get_data($id_md5)
{
$this->db->select('data_karyawan_h.id_karyawan,
data_karyawan_h.nik,
data_karyawan_h.nama_lengkap,
......@@ -95,10 +100,10 @@ class Data_diri_histori_m extends CI_Model {
master_kelurahan.nama as nama_kel,
master_provinsi.id_prov,
master_provinsi.nama as nama_prov');
$this->db->join("master_provinsi","master_provinsi.id_prov = data_karyawan_h.id_prov","LEFT");
$this->db->join("master_kota","master_kota.id_kota = data_karyawan_h.id_kab","LEFT");
$this->db->join("master_kecamatan","master_kecamatan.id_kecamatan = data_karyawan_h.id_kec","LEFT");
$this->db->join("master_kelurahan","master_kelurahan.id_kelurahan = data_karyawan_h.id_kel","LEFT");
$this->db->join("master_provinsi", "master_provinsi.id_prov = data_karyawan_h.id_prov", "LEFT");
$this->db->join("master_kota", "master_kota.id_kota = data_karyawan_h.id_kab", "LEFT");
$this->db->join("master_kecamatan", "master_kecamatan.id_kecamatan = data_karyawan_h.id_kec", "LEFT");
$this->db->join("master_kelurahan", "master_kelurahan.id_kelurahan = data_karyawan_h.id_kel", "LEFT");
$this->db->where('md5(id)', $id_md5);
return $this->db->get($this->table)->row();
}
......
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
class Data_kelengkapan_file_histori_m extends CI_Model {
class Data_kelengkapan_file_histori_m extends CI_Model
{
public $table = 'data_kelengkapan_file_h';
function get_datatables(){
function get_datatables()
{
$this->_get_datatables_query();
if($_POST['length'] != -1){
$this->db->limit($_POST['length'], $_POST['start']);
if ($_GET['length'] != -1) {
$this->db->limit($_GET['length'], $_GET['start']);
}
$query = $this->db->get();
return $query->result();
}
function count_filtered(){
function count_filtered()
{
$this->_get_datatables_query();
$query = $this->db->get();
return $query->num_rows();
}
public function count_all(){
public function count_all()
{
$this->db->select("id")->from($this->table);
$this->db->where("id_company",$this->session->userdata('id_company'));
$this->db->where("id_company", $this->session->userdata('id_company'));
return $this->db->count_all_results();
}
private function _get_datatables_query(){
private function _get_datatables_query()
{
$this->db->select("id, action, tanggal_input")->from($this->table);
$this->db->where("id_company",$this->session->userdata('id_company'));
$this->db->where("id_company", $this->session->userdata('id_company'));
$this->db->where('md5(id_karyawan)', $this->input->get('id_karyawan'));
$column_search = array('tanggal_input');
$i = 0;
foreach ($column_search as $item){ // looping awal
if($_POST['search']['value']){ // jika datatable mengirimkan pencarian dengan metode POST
foreach ($column_search as $item) { // looping awal
if ($_GET['search']['value']) { // jika datatable mengirimkan pencarian dengan metode POST
if($i===0){ // looping awal
if ($i === 0) { // looping awal
$this->db->group_start();
$this->db->like($item, $_POST['search']['value']);
}else{
$this->db->or_like($item, $_POST['search']['value']);
$this->db->like($item, $_GET['search']['value']);
} else {
$this->db->or_like($item, $_GET['search']['value']);
}
if(count($column_search) - 1 == $i){
if (count($column_search) - 1 == $i) {
$this->db->group_end();
}
}
$i++;
}
$column_order = array('','action','tanggal_input','id');
$column_order = array('', 'action', 'tanggal_input', 'id');
if(isset($_POST['order'])){
$this->db->order_by($column_order[$_POST['order']['0']['column']], $_POST['order']['0']['dir']);
}
else{
$order_by = array("tanggal_input"=>"DESC");
if (isset($_GET['order'])) {
$this->db->order_by($column_order[$_GET['order']['0']['column']], $_GET['order']['0']['dir']);
} else {
$order_by = array("tanggal_input" => "DESC");
$this->db->order_by(key($order_by), $order_by[key($order_by)]);
}
}
function get_data($id_md5) {
function get_data($id_md5)
{
$this->db->where('md5(id)', $id_md5);
return $this->db->get($this->table)->row();
}
......
<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if (!defined('BASEPATH')) exit('No direct script access allowed');
class Data_keluarga_histori_m extends CI_Model {
public $table = 'data_keluarga_h';
class Data_keluarga_histori_m extends CI_Model
{
public $table = 'data_keluarga_h';
function get_datatables(){
function get_datatables()
{
$this->_get_datatables_query();
if($_POST['length'] != -1){
$this->db->limit($_POST['length'], $_POST['start']);
if ($_GET['length'] != -1) {
$this->db->limit($_GET['length'], $_GET['start']);
}
$query = $this->db->get();
return $query->result();
}
function count_filtered(){
function count_filtered()
{
$this->_get_datatables_query();
$query = $this->db->get();
return $query->num_rows();
}
public function count_all(){
public function count_all()
{
$this->db->select("id")->from($this->table);
$this->db->where('id_karyawan', $this->input->get('id_karyawan'));
$this->db->where("id_company",$this->session->userdata('id_company'));
$this->db->where("id_company", $this->session->userdata('id_company'));
return $this->db->count_all_results();
}
private function _get_datatables_query(){
private function _get_datatables_query()
{
$this->db->select("id, action, hub_keluarga, tgl_input")->from($this->table);
$this->db->where('id_karyawan', $this->input->get('id_karyawan'));
$column_search = array('tgl_input');
$i = 0;
foreach ($column_search as $item){ // looping awal
if($_POST['search']['value']){ // jika datatable mengirimkan pencarian dengan metode POST
foreach ($column_search as $item) { // looping awal
if ($_GET['search']['value']) { // jika datatable mengirimkan pencarian dengan metode POST
if($i===0){ // looping awal
if ($i === 0) { // looping awal
$this->db->group_start();
$this->db->like($item, $_POST['search']['value']);
}else{
$this->db->or_like($item, $_POST['search']['value']);
$this->db->like($item, $_GET['search']['value']);
} else {
$this->db->or_like($item, $_GET['search']['value']);
}
if(count($column_search) - 1 == $i){
if (count($column_search) - 1 == $i) {
$this->db->group_end();
}
}
$i++;
}
$column_order = array('', 'action','hub_keluarga','tgl_input','id');
$column_order = array('', 'action', 'hub_keluarga', 'tgl_input', 'id');
if(isset($_POST['order'])){
$this->db->order_by($column_order[$_POST['order']['0']['column']], $_POST['order']['0']['dir']);
}
else{
$order_by = array("tgl_input"=>"DESC");
if (isset($_GET['order'])) {
$this->db->order_by($column_order[$_GET['order']['0']['column']], $_GET['order']['0']['dir']);
} else {
$order_by = array("tgl_input" => "DESC");
$this->db->order_by(key($order_by), $order_by[key($order_by)]);
}
}
function get_data($id_md5) {
function get_data($id_md5)
{
$this->db->where('md5(id)', $id_md5);
return $this->db->get($this->table)->row();
}
......
<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if (!defined('BASEPATH')) exit('No direct script access allowed');
class Data_sertifikat_histori_m extends CI_Model {
class Data_sertifikat_histori_m extends CI_Model
{
public $table = 'data_sertifikat_h';
function get_datatables(){
function get_datatables()
{
$this->_get_datatables_query();
if($_POST['length'] != -1){
$this->db->limit($_POST['length'], $_POST['start']);
if ($_GET['length'] != -1) {
$this->db->limit($_GET['length'], $_GET['start']);
}
$query = $this->db->get();
return $query->result();
}
function count_filtered(){
function count_filtered()
{
$this->_get_datatables_query();
$query = $this->db->get();
return $query->num_rows();
}
public function count_all(){
public function count_all()
{
$this->db->select("id")->from($this->table);
$this->db->where("id_company",$this->session->userdata('id_company'));
$this->db->where("id_company", $this->session->userdata('id_company'));
return $this->db->count_all_results();
}
private function _get_datatables_query(){
private function _get_datatables_query()
{
$this->db->select("id, action, tgl_input")->from($this->table);
$this->db->where('md5(id_karyawan)', $this->input->get('id_karyawan'));
$column_search = array('tgl_input');
$i = 0;
foreach ($column_search as $item){ // looping awal
if($_POST['search']['value']){ // jika datatable mengirimkan pencarian dengan metode POST
foreach ($column_search as $item) { // looping awal
if ($_GET['search']['value']) { // jika datatable mengirimkan pencarian dengan metode POST
if($i===0){ // looping awal
if ($i === 0) { // looping awal
$this->db->group_start();
$this->db->like($item, $_POST['search']['value']);
}else{
$this->db->or_like($item, $_POST['search']['value']);
$this->db->like($item, $_GET['search']['value']);
} else {
$this->db->or_like($item, $_GET['search']['value']);
}
if(count($column_search) - 1 == $i){
if (count($column_search) - 1 == $i) {
$this->db->group_end();
}
}
$i++;
}
$column_order = array('','action', 'tgl_input', 'id');
$column_order = array('', 'action', 'tgl_input', 'id');
if(isset($_POST['order'])){
$this->db->order_by($column_order[$_POST['order']['0']['column']], $_POST['order']['0']['dir']);
}
else{
$order_by = array("tgl_input"=>"DESC");
if (isset($_GET['order'])) {
$this->db->order_by($column_order[$_GET['order']['0']['column']], $_GET['order']['0']['dir']);
} else {
$order_by = array("tgl_input" => "DESC");
$this->db->order_by(key($order_by), $order_by[key($order_by)]);
}
}
function get_data($id_md5) {
function get_data($id_md5)
{
$this->db->where('md5(id)', $id_md5);
return $this->db->get($this->table)->row();
}
......
<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if (!defined('BASEPATH')) exit('No direct script access allowed');
class Pengalaman_kerja_histori_m extends CI_Model {
class Pengalaman_kerja_histori_m extends CI_Model
{
public $table = 'riwayat_pekerjaan_h';
function get_datatables(){
function get_datatables()
{
$this->_get_datatables_query();
if($_POST['length'] != -1){
$this->db->limit($_POST['length'], $_POST['start']);
if ($_GET['length'] != -1) {
$this->db->limit($_GET['length'], $_GET['start']);
}
$query = $this->db->get();
return $query->result();
}
function count_filtered(){
function count_filtered()
{
$this->_get_datatables_query();
$query = $this->db->get();
return $query->num_rows();
}
public function count_all(){
public function count_all()
{
$this->db->select("id")->from($this->table);
$this->db->where("id_company",$this->session->userdata('id_company'));
$this->db->where("id_company", $this->session->userdata('id_company'));
return $this->db->count_all_results();
}
private function _get_datatables_query(){
private function _get_datatables_query()
{
$this->db->select("id, nama_perusahaan, jenis_perusahaan, jabatan, action, tgl_input")->from($this->table);
$this->db->where('md5(id_karyawan)', $this->input->get('id_karyawan'));
$column_search = array('tgl_input');
$i = 0;
foreach ($column_search as $item){ // looping awal
if($_POST['search']['value']){ // jika datatable mengirimkan pencarian dengan metode POST
foreach ($column_search as $item) { // looping awal
if ($_GET['search']['value']) { // jika datatable mengirimkan pencarian dengan metode POST
if($i===0){ // looping awal
if ($i === 0) { // looping awal
$this->db->group_start();
$this->db->like($item, $_POST['search']['value']);
}else{
$this->db->or_like($item, $_POST['search']['value']);
$this->db->like($item, $_GET['search']['value']);
} else {
$this->db->or_like($item, $_GET['search']['value']);
}
if(count($column_search) - 1 == $i){
if (count($column_search) - 1 == $i) {
$this->db->group_end();
}
}
$i++;
}
$column_order = array('','action', 'nama_perusahaan','jenis_perusahaan','jabatan', 'tgl_input', 'id');
$column_order = array('', 'action', 'nama_perusahaan', 'jenis_perusahaan', 'jabatan', 'tgl_input', 'id');
if(isset($_POST['order'])){
$this->db->order_by($column_order[$_POST['order']['0']['column']], $_POST['order']['0']['dir']);
}
else{
$order_by = array("tgl_input"=>"DESC");
if (isset($_GET['order'])) {
$this->db->order_by($column_order[$_GET['order']['0']['column']], $_GET['order']['0']['dir']);
} else {
$order_by = array("tgl_input" => "DESC");
$this->db->order_by(key($order_by), $order_by[key($order_by)]);
}
}
function get_data($id_md5) {
function get_data($id_md5)
{
$this->db->select('*, kota.nama as nama_kota, provinsi.nama as nama_provinsi');
$this->db->join('master_kota kota', 'kota.id_kota = riwayat_pekerjaan_h.kota', 'left');
$this->db->join('master_provinsi provinsi', 'provinsi.id_prov = riwayat_pekerjaan_h.provinsi', 'left');
......
<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
if (!defined('BASEPATH')) exit('No direct script access allowed');
class Riwayat_pendidikan_histori_m extends CI_Model {
class Riwayat_pendidikan_histori_m extends CI_Model
{
public $table = 'riwayat_pendidikan_h';
function get_datatables(){
function get_datatables()
{
$this->_get_datatables_query();
if($_POST['length'] != -1){
$this->db->limit($_POST['length'], $_POST['start']);
if ($_GET['length'] != -1) {
$this->db->limit($_GET['length'], $_GET['start']);
}
$query = $this->db->get();
return $query->result();
}
function count_filtered(){
function count_filtered()
{
$this->_get_datatables_query();
$query = $this->db->get();
return $query->num_rows();
}
public function count_all(){
public function count_all()
{
$this->db->select("id")->from($this->table);
$this->db->where("id_company",$this->session->userdata('id_company'));
$this->db->where("id_company", $this->session->userdata('id_company'));
return $this->db->count_all_results();
}
private function _get_datatables_query(){
private function _get_datatables_query()
{
$this->db->select("id, action, jenjang, tgl_input")->from($this->table);
$this->db->where('md5(id_karyawan)', $this->input->get('id_karyawan'));
$column_search = array('tgl_input');
$i = 0;
foreach ($column_search as $item){ // looping awal
if($_POST['search']['value']){ // jika datatable mengirimkan pencarian dengan metode POST
foreach ($column_search as $item) { // looping awal
if ($_GET['search']['value']) { // jika datatable mengirimkan pencarian dengan metode POST
if($i===0){ // looping awal
if ($i === 0) { // looping awal
$this->db->group_start();
$this->db->like($item, $_POST['search']['value']);
}else{
$this->db->or_like($item, $_POST['search']['value']);
$this->db->like($item, $_GET['search']['value']);
} else {
$this->db->or_like($item, $_GET['search']['value']);
}
if(count($column_search) - 1 == $i){
if (count($column_search) - 1 == $i) {
$this->db->group_end();
}
}
$i++;
}
$column_order = array('', 'action', 'jenjang','tgl_input','id');
$column_order = array('', 'action', 'jenjang', 'tgl_input', 'id');
if(isset($_POST['order'])){
$this->db->order_by($column_order[$_POST['order']['0']['column']], $_POST['order']['0']['dir']);
}
else{
$order_by = array("tgl_input"=>"DESC");
if (isset($_GET['order'])) {
$this->db->order_by($column_order[$_GET['order']['0']['column']], $_GET['order']['0']['dir']);
} else {
$order_by = array("tgl_input" => "DESC");
$this->db->order_by(key($order_by), $order_by[key($order_by)]);
}
}
function get_data($id_md5) {
function get_data($id_md5)
{
$this->db->where('md5(id)', $id_md5);
return $this->db->get($this->table)->row();
}
......
<script type="text/javascript">
$(document).ready(function() {
$(".download").click(function() {
$(document).ready(function () {
$(".download").click(function () {
var jenis = $(this).attr('id');
window.location.href = "<?= route('laporan.absensi.download').'?periode_awal='.$periode_awal.'&periode_akhir='.$periode_akhir.'&hadir='.$hadir.'&terlambat='.$terlambat.'&pc='.$pc.'&tap='.$tap.'&alpa='.$alpa.'&sakit='.$sakit.'&izin='.$izin.'&cuti='.$cuti.'&libur='.$libur.'&id_karyawan='.$id_karyawan.'&id_cabang='.$id_cabang.'&id_departemen='.$id_departemen ?>"+"&jenis="+jenis;
window.location.href = "<?= route('laporan.absensi.download') . '?periode_awal=' . $periode_awal . '&periode_akhir=' . $periode_akhir . '&hadir=' . $hadir . '&terlambat=' . $terlambat . '&pc=' . $pc . '&tap=' . $tap . '&alpa=' . $alpa . '&sakit=' . $sakit . '&izin=' . $izin . '&cuti=' . $cuti . '&libur=' . $libur . '&id_karyawan=' . $id_karyawan . '&id_cabang=' . $id_cabang . '&id_departemen=' . $id_departemen ?>" + "&jenis=" + jenis;
});
});
</script>
......@@ -13,7 +13,7 @@
<button type="button" class="btn btn-primary download" id="pdf" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-download"></i> <?= $this->lang->line('button_unduh') ?>
</button>
<?php }else{ ?>
<?php } else { ?>
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-download"></i> <?= $this->lang->line('button_unduh') ?>
</button>
......@@ -52,7 +52,7 @@
var m_jam_kerja_libur = <?= $m_jam_kerja_libur ?>;
var m_libur_nasional = <?= $m_libur_nasional ?>;
$(function() {
$(function () {
table = $('#list_data').DataTable({
'searching': false,
'paging': true,
......@@ -61,10 +61,10 @@
'info': true,
'scrollX': true,
'language': {
<?php if ($this->code_lang == 'id') : ?> 'url': '<?= base_url("assets/plugins/datatables/dataTables-language-id.json") ?>',
<?php if ($this->code_lang == 'id'): ?> 'url': '<?= base_url("assets/plugins/datatables/dataTables-language-id.json") ?>',
'sEmptyTable': 'Tidak ada data untuk ditampilkan',
'searchPlaceholder': 'Kode/Nama'
<?php else : ?> 'searchPlaceholder': 'Code/Name'
<?php else: ?> 'searchPlaceholder': 'Code/Name'
<?php endif; ?>
},
"processing": true,
......@@ -72,25 +72,25 @@
"order": [],
"ajax": {
"url": "<?= route('laporan.absensi.data.list').'?periode_awal='.$periode_awal.'&periode_akhir='.$periode_akhir.'&hadir='.$hadir.'&terlambat='.$terlambat.'&pc='.$pc.'&tap='.$tap.'&alpa='.$alpa.'&sakit='.$sakit.'&izin='.$izin.'&cuti='.$cuti.'&libur='.$libur.'&id_karyawan='.$id_karyawan.'&id_cabang='.$id_cabang.'&id_departemen='.$id_departemen ?>",
"url": "<?= route('laporan.absensi.data.list') . '?periode_awal=' . $periode_awal . '&periode_akhir=' . $periode_akhir . '&hadir=' . $hadir . '&terlambat=' . $terlambat . '&pc=' . $pc . '&tap=' . $tap . '&alpa=' . $alpa . '&sakit=' . $sakit . '&izin=' . $izin . '&cuti=' . $cuti . '&libur=' . $libur . '&id_karyawan=' . $id_karyawan . '&id_cabang=' . $id_cabang . '&id_departemen=' . $id_departemen ?>",
"type": "GET",
},
"aoColumnDefs": [{
'bSortable': false,
'aTargets': ['no-sort']
}],
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$('td:eq(0)', nRow).css({'width': '10px','text-align': 'center','vertical-align':'top'});
$('td:eq(1)', nRow).css({'width': '100px','text-align': 'center','vertical-align':'top'});
$('td:eq(2)', nRow).css({'text-align': 'left','vertical-align':'top'});
$('td:eq(3)', nRow).css({'width': '200px','text-align': 'left','vertical-align':'top'});
$('td:eq(4)', nRow).css({'width': '120px','text-align': 'center','vertical-align':'top'});
$('td:eq(5)', nRow).css({'width': '120px','text-align': 'center','vertical-align':'top'});
$('td:eq(6)', nRow).css({'width': '120px','text-align': 'center','vertical-align':'top'});
$('td:eq(7)', nRow).css({'width': '120px','text-align': 'center','vertical-align':'top'});
$('td:eq(8)', nRow).css({'width': '120px','text-align': 'center','vertical-align':'top'});
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$('td:eq(0)', nRow).css({ 'width': '10px', 'text-align': 'center', 'vertical-align': 'top' });
$('td:eq(1)', nRow).css({ 'width': '100px', 'text-align': 'center', 'vertical-align': 'top' });
$('td:eq(2)', nRow).css({ 'text-align': 'left', 'vertical-align': 'top' });
$('td:eq(3)', nRow).css({ 'width': '200px', 'text-align': 'left', 'vertical-align': 'top' });
$('td:eq(4)', nRow).css({ 'width': '120px', 'text-align': 'center', 'vertical-align': 'top' });
$('td:eq(5)', nRow).css({ 'width': '120px', 'text-align': 'center', 'vertical-align': 'top' });
$('td:eq(6)', nRow).css({ 'width': '120px', 'text-align': 'center', 'vertical-align': 'top' });
$('td:eq(7)', nRow).css({ 'width': '120px', 'text-align': 'center', 'vertical-align': 'top' });
$('td:eq(8)', nRow).css({ 'width': '120px', 'text-align': 'center', 'vertical-align': 'top' });
<?php if ($this->level_user == 1) { ?>
$('td:eq(-1)', nRow).css({'width': '10px','text-align': 'center'});
$('td:eq(-1)', nRow).css({ 'width': '10px', 'text-align': 'center' });
<?php } ?>
set_background_libur(aData[1], nRow);
},
......@@ -103,7 +103,7 @@
var week_of_day = moment(tanggal, "DD-MM-YYYY").format("E");
var y_m_d = moment(tanggal, "DD-MM-YYYY").format("YYYY-MM-DD");
if(m_jam_kerja_libur.includes(week_of_day) || m_libur_nasional.includes(y_m_d)) {
if (m_jam_kerja_libur.includes(week_of_day) || m_libur_nasional.includes(y_m_d)) {
$(row).css('background-color', '<?= $this->config->item("warna_background_libur") ?>');
}
}
......
<style>
.table th, .table td {
.table th,
.table td {
padding: 0.75rem !important;
}
</style>
<script type="text/javascript">
$(document).ready(function() {
$(document).ready(function () {
// total_approval();
$(document).on('click','.btn_revisi',function(){
$(document).on('click', '.btn_revisi', function () {
$("#form_input #id_revisi").val($(this).attr("baris-ke"));
$("#ket_revisi_modal").val("");
$('#modal_revisi').modal({backdrop: 'static', keyboard: false});
$('#modal_revisi').modal({ backdrop: 'static', keyboard: false });
$('#modal_revisi').modal('show');
});
$(document).on('click','.btn_submit_revisi',function(){
$(document).on('click', '.btn_submit_revisi', function () {
row = $("#form_input #id_revisi").val();
ket_revisi = $("#ket_revisi_modal").val();
// validasi keterangan
if (ket_revisi == '') {
$("#msg_modal_revisi").attr("class","show");
$("#msg_modal_revisi").attr("class", "show");
$("#ket_revisi_modal").focus();
}else{
} else {
// kolom tolak
$("#kolom_ditolak_"+row).text("");
$("#ket_ditolak_"+row).val("");
$("#kolom_ditolak_" + row).text("");
$("#ket_ditolak_" + row).val("");
// kolom revisi
$("#kolom_"+row).text(ket_revisi);
$("#ket_revisi_"+row).val(ket_revisi);
$("#kolom_" + row).text(ket_revisi);
$("#ket_revisi_" + row).val(ket_revisi);
// kolom approve
$("#kolom_approve_"+row).text("");
$("#ket_approve_"+row).val("");
$("#kolom_approve_" + row).text("");
$("#ket_approve_" + row).val("");
// show msg
$("#msg_modal_revisi").attr("class","hidden");
$("#msg_modal_revisi").attr("class", "hidden");
$('#modal_revisi').modal('hide');
}
//document.getElementById('revisi_'+row).style.backgroundColor = 'yellow';
});
$(document).on('click','.btn_ditolak',function(){
$(document).on('click', '.btn_ditolak', function () {
$("#form_ditolak #id_ditolak").val($(this).attr("baris-ke"));
$("#ket_ditolak_modal").val("");
$('#modal_ditolak').modal({backdrop: 'static', keyboard: false});
$('#modal_ditolak').modal({ backdrop: 'static', keyboard: false });
$('#modal_ditolak').modal('show');
});
$(document).on('click','.btn_submit_ditolak',function(){
$(document).on('click', '.btn_submit_ditolak', function () {
row = $("#form_ditolak #id_ditolak").val();
ket_ditolak = $("#ket_ditolak_modal").val();
// validasi keterangan
if (ket_ditolak == '') {
$("#msg_modal_ditolak").attr("class","show");
$("#msg_modal_ditolak").attr("class", "show");
$("#ket_ditolak_modal").focus();
}else{
} else {
// kolom tolak
$("#kolom_ditolak_"+row).text(ket_ditolak);
$("#ket_ditolak_"+row).val(ket_ditolak);
$("#kolom_ditolak_" + row).text(ket_ditolak);
$("#ket_ditolak_" + row).val(ket_ditolak);
// kolom revisi
$("#kolom_"+row).text("");
$("#ket_revisi_"+row).val("");
$("#kolom_" + row).text("");
$("#ket_revisi_" + row).val("");
// kolom approve
$("#kolom_approve_"+row).text("");
$("#ket_approve_"+row).val("");
$("#kolom_approve_" + row).text("");
$("#ket_approve_" + row).val("");
// show msg
$("#msg_modal_ditolak").attr("class","hidden");
$("#msg_modal_ditolak").attr("class", "hidden");
$('#modal_ditolak').modal('hide');
}
......@@ -74,25 +75,25 @@
});
$(document).on('click','.btn_approve',function(){
$(document).on('click', '.btn_approve', function () {
$("#form_approve #id_approve").val($(this).attr("baris-ke"));
$("#ket_approve_modal").val("");
$('#modal_approve').modal({backdrop: 'static', keyboard: false});
$('#modal_approve').modal({ backdrop: 'static', keyboard: false });
$('#modal_approve').modal('show');
});
$(document).on('click','.btn_submit_approve',function(){
$(document).on('click', '.btn_submit_approve', function () {
row = $("#form_approve #id_approve").val();
ket_approve = $("#ket_approve_modal").val();
// kolom tolak
$("#kolom_ditolak_"+row).text("");
$("#ket_ditolak_"+row).val("");
$("#kolom_ditolak_" + row).text("");
$("#ket_ditolak_" + row).val("");
// kolom revisi
$("#kolom_"+row).text("");
$("#ket_revisi_"+row).val("");
$("#kolom_" + row).text("");
$("#ket_revisi_" + row).val("");
// kolom approve
$("#kolom_approve_"+row).text(ket_approve);
$("#ket_approve_"+row).val(ket_approve);
$("#kolom_approve_" + row).text(ket_approve);
$("#ket_approve_" + row).val(ket_approve);
$('#modal_approve').modal('hide');
// $("#akun_"+row).prop("disabled",false);
// $("#akun_"+row).val('');
......@@ -100,22 +101,22 @@
});
//nominal approval
$(document).on('click','.btn_nominal',function(){
$(document).on('click', '.btn_nominal', function () {
var no = $(this).attr("baris-ke");
var max = $("#max_plafon_"+no).val();
var nominal = $("#nominal_setuju_"+no).val();
var max = $("#max_plafon_" + no).val();
var nominal = $("#nominal_setuju_" + no).val();
$("#form_input_nominal #id_setuju").val(no);
$("#nominal_setuju_modal").val(nominal);
$("#max_plafon_modal").html("<p id='max_plafon_modal' style='color: red;'>*) Maksimal Nominal Plafon : <b>"+ max +"</b></p>");
$("#max_plafon_modal").html("<p id='max_plafon_modal' style='color: red;'>*) Maksimal Nominal Plafon : <b>" + max + "</b></p>");
$('#modal_nominal').modal('show');
});
$(document).on('click','.btn_submit_nominal',function(){
$(document).on('click', '.btn_submit_nominal', function () {
row = $("#form_input_nominal #id_setuju").val();
nominal = $("#nominal_setuju_modal").val();
asli = numberWithCommas(nominal);
$("#setuju_"+row).html(asli+"<a class='fa fa-edit btn_nominal' id='nominal' baris-ke='"+ row +"' style='cursor: pointer'></a>");
$("#nominal_setuju_"+row).val(nominal);
$("#setuju_" + row).html(asli + "<a class='fa fa-edit btn_nominal' id='nominal' baris-ke='" + row + "' style='cursor: pointer'></a>");
$("#nominal_setuju_" + row).val(nominal);
total_approval();
$('#modal_nominal').modal('hide');
});
......@@ -132,7 +133,7 @@
function total_approval() {
var jumlah = 0;
$.each($('.nominal_setuju'), function(){
$.each($('.nominal_setuju'), function () {
var myStr = $(this).val();
var newStr = myStr.replace(/\./g, '');
jumlah += parseInt(newStr);
......@@ -140,49 +141,49 @@
$("#total_approval").html(total_number(jumlah));
}
function hapus_kolom(row,modal) {
function hapus_kolom(row, modal) {
// kolom tolak
$("#kolom_ditolak_"+row).text("");
$("#ket_ditolak_"+row).val("");
$("#msg_modal_ditolak").attr("class","hidden");
$("#kolom_ditolak_" + row).text("");
$("#ket_ditolak_" + row).val("");
$("#msg_modal_ditolak").attr("class", "hidden");
// kolom revisi
$("#kolom_"+row).text("");
$("#ket_revisi_"+row).val("");
$("#msg_modal_revisi").attr("class","hidden");
$("#kolom_" + row).text("");
$("#ket_revisi_" + row).val("");
$("#msg_modal_revisi").attr("class", "hidden");
// kolom approve
$("#kolom_approve_"+row).text("");
$("#ket_approve_"+row).val("");
$("#kolom_approve_" + row).text("");
$("#ket_approve_" + row).val("");
$("input:radio[baris-ke="+row+"]").prop('checked',false);
$("input:radio[baris-ke=" + row + "]").prop('checked', false);
}
$(document).ready(function(e) {
$(document).ready(function (e) {
$("#form-hod").on('submit', (function(e) {
$("#form-hod").on('submit', (function (e) {
e.preventDefault();
var loading = Ladda.create(document.getElementById("btn_submit"));
loading.start();
var checked=[];
var unchecked=[];
var checked = [];
var unchecked = [];
$("input:radio").each(function(index){
$("input:radio").each(function (index) {
var name = $(this).attr('name');
if($("input:radio[name="+name+"]:checked ").length == 1 ){
if ($("input:radio[name=" + name + "]:checked ").length == 1) {
checked.push(name);
console.log("CHECKED =>"+name);
}else{
console.log("CHECKED =>" + name);
} else {
unchecked.push(name);
console.log("UNCHECKED =>"+name);
console.log("UNCHECKED =>" + name);
}
});
if(unchecked.length === 0){
if (unchecked.length === 0) {
$.ajax({
url: "<?= route('reimburse.save') ?>",
type: "POST",
......@@ -191,31 +192,31 @@
cache: false,
dataType: 'json',
processData: false,
success: function(result) {
if(result.success == true) {
success: function (result) {
if (result.success == true) {
// $('#btn_submit').prop("disabled", true);
$('#btn_submit').hide();
$('form input[type="radio"]').prop("disabled", true);
}
$("#msg_alert_submit").html(result.message);
$("#msg_alert_submit").attr("class","pr-2 show");
$("#msg_alert_submit").attr("class", "pr-2 show");
// $('#modal_message #message').html(result.message);
// $("#modal_message").modal('show');
loading.stop();
},
error: function() {
error: function () {
loading.stop();
$("#msg_alert_submit").html('<font color="#eb3a28"><i class="fa fa-close (alias)">&nbsp;</i><strong>Gagal : Terjadi Kesalahan</strong></font>');
$("#msg_alert_submit").attr("class","pr-2 show");
$("#msg_alert_submit").attr("class", "pr-2 show");
// $('#modal_message #message').html('<font color="#eb3a28"><i class="fa fa-close (alias)">&nbsp;</i><strong>Gagal : Terjadi Kesalahan</strong></font>');
// $("#modal_message").modal('show');
}
});
}else{
} else {
loading.stop();
$("#msg_alert_submit").html('<font color="#eb3a28"><i class="fa fa-close (alias)">&nbsp;</i><strong>Pilihan approval harus terisi semua</strong></font>');
$("#msg_alert_submit").attr("class","pr-2 show");
$("#msg_alert_submit").attr("class", "pr-2 show");
// $('#modal_message #message').html('<font color="#eb3a28"><i class="fa fa-close (alias)">&nbsp;</i><strong>Pilihan approval harus terisi semua</strong></font>');
// $("#modal_message").modal('show');
}
......@@ -256,33 +257,33 @@
<div class="col-md-6">
<div class="row">
<div class="col-md-4" style="color: black; font-weight: bold;">Nama Karyawan</div>
<div class="col-md-8" style="color: black; font-weight: bold;">: <?= ((isset($data_pengajuan->nama_karyawan))?$data_pengajuan->nik." - ".$data_pengajuan->nama_karyawan:"") ?></div>
<div class="col-md-8" style="color: black; font-weight: bold;">: <?= ((isset($data_pengajuan->nama_karyawan)) ? $data_pengajuan->nik . " - " . $data_pengajuan->nama_karyawan : "") ?></div>
</div>
<div class="row">
<div class="col-md-4" style="color: black; font-weight: bold;">Jabatan</div>
<div class="col-md-8" style="color: black; font-weight: bold;">: <?= ((isset($data_pengajuan->nama_jabatan))?$data_pengajuan->kode_jabatan." - ".$data_pengajuan->nama_jabatan:"") ?></div>
<div class="col-md-8" style="color: black; font-weight: bold;">: <?= ((isset($data_pengajuan->nama_jabatan)) ? $data_pengajuan->kode_jabatan . " - " . $data_pengajuan->nama_jabatan : "") ?></div>
</div>
<div class="row">
<div class="col-md-4" style="color: black; font-weight: bold;">Cabang</div>
<div class="col-md-8" style="color: black; font-weight: bold;">: <?= ((isset($data_pengajuan->nama_cabang))?$data_pengajuan->kode_cabang." - ".$data_pengajuan->nama_cabang:"") ?></div>
<div class="col-md-8" style="color: black; font-weight: bold;">: <?= ((isset($data_pengajuan->nama_cabang)) ? $data_pengajuan->kode_cabang . " - " . $data_pengajuan->nama_cabang : "") ?></div>
</div>
<div class="row">
<div class="col-md-4" style="color: black; font-weight: bold;">Departemen</div>
<div class="col-md-8" style="color: black; font-weight: bold;">: <?= ((isset($data_pengajuan->departemen_karyawan))?$data_pengajuan->kode_departemen." - ".$data_pengajuan->departemen_karyawan:"") ?></div>
<div class="col-md-8" style="color: black; font-weight: bold;">: <?= ((isset($data_pengajuan->departemen_karyawan)) ? $data_pengajuan->kode_departemen . " - " . $data_pengajuan->departemen_karyawan : "") ?></div>
</div>
</div>
<div class="col-md-6">
<div class="row">
<div class="col-md-4" style="color: black; font-weight: bold;">Nomor Pengajaun</div>
<div class="col-md-8" style="color: black; font-weight: bold;">: <?= ((isset($data_pengajuan->no_pengajuan))?$data_pengajuan->no_pengajuan:"") ?></div>
<div class="col-md-8" style="color: black; font-weight: bold;">: <?= ((isset($data_pengajuan->no_pengajuan)) ? $data_pengajuan->no_pengajuan : "") ?></div>
</div>
<div class="row">
<div class="col-md-4" style="color: black; font-weight: bold;">Tanggal Pengajuan</div>
<div class="col-md-8" style="color: black; font-weight: bold;">: <?= ((isset($data_pengajuan->tgl_pengajuan))?date_format(date_create($data_pengajuan->tgl_pengajuan),"d-m-Y"):"") ?></div>
<div class="col-md-8" style="color: black; font-weight: bold;">: <?= ((isset($data_pengajuan->tgl_pengajuan)) ? date_format(date_create($data_pengajuan->tgl_pengajuan), "d-m-Y") : "") ?></div>
</div>
<div class="row">
<div class="col-md-4" style="color: black; font-weight: bold;">Keterangan</div>
<div class="col-md-8" style="color: black; font-weight: bold;">: <?= ((isset($data_pengajuan->keterangan))?$data_pengajuan->keterangan:"") ?></div>
<div class="col-md-8" style="color: black; font-weight: bold;">: <?= ((isset($data_pengajuan->keterangan)) ? $data_pengajuan->keterangan : "") ?></div>
</div>
</div>
</div><br>
......@@ -290,7 +291,8 @@
<div class="row">
<div class="col-md-12" style="overflow-x: auto;">
<form id="form-hod">
<input type="hidden" id="id_pengajuan_reimburse" name="id_pengajuan_reimburse" value="<?= ((isset($data_pengajuan->id))?$data_pengajuan->id:"") ?>">
<input type="hidden" id="id_pengajuan_reimburse" name="id_pengajuan_reimburse" value="<?= ((isset($data_pengajuan->id)) ? $data_pengajuan->id : "") ?>">
<div class="table-responsive">
<table class="table table-bordered table-hover" style="width: 100%;">
<thead style="background-color: #1c77d4; color:#fff; font-weight:600;">
<tr class="bg-tr">
......@@ -308,7 +310,7 @@
}
?>
<th class="text-center">BUKTI NOTA</th>
<?php if ((($approve_sebagai == 4 && $this->adm_reimbursement == true && $status == "1") || ($status != "1" && $this->adm_reimbursement == true) && $aktif == "reimburse")) {?>
<?php if ((($approve_sebagai == 4 && $this->adm_reimbursement == true && $status == "1") || ($status != "1" && $this->adm_reimbursement == true) && $aktif == "reimburse")) { ?>
<th class="text-center">AKUN REIMBURSEMENT</th>
<?php } ?>
<th class="text-center">KETERANGAN<br>DITOLAK</th>
......@@ -316,7 +318,7 @@
<?php if ($approve_sebagai != 4) { ?>
<th class="text-center">KETERANGAN<br>APPROVE</th>
<?php
}else{
} else {
?>
<th class="text-center">CATATAN<br>APPROVE</th>
<?php } ?>
......@@ -329,53 +331,44 @@
<?php
$total_pengajuan = 0;
$total_approval = 0;
$no=0; // penomoran data table
$no = 0; // penomoran data table
// $ke_=0; // penomoran id termasuk data yang tidak tampil
foreach($list_pengajuan as $rows){
foreach ($list_pengajuan as $rows) {
// $ke_++;
if ($this->level_user == "7") {
$apv_user = $rows->apv_spv;
}else if($this->level_user == "2"){
} else if ($this->level_user == "2") {
$apv_user = $rows->apv_kedep;
}else if($this->level_user == "5"){
} else if ($this->level_user == "5") {
$apv_user = $rows->apv_kacab;
}else if($this->level_user == "4"){
} else if ($this->level_user == "4") {
$apv_user = $rows->apv_direksi;
}else{
} else {
$apv_user = "";
}
// tolak sebagai
switch ($tolak_sebagai[($no+1)]) {
switch ($tolak_sebagai[($no + 1)]) {
case 0:
$apv_user_sebelumnya = $rows->apv_spv;
break;
case 1:
$apv_user_sebelumnya = $rows->apv_kedep;
break;
case 2:
$apv_user_sebelumnya = $rows->apv_kacab;
break;
case 3:
$apv_user_sebelumnya = $rows->apv_direksi;
break;
case 4:
$apv_user_sebelumnya = $rows->apv_finance;
break;
default:
$apv_user_sebelumnya = '';
break;
}
// catatan approval / keterangan approval
$catatan = '<br><br><b>CATATAN '.$ket_arr[1].'</b><br>';
$catatan = '<br><br><b>CATATAN ' . $ket_arr[1] . '</b><br>';
switch ($ket_arr[0]) {
case 0:
// spv
......@@ -386,7 +379,6 @@
// $ket_revisi = $rows->ket_rev_spv;
// $ket_tolak = $rows->ket_tolak_spv;
break;
case 1:
// kedep
$ket_approve = $rows->ket_apv_kedep;
......@@ -396,7 +388,6 @@
// $ket_revisi = $rows->ket_rev_kedep;
// $ket_tolak = $rows->ket_tolak_kedep;
break;
case 2:
// kacab
$ket_approve = $rows->ket_apv_kacab;
......@@ -406,7 +397,6 @@
// $ket_revisi = $rows->ket_rev_kacab;
// $ket_tolak = $rows->ket_tolak_kacab;
break;
case 3:
// direksi
$ket_approve = $rows->ket_apv_direksi;
......@@ -416,7 +406,6 @@
// $ket_revisi = $rows->ket_rev_direksi;
// $ket_tolak = $rows->ket_tolak_direksi;
break;
case 4:
// adm finance
$ket_approve = $rows->ket_apv_finance;
......@@ -424,69 +413,64 @@
$apv_user_sebelumnya = $rows->apv_finance;
}
break;
default:
$apv_user_sebelumnya = '';
$ket_approve = '';
break;
}
// jika klik verifikasi sebagai spv
if ($approve_sebagai == 0) {
$catatan = '';
}else{
} else {
// cek jika ada catatan
if (!empty($ket_approve)) {
$catatan .= $ket_approve;
}else{
} else {
$catatan = '';
}
}
// jika data tidak ditolak
if ($apv_user_sebelumnya != '3' || $status != '1') {
$no++;
$total_pengajuan = $total_pengajuan + $rows->nominal;
$total_approval = $total_approval + $rows->nominal_disetujui;
$isHidden = '';
}else{
} else {
$isHidden = 'hidden';
}
if ($isHidden != "hidden") {
?>
<tr id="rows_colom">
<input type="hidden" id="id_reimburse_<?= $no ?>" name="id_reimburse_<?= $no ?>" value="<?= $rows->id ?>">
<input type="hidden" id="nm_plafon_<?= $no ?>" name="nm_plafon_<?= $no ?>" value="<?=$rows->jenis_plafon ?>">
<input type="hidden" id="nm_plafon_<?= $no ?>" name="nm_plafon_<?= $no ?>" value="<?= $rows->jenis_plafon ?>">
<?php
if ($apv_user_sebelumnya == '3' && $status != '1') {
?>
<input type="hidden" id="ket_ditolak_<?= $no ?>" name="ket_ditolak_<?= $no ?>" value="<?= $ket_tolak ?>">
<?php
}else{
} else {
?>
<input type="hidden" id="ket_ditolak_<?= $no ?>" name="ket_ditolak_<?= $no ?>" value="">
<?php
}
?>
<?php
if ($apv_user_sebelumnya == '4' && $status != '1') {
?>
<input type="hidden" id="ket_revisi_<?= $no ?>" name="ket_revisi_<?= $no ?>" value="<?= $ket_revisi ?>">
<?php
}else{
} else {
?>
<input type="hidden" id="ket_revisi_<?= $no ?>" name="ket_revisi_<?= $no ?>" value="">
<?php
}
?>
<?php
if ($apv_user_sebelumnya == '5' && $status != '1') {
?>
<input type="hidden" id="ket_approve_<?= $no ?>" name="ket_approve_<?= $no ?>" value="<?= $ket_approve ?>">
<?php
}else{
} else {
?>
<input type="hidden" id="ket_approve_<?= $no ?>" name="ket_approve_<?= $no ?>" value="">
<?php
......@@ -495,18 +479,18 @@
<?php
if ($rows->nominal_disetujui != 0) {
$nominal_asli = $rows->nominal_disetujui;
}else{
} else {
$nominal_asli = $rows->nominal;
}
?>
<input type="hidden" class="nominal_setuju" id="nominal_setuju_<?= $no ?>" name="nominal_setuju_<?= $no ?>" value="<?= number_format($nominal_asli,0,',','.') ?>">
<input type="hidden" id="max_plafon_<?= $no ?>" value="<?= number_format($rows->max_nominal_plafon,0,',','.') ?>">
<input type="hidden" class="nominal_setuju" id="nominal_setuju_<?= $no ?>" name="nominal_setuju_<?= $no ?>" value="<?= number_format($nominal_asli, 0, ',', '.') ?>">
<input type="hidden" id="max_plafon_<?= $no ?>" value="<?= number_format($rows->max_nominal_plafon, 0, ',', '.') ?>">
<td class="text-center <?= $isHidden ?>"><?= $no ?></td>
<td class="<?= $isHidden ?>"><?= $rows->jenis_plafon ?></td>
<td class="text-right <?= $isHidden ?>"><?= number_format($rows->max_nominal_plafon,0,",",".") ?></td>
<td class="text-right <?= $isHidden ?>"><?= number_format($rows->nominal,0,",",".") ?></td>
<td class="<?= $isHidden ?>"><?= $rows->ket_reimburse.$catatan ?></td>
<td class="text-center <?= $isHidden ?>"><?= date_format(date_create($rows->tgl_bukti),"d-m-Y") ?></td>
<td class="text-right <?= $isHidden ?>"><?= number_format($rows->max_nominal_plafon, 0, ",", ".") ?></td>
<td class="text-right <?= $isHidden ?>"><?= number_format($rows->nominal, 0, ",", ".") ?></td>
<td class="<?= $isHidden ?>"><?= $rows->ket_reimburse . $catatan ?></td>
<td class="text-center <?= $isHidden ?>"><?= date_format(date_create($rows->tgl_bukti), "d-m-Y") ?></td>
<!-- <td class="text-center"><a href="<?= $rows->file ?>" target="_blank">Lihat Nota</a></td> -->
<?php
if (($status == '1' && $this->adm_reimbursement == true) || $status == "5") {
......@@ -515,12 +499,12 @@
<?php
if ($rows->nominal_disetujui != 0) {
$nominal = $rows->nominal_disetujui;
}else{
} else {
$nominal = $rows->nominal;
}
echo number_format($nominal,0,",",".");
if($approve_sebagai == 4 && $aktif == "reimburse" && $this->adm_reimbursement == true){
echo ' <a href="#" class="fa fa-edit btn_nominal" id="nominal" baris-ke="'.$no.'"></a>';
echo number_format($nominal, 0, ",", ".");
if ($approve_sebagai == 4 && $aktif == "reimburse" && $this->adm_reimbursement == true) {
echo ' <a href="#" class="fa fa-edit btn_nominal" id="nominal" baris-ke="' . $no . '"></a>';
}
?>
</td>
......@@ -530,26 +514,26 @@
<td class="text-center <?= $isHidden ?>">
<a href="#" id="<?= md5($rows->id) ?>">
<?php
$file = $this->config->item('base_image').'image?_t=image&_d='.$rows->file;
$file = $this->config->item('base_image') . 'image?_t=image&_d=' . $rows->file;
?>
<input type="hidden" name="gambar" id="<?= $rows->id ?>" value="<?= $rows->file ?>" image="<?= $file ?>">
Lihat Gambar
</a>
</td>
<?php
if ($status != '1' && $this->adm_reimbursement == true && $aktif == "reimburse"){ ?>
if ($status != '1' && $this->adm_reimbursement == true && $aktif == "reimburse") { ?>
<td id="akun_<?= $no ?>">
<?= $rows->kode_akun ?>
</td>
<?php }else{
<?php } else {
if ($approve_sebagai == 4 && $aktif == "reimburse" && $this->adm_reimbursement == true) {
?>
<td id="akun_<?= $no ?>" class="<?= $isHidden ?>">
<select class="form-control" name="id_akun_<?= $no ?>" >
<select class="form-control" name="id_akun_<?= $no ?>">
<option value="">Pilih</option>
<?php foreach ($list_akun as $akun) { ?>
<option value="<?= $akun->kode_akun."-".$akun->nama_akun ?>"<?= ($rows->kode_akun == $akun->kode_akun."-".$akun->nama_akun) ? "selected" : "" ?>>
<?= $akun->kode_akun."-".$akun->nama_akun ?>
<option value="<?= $akun->kode_akun . "-" . $akun->nama_akun ?>" <?= ($rows->kode_akun == $akun->kode_akun . "-" . $akun->nama_akun) ? "selected" : "" ?>>
<?= $akun->kode_akun . "-" . $akun->nama_akun ?>
</option>
<?php } ?>
</select>
......@@ -559,7 +543,7 @@
}
?>
<script type="text/javascript">
$("#<?= md5($rows->id) ?>").on("click", function() {
$("#<?= md5($rows->id) ?>").on("click", function () {
$('#imagepreview').attr('src', $('#<?= $rows->id ?>').attr("image"));
$('#imagemodal').modal('show'); // imagemodal is the id attribute assigned to the bootstrap modal, then i use the show function
});
......@@ -570,33 +554,31 @@
<td class="text-center <?= $isHidden ?>" style="width:100px" id="tolak_<?= $no ?>">
<div class="form-check">
<?php
if ($aktif == "reimburse_saya"){
if ($aktif == "reimburse_saya") {
$radio_disable = ' disabled="true"';
}else{
} else {
if ($status == "1") {
$radio_disable = "";
}else{
} else {
$radio_disable = ' disabled="true"';
}
}
if ($apv_user_sebelumnya == '3' && $status != '1'){ # ditolak
if ($apv_user_sebelumnya == '3' && $status != '1') { # ditolak
?>
<input type="radio" id="exampleRadios1_<?= $no ?>" name="status_reimburse_<?= $no ?>" class="1 status_reimburse form-check-input btn_ditolak" baris-ke="<?= $no ?>" value="3" <?php echo ($apv_user_sebelumnya=='3')?'checked':'' ?> disabled="true">
<input type="radio" id="exampleRadios1_<?= $no ?>" name="status_reimburse_<?= $no ?>" class="1 status_reimburse form-check-input btn_ditolak" baris-ke="<?= $no ?>" value="3" <?php echo ($apv_user_sebelumnya == '3') ? 'checked' : '' ?> disabled="true">
<?php
}else{ # jika tidak ditolak
} else { # jika tidak ditolak
# JIKA TIDAK PENGAJUAN DAN TIDAK ADMIN REIMBURSE
if ($status != '1' && $this->adm_reimbursement == false ) {
if ($status != '1' && $this->adm_reimbursement == false) {
?>
<input type="radio" id="exampleRadios1_<?= $no ?>" name="status_reimburse_<?= $no ?>" class="2 status_reimburse form-check-input btn_ditolak" baris-ke="<?= $no ?>" value="" disabled="true">
<?php
}else{
if (!in_array($apv_user, ["0","1"]) && $this->adm_reimbursement == false ) {
} else {
if (!in_array($apv_user, ["0", "1"]) && $this->adm_reimbursement == false) {
?>
<input type="radio" id="exampleRadios1_<?= $no ?>" name="status_reimburse_<?= $no ?>" class="3 status_reimburse form-check-input btn_ditolak" baris-ke="<?= $no ?>" value="" disabled="true">
<?php
}else{
} else {
?>
<input type="radio" id="exampleRadios1_<?= $no ?>" name="status_reimburse_<?= $no ?>" class="4 status_reimburse form-check-input btn_ditolak" baris-ke="<?= $no ?>" value="3" <?= $radio_disable ?>>
<?php
......@@ -604,27 +586,27 @@
}
}
?>
<label class="form-check-label" for="exampleRadios1_<?= $no ?>" >&nbsp;</label>
<label class="form-check-label" for="exampleRadios1_<?= $no ?>">&nbsp;</label>
</div>
</td>
<td class="text-center <?= $isHidden ?>" style="width:100px" id="revisi_<?= $no ?>">
<div class="form-check">
<?php
if($apv_user_sebelumnya == '4' && $status != '1'){
if ($apv_user_sebelumnya == '4' && $status != '1') {
?>
<input type="radio" id="exampleRadios2_<?= $no ?>" name="status_reimburse_<?= $no ?>" class="status_reimburse form-check-input btn_revisi" baris-ke="<?= $no ?>" value="4" <?php echo ($apv_user_sebelumnya=='4')?'checked':'' ?> disabled="true">
<input type="radio" id="exampleRadios2_<?= $no ?>" name="status_reimburse_<?= $no ?>" class="status_reimburse form-check-input btn_revisi" baris-ke="<?= $no ?>" value="4" <?php echo ($apv_user_sebelumnya == '4') ? 'checked' : '' ?> disabled="true">
<?php
}else{
} else {
if ($status != '1' && $this->adm_reimbursement == false) {
?>
<input type="radio" id="exampleRadios2_<?= $no ?>" name="status_reimburse_<?= $no ?>" class="status_reimburse form-check-input btn_revisi" baris-ke="<?= $no ?>" value="" disabled="true">
<?php
}else{
if (!in_array($apv_user, ["0","1"]) && $this->adm_reimbursement == false ) {
} else {
if (!in_array($apv_user, ["0", "1"]) && $this->adm_reimbursement == false) {
?>
<input type="radio" id="exampleRadios2_<?= $no ?>" name="status_reimburse_<?= $no ?>" class="status_reimburse form-check-input btn_revisi" baris-ke="<?= $no ?>" value="" disabled="true">
<?php
}else{
} else {
?>
<input type="radio" id="exampleRadios2_<?= $no ?>" name="status_reimburse_<?= $no ?>" class="status_reimburse form-check-input btn_revisi" baris-ke="<?= $no ?>" value="4" <?= $radio_disable ?>>
<?php
......@@ -632,27 +614,27 @@
}
}
?>
<label class="form-check-label" for="exampleRadios2_<?= $no ?>" >&nbsp;</label>
<label class="form-check-label" for="exampleRadios2_<?= $no ?>">&nbsp;</label>
</div>
</td>
<td class="text-center <?= $isHidden ?>" style="width:100px" id="setuju_<?= $no ?>">
<div class="form-check">
<?php
if($apv_user_sebelumnya == '5' && $status != '1'){
if ($apv_user_sebelumnya == '5' && $status != '1') {
?>
<input type="radio" id="exampleRadios3_<?= $no ?>" name="status_reimburse_<?= $no ?>" class="status_reimburse form-check-input btn_approve" value="5" baris-ke="<?= $no ?>" <?php echo ($apv_user_sebelumnya=='5')?'checked':'' ?> disabled="true">
<input type="radio" id="exampleRadios3_<?= $no ?>" name="status_reimburse_<?= $no ?>" class="status_reimburse form-check-input btn_approve" value="5" baris-ke="<?= $no ?>" <?php echo ($apv_user_sebelumnya == '5') ? 'checked' : '' ?> disabled="true">
<?php
}else{
} else {
if ($status != '1' && $this->adm_reimbursement == false) {
?>
<input type="radio" id="exampleRadios3_<?= $no ?>" name="status_reimburse_<?= $no ?>" class="status_reimburse form-check-input btn_approve" value="" baris-ke="<?= $no ?>" disabled="true">
<?php
}else{
if (!in_array($apv_user, ["0","1"]) && $this->adm_reimbursement == false ) {
} else {
if (!in_array($apv_user, ["0", "1"]) && $this->adm_reimbursement == false) {
?>
<input type="radio" id="exampleRadios3_<?= $no ?>" name="status_reimburse_<?= $no ?>" class="status_reimburse form-check-input btn_approve" value="" baris-ke="<?= $no ?>" disabled="true">
<?php
}else{
} else {
?>
<input type="radio" id="exampleRadios3_<?= $no ?>" name="status_reimburse_<?= $no ?>" class="status_reimburse form-check-input btn_approve" value="5" baris-ke="<?= $no ?>" <?= $radio_disable ?>>
<?php
......@@ -672,37 +654,36 @@
<tfoot>
<tr class="noBorder" style="background-color: #e9ecef; color: black;">
<th colspan="3" class="text-right">TOTAL</th>
<th class="text-right"><?= number_format($total_pengajuan,0,",",".") ?></th>
<th class="text-right"><?= number_format($total_pengajuan, 0, ",", ".") ?></th>
<th>&nbsp;</th>
<?php
if (($status == '1' && $this->adm_reimbursement == true) || $status == '5') {
?>
<th class="text-center">TOTAL APPROVAL</th>
<th class="text-right" id="total_approval"><?= number_format($total_approval,0,",",".") ?></th>
<th class="text-right" id="total_approval"><?= number_format($total_approval, 0, ",", ".") ?></th>
<?php
}
?>
<th colspan="10" class="text-right">
<input type="hidden" name="jumlah_data" id="jumlah_data" value="<?= $no ?>">
<input type="hidden" name="approve_sebagai" id="approve_sebagai" value="<?= ($this->adm_reimbursement && $approve_sebagai == 4)?$approve_sebagai:"" ?>">
<input type="hidden" name="approve_sebagai" id="approve_sebagai" value="<?= ($this->adm_reimbursement && $approve_sebagai == 4) ? $approve_sebagai : "" ?>">
<label id="msg_alert_submit" class="pr-2 hidden">
<!-- <font color="#eb3a28"><i class="fa fa-close (alias)">&nbsp;</i><strong>Pilihan approval harus terisi semua</strong></font> -->
</label>
<a href="#" onclick="history.back()" class="btn btn-secondary"><i class="fa fa-arrow-left"></i> KEMBALI</a>
<?php
$btn_submit = '<button type="submit" id="btn_submit" class="btn btn-success ladda-button" data-style="expand-left"><i class="fa fa-check-circle-o"></i> SUBMIT</button>';
// adm reimburse
if ($this->adm_reimbursement == true && $status == '1' && $aktif == "reimburse"){
if ($this->adm_reimbursement == true && $status == '1' && $aktif == "reimburse") {
echo $btn_submit;
}else{
if($this->level_user == '7' && $approve_sebagai == '0' && $status == '1'){ // supervisi
} else {
if ($this->level_user == '7' && $approve_sebagai == '0' && $status == '1') { // supervisi
echo $btn_submit;
}else if($this->level_user == '2' && $approve_sebagai == '1' && $status == '1'){ // kepala departemen
} else if ($this->level_user == '2' && $approve_sebagai == '1' && $status == '1') { // kepala departemen
echo $btn_submit;
}else if($this->level_user == '5' && $approve_sebagai == '2' && $status == '1'){ // kepala cabang
} else if ($this->level_user == '5' && $approve_sebagai == '2' && $status == '1') { // kepala cabang
echo $btn_submit;
}else if($this->level_user == '4' && $approve_sebagai == '3' && $status == '1'){ // direksi
} else if ($this->level_user == '4' && $approve_sebagai == '3' && $status == '1') { // direksi
echo $btn_submit;
}
}
......@@ -716,6 +697,7 @@
</style>
</tfoot>
</table>
</div>
</form>
</div>
</div>
......@@ -873,7 +855,7 @@
<button type="button" class="close btn btn-secondary" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">TUTUP</span></button>
</div>
<div class="modal-body text-center">
<img src="" id="imagepreview" style="width: 100%;" >
<img src="" id="imagepreview" style="width: 100%;">
</div>
<div class="modal-footer">
<button type="button" class="btn btn btn-secondary" data-dismiss="modal">TUTUP</button>
......
<script type="text/javascript">
$(document).ready(function() {
$(document).ready(function () {
table = $('#list_data').DataTable({
"processing": true, //Feature control the processing indicator.
"serverSide": true, //Feature control DataTables' server-side processing mode.
"order": [], //Initial no order.
"searching": true,
'ordering' : true,
'paging' : true,
'ordering': true,
'paging': true,
'lengthChange': true,
'info' : true,
'stateSave' : true,
'language' :{
'url' : '<?=base_url("assets/plugins/datatables/dataTables-language-id.json")?>',
'sEmptyTable' : 'Tidak ada data untuk ditampilkan'
'info': true,
'stateSave': true,
'language': {
'url': '<?= base_url("assets/plugins/datatables/dataTables-language-id.json") ?>',
'sEmptyTable': 'Tidak ada data untuk ditampilkan'
},
"processing" : true,
"serverSide" : true,
"order" : [],
"processing": true,
"serverSide": true,
"order": [],
"ajax" : {
"ajax": {
"url": "<?= route('reimburse.list.data') ?>",
"type": "POST",
"data": {
tipe : function() {
tipe: function () {
if (sessionStorage.getItem('sel_tab')) {
return sessionStorage.getItem('sel_tab');
}else{
} else {
return $("#tipe_pengajuan").val();
}
},
saya : <?= ($saya)?1:2 ?>,
saya: <?= ($saya) ? 1 : 2 ?>,
},
"complete" : function(data){
"complete": function (data) {
// reconfigure(data);
}
},
"aoColumnDefs": [
{ "aTargets": [ 0 ], "bSortable": false },
{ "aTargets": [ -1 ], "bSortable": false }
{ "aTargets": [0], "bSortable": false },
{ "aTargets": [-1], "bSortable": false }
],
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
$('td:eq(0)', nRow).css({'text-align':'center','width':'50px'});
$('td:eq(1)', nRow).css({'text-align':'center','width':'100px'});
$('td:eq(2)', nRow).css({'text-align':'center','width':'100px'});
$('td:eq(6)', nRow).css({'text-align':'right','width':'100px'});
$('td:eq(8)', nRow).css({'text-align':'center','width':'100px'});
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$('td:eq(0)', nRow).css({ 'text-align': 'center', 'width': '50px' });
$('td:eq(1)', nRow).css({ 'text-align': 'center', 'width': '100px' });
$('td:eq(2)', nRow).css({ 'text-align': 'center', 'width': '100px' });
$('td:eq(6)', nRow).css({ 'text-align': 'right', 'width': '100px' });
$('td:eq(8)', nRow).css({ 'text-align': 'center', 'width': '100px' });
}
});
......@@ -75,10 +75,10 @@
// munculkan tombol detail
if (value != 1) {
$('#detail_reimburse').text('DETAIL');
}else{
} else {
<?php if ($saya) { ?>
$('#detail_reimburse').text('DETAIL');
<?php }else{ ?>
<?php } else { ?>
$('#detail_reimburse').text(' ');
<?php } ?>
}
......@@ -112,10 +112,18 @@
<div class="card-body">
<div class="nav-tabs-boxed">
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item"><a href="#" onclick="list_data(1)" class="nav-link" data-toggle="tab" role="tab"><h6><i class="fa fa-file-text"></i> Pengajuan</h6></a></li>
<li class="nav-item"><a href="#" onclick="list_data(4)" class="nav-link" data-toggle="tab" role="tab"><h6><i class="fa fa-file-text"></i> Revisi</h6></a></li>
<li class="nav-item"><a href="#" onclick="list_data(3)" class="nav-link" data-toggle="tab" role="tab"><h6><i class="fa fa-file-text"></i> Ditolak</h6></a></li>
<li class="nav-item"><a href="#" onclick="list_data(5)" class="nav-link" data-toggle="tab" role="tab"><h6><i class="fa fa-file-text"></i> Disetujui</h6></a></li>
<li class="nav-item"><a href="#" onclick="list_data(1)" class="nav-link" data-toggle="tab" role="tab">
<h6><i class="fa fa-file-text"></i> Pengajuan</h6>
</a></li>
<li class="nav-item"><a href="#" onclick="list_data(4)" class="nav-link" data-toggle="tab" role="tab">
<h6><i class="fa fa-file-text"></i> Revisi</h6>
</a></li>
<li class="nav-item"><a href="#" onclick="list_data(3)" class="nav-link" data-toggle="tab" role="tab">
<h6><i class="fa fa-file-text"></i> Ditolak</h6>
</a></li>
<li class="nav-item"><a href="#" onclick="list_data(5)" class="nav-link" data-toggle="tab" role="tab">
<h6><i class="fa fa-file-text"></i> Disetujui</h6>
</a></li>
</ul>
</div>
......@@ -123,7 +131,8 @@
<div class="row mt-3">
<div class="col-md-12">
<input type="hidden" id="tipe_pengajuan" value="1">
<table id="list_data" class="table table-responsive table-striped table-hover" style="width:100%">
<div class="table-responsive">
<table id="list_data" class="table table-striped table-hover" style="width:100%">
<thead>
<tr class="bg-tr">
<th class="text-center" rowspan="2">NO</th>
......@@ -135,7 +144,7 @@
<th class="text-right" rowspan="2">NOMINAL</th>
<th class="text-left" rowspan="2">KETERANGAN</th>
<th class="text-center" colspan="5">APPROVAL</th>
<th id="detail_reimburse" class="text-center" rowspan="2"><?= ($saya)?"DETAIL":"" ?></th>
<th id="detail_reimburse" class="text-center" rowspan="2"><?= ($saya) ? "DETAIL" : "" ?></th>
</tr>
<tr class="bg-tr">
<th>SUPERVISI</th>
......@@ -150,6 +159,7 @@
</table>
</div>
</div>
</div>
</div>
</div>
......@@ -162,5 +172,3 @@
</div>
</div>
<!-- END TAMPIL MODAL -->
\ No newline at end of file
......@@ -15,7 +15,7 @@
</table>
</div>
<script type="text/javascript">
$(function() {
$(function () {
// reconfigure();
list_data = $('#list_data').DataTable({
'searching': true,
......@@ -28,10 +28,10 @@
// 'scrollCollapse': true,
// 'fixedColumns': true,
'language': {
<?php if ($this->code_lang == 'id') : ?> 'url': '<?= base_url("assets/plugins/datatables/dataTables-language-id.json") ?>',
<?php if ($this->code_lang == 'id'): ?> 'url': '<?= base_url("assets/plugins/datatables/dataTables-language-id.json") ?>',
'sEmptyTable': 'Tidak ada data untuk ditampilkan',
'searchPlaceholder': 'Tanggal'
<?php else : ?> 'searchPlaceholder': 'Date'
<?php else: ?> 'searchPlaceholder': 'Date'
<?php endif; ?>
},
"processing": true,
......@@ -41,20 +41,20 @@
"ajax": {
"url": "<?= route('master.karyawan.datadiri.histori.table') ?>",
"type": "GET",
"data": function(d) {
"data": function (d) {
delete d.columns;
d.id_karyawan = '<?= $id_karyawan_md5 ?>';
},
"complete": function(data) {
"complete": function (data) {
reconfigure(data);
}
},
"aoColumnDefs": [{
"aTargets": [0,3],
"aTargets": [0, 3],
"bSortable": false
}],
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$('td:eq(0)', nRow).css({
'text-align': 'center',
'width': '10px'
......@@ -78,7 +78,7 @@
});
function detail(id) {
$('#tampil_form').load("<?= route('master.karyawan.datadiri.histori.detail') ?>/" + id, function() {
$('#tampil_form').load("<?= route('master.karyawan.datadiri.histori.detail') ?>/" + id, function () {
$('#modal_form').modal('show');
$(".title").text("Detail Data");
});
......
<script type="text/javascript">
$(function() {
$(function () {
list_data_temp();
$(document).on('click', '#btn_import_karyawan', function() {
$(document).on('click', '#btn_import_karyawan', function () {
var loading = Ladda.create(this);
$('.form_import #message').html("");
......@@ -24,7 +24,7 @@
contentType: false,
processData: false,
dataType: "json",
success: function(result) {
success: function (result) {
if (result.success == true) {
list_data_temp();
}
......@@ -33,7 +33,7 @@
$('.form_import #message').show();
$('.form_import #message').html(result.message);
},
error: function() {
error: function () {
loading.stop();
$('.form_import #message').show();
$('.form_import #message').html('<font color="#eb3a28"><i class="fa fa-close(alias)">&nbsp;</i><strong><?= $this->lang->line('error') ?></strong></font>');
......@@ -42,13 +42,13 @@
});
$(document).on('click', '.btn_edit', function() {
$(document).on('click', '.btn_edit', function () {
var id = $(this).attr('id');
window.location.href = "<?= route('karyawan.import.form.edit') ?>" + "/" + id
});
$(document).on('click', '.btn_form_hapus', function() {
$(document).on('click', '.btn_form_hapus', function () {
var id = $(this).attr('id');
$('#modal_hapus').modal('show');
$(".title").text("<?= $this->lang->line('title_form_hapus_data') ?>");
......@@ -58,7 +58,7 @@
$(".tombol").append('<button class="btn_hapus btn btn-danger ladda-button" data-style="expand-left"><i class="fa fa-trash"></i> <?= $this->lang->line('button_form_hapus') ?></button>');
//btn_delete
$('.btn_hapus').on('click', function() {
$('.btn_hapus').on('click', function () {
var loading = Ladda.create(this);
loading.start();
$.ajax({
......@@ -66,13 +66,13 @@
url: "<?= route('karyawan.import.delete') ?>",
data: 'id_temp=' + id,
dataType: 'JSON',
success: function(result) {
success: function (result) {
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
$("#modal_hapus .title").html(result.message);
loading.stop();
},
error: function() {
error: function () {
loading.stop();
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
......@@ -84,7 +84,7 @@
});
// # SIMPAN SEMUA DATA TEMPORARY
$(document).on('click', '.btn_simpan_semua', function() {
$(document).on('click', '.btn_simpan_semua', function () {
var id = $(this).attr('id');
$('#modal_hapus').modal('show');
$(".title").text("<?= $this->lang->line('title_form_simpan_data') ?>");
......@@ -94,7 +94,7 @@
$(".tombol").append('<button class="btn_save_semua btn btn-success ladda-button" data-style="expand-left"><i class="fa fa-save"></i> <?= $this->lang->line('button_form_simpan') ?></button>');
//btn_delete
$('.btn_save_semua').on('click', function() {
$('.btn_save_semua').on('click', function () {
var loading = Ladda.create(this);
loading.start();
$.ajax({
......@@ -102,13 +102,13 @@
url: "<?= route('karyawan.import.publishall') ?>",
data: 'id=' + id,
dataType: 'JSON',
success: function(result) {
success: function (result) {
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
$("#modal_hapus .title").html(result.message);
loading.stop();
},
error: function() {
error: function () {
loading.stop();
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
......@@ -118,7 +118,7 @@
});
});
$(document).on('click', '.btn_hapus_semua', function() {
$(document).on('click', '.btn_hapus_semua', function () {
$('#modal_hapus').modal('show');
$(".title").text("<?= $this->lang->line('title_form_hapus_data') ?>");
$("#modal_hapus .card-body").show();
......@@ -127,20 +127,20 @@
$(".tombol").append('<button class="btn_delete_semua btn btn-danger ladda-button" data-style="expand-left"><i class="fa fa-trash"></i> <?= $this->lang->line('button_form_hapus') ?></button>');
//btn_delete
$('.btn_delete_semua').on('click', function() {
$('.btn_delete_semua').on('click', function () {
var loading = Ladda.create(this);
loading.start();
$.ajax({
type: 'DELETE',
url: "<?= route('karyawan.import.deleteall') ?>",
dataType: 'JSON',
success: function(result) {
success: function (result) {
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
$("#modal_hapus .title").html(result.message);
loading.stop();
},
error: function() {
error: function () {
loading.stop();
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
......@@ -233,9 +233,7 @@
</div>
</div>
<div class="row mt-2">
<div id="listdata" class="col-md-12">
</div>
<div id="listdata" class="table-responsive col-md-12"></div>
</div>
</div>
</div>
......
<div class="row">
<div class="col-md-12">
<div id="map_canvas2" style="width:100%; height:580px;"></div>
......@@ -7,6 +5,7 @@
</div>
<div class="row mt-1">
<div class="col-md-12">
<div class="table-responsive">
<table id="listrekap" class="table table-striped" style="width:100%">
<thead>
<tr class="bg-tr">
......@@ -21,6 +20,7 @@
</tbody>
</table>
</div>
</div>
</div>
<script type="text/javascript">
......@@ -42,8 +42,8 @@
var lat_longs_map = new Array();
var markers = []; // Create a marker array to hold your markers
var beaches = [];
$.get("<?= route("laporan.aktivitas.data.maps.lokasi") ?>"+"/"+tgl_mulai+"/"+tgl_selesai+"/"+id_karyawan+"/"+id_cabang+"/"+id_departemen, function(data){
$.each(data, function(index, element) {
$.get("<?= route("laporan.aktivitas.data.maps.lokasi") ?>" + "/" + tgl_mulai + "/" + tgl_selesai + "/" + id_karyawan + "/" + id_cabang + "/" + id_departemen, function (data) {
$.each(data, function (index, element) {
var arr = [];
arr.push(element.lat);
arr.push(element.long);
......@@ -54,7 +54,7 @@
setMarkers(beaches);
fitMapToBounds_map();
},"json");
}, "json");
var mapCentre;
......@@ -80,7 +80,7 @@
}
function initialize() {
var varcenter = new google.maps.LatLng(-0.4183772,117.4237542);
var varcenter = new google.maps.LatLng(-0.4183772, 117.4237542);
var varZoom = 5.4;
var mapOptions = {
zoom: varZoom,
......@@ -97,7 +97,7 @@
var bounds = new google.maps.LatLngBounds();
if (lat_longs_map.length > 0) {
for (var i=0; i<lat_longs_map.length; i++) {
for (var i = 0; i < lat_longs_map.length; i++) {
bounds.extend(lat_longs_map[i]);
}
map.fitBounds(bounds);
......@@ -107,53 +107,52 @@
initialize();
$(function() {
$(function () {
list_data = $('#listrekap').DataTable({
'searching' : false,
'paging' : true,
'lengthChange' : true,
'ordering' : true,
'info' : true,
'scrollX' :true,
'searching': false,
'paging': true,
'lengthChange': true,
'ordering': true,
'info': true,
'scrollX': true,
'scrollCollapse': true,
'language' :{
<?php if ($this->code_lang == 'id') : ?> 'url': '<?= base_url("assets/plugins/datatables/dataTables-language-id.json") ?>',
'language': {
<?php if ($this->code_lang == 'id'): ?> 'url': '<?= base_url("assets/plugins/datatables/dataTables-language-id.json") ?>',
'sEmptyTable': 'Tidak ada data untuk ditampilkan',
'searchPlaceholder': 'Keterangan'
<?php else : ?> 'searchPlaceholder': 'Description'
<?php else: ?> 'searchPlaceholder': 'Description'
<?php endif; ?>
},
"processing" : true,
"serverSide" : true,
"order" : [],
"processing": true,
"serverSide": true,
"order": [],
"ajax" : {
"ajax": {
"url": "<?= route('laporan.aktivitas.listrekap') ?>",
"type": "GET",
"data": {
"tgl_mulai" : "<?= $tgl_mulai ?>",
"tgl_selesai" : "<?= $tgl_selesai ?>",
"id_karyawan" : "<?= $id_karyawan ?>",
"id_cabang" : "<?= $id_cabang ?>",
"id_departemen" : "<?= $id_departemen ?>"
"tgl_mulai": "<?= $tgl_mulai ?>",
"tgl_selesai": "<?= $tgl_selesai ?>",
"id_karyawan": "<?= $id_karyawan ?>",
"id_cabang": "<?= $id_cabang ?>",
"id_departemen": "<?= $id_departemen ?>"
},
"complete" : function(data){
"complete": function (data) {
reconfigure(data);
}
},
"aoColumnDefs": [
{ "aTargets": [0], "bSortable": false},
{ "aTargets": [0], "bSortable": false },
{ "aTargets": [-1], "bSortable": false }
],
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
$('td:eq(0)', nRow).css({'text-align':'center','width':'10px'});
$('td:eq(2)', nRow).css({'text-align':'left','width':'350px'});
$('td:eq(3)', nRow).css({'text-align':'left','width':'350px'});
$('td:eq(4)', nRow).css({'text-align':'center','width':'150px'});
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$('td:eq(0)', nRow).css({ 'text-align': 'center', 'width': '10px' });
$('td:eq(2)', nRow).css({ 'text-align': 'left', 'width': '350px' });
$('td:eq(3)', nRow).css({ 'text-align': 'left', 'width': '350px' });
$('td:eq(4)', nRow).css({ 'text-align': 'center', 'width': '150px' });
}
});
})
</script>
\ No newline at end of file
<style type="text/css">
.lightbox .lb-outerContainer {
position: relative; /* Sangat penting untuk membuat absolute positioning bekerja */
position: relative;
/* Sangat penting untuk membuat absolute positioning bekerja */
/* Pastikan tidak ada overflow: hidden; di sini yang bisa menyembunyikan ikon */
}
......@@ -15,13 +16,13 @@
<script type="text/javascript">
var m_jam_kerja_libur = <?= $m_jam_kerja_libur ?>;
var m_libur_nasional = <?= $m_libur_nasional ?>;
$(function() {
$(function () {
$(document).on('click','.btn_detail',function(){
$(document).on('click', '.btn_detail', function () {
var id_aktivitas = $(this).attr("id");
$('#modal_detail_aktivitas').modal('show');
for (var i=0; i<markers.length; i++) {
for (var i = 0; i < markers.length; i++) {
markers[i].setMap(null);
}
......@@ -29,7 +30,7 @@
lat_longs_map = []; // Reset the lat_longs_map array
beaches = []; // Reset the beaches array
$.get("<?= route("laporan.aktivitas.detail") ?>"+"/"+id_aktivitas, function(data){
$.get("<?= route("laporan.aktivitas.detail") ?>" + "/" + id_aktivitas, function (data) {
// SET MAPS
arr = [];
......@@ -48,7 +49,7 @@
$("#waktu").text(data.waktu);
$("#keterangan").text(data.keterangan);
$("#foto_aktivitas").attr("src", data.foto_aktivitas);
},"json");
}, "json");
});
});
......@@ -81,7 +82,7 @@
}
function initialize() {
var varcenter = new google.maps.LatLng(-0.4183772,117.4237542);
var varcenter = new google.maps.LatLng(-0.4183772, 117.4237542);
var varZoom = 5.4;
var mapOptions = {
zoom: varZoom,
......@@ -98,7 +99,7 @@
var bounds = new google.maps.LatLngBounds();
if (lat_longs_map.length > 0) {
for (var i=0; i<lat_longs_map.length; i++) {
for (var i = 0; i < lat_longs_map.length; i++) {
bounds.extend(lat_longs_map[i]);
}
map.fitBounds(bounds);
......@@ -113,14 +114,15 @@
var week_of_day = moment(tanggal, "DD-MM-YYYY").format("E");
var y_m_d = moment(tanggal, "DD-MM-YYYY").format("YYYY-MM-DD");
if(m_jam_kerja_libur.includes(week_of_day) || m_libur_nasional.includes(y_m_d)) {
if (m_jam_kerja_libur.includes(week_of_day) || m_libur_nasional.includes(y_m_d)) {
$(row).css('background-color', '#e3e4e5');
}
}
</script>
<div class="row mt-1">
<div class="col-md-12">
<div class="float-md-right">
<div class="table-responsive">
<div class="float-md-right ml-1">
<button type="button" id="btn_download" class="btn btn-primary" tglmulai="<?= $tgl_mulai ?>" tglselesai="<?= $tgl_selesai ?>" idkaryawan="0" idcabang="0" iddepartemen="0">
<i class="fa fa-download"></i> <?= $this->lang->line('button_unduh') ?></button>
</div>
......@@ -140,6 +142,7 @@
</tbody>
</table>
</div>
</div>
</div>
......@@ -196,54 +199,54 @@
<!-- END TAMPIL MODAL -->
<script type="text/javascript">
$(function() {
$(function () {
list_data = $('#list_data').DataTable({
'searching' : true,
'paging' : true,
'lengthChange' : true,
'ordering' : true,
'info' : true,
'scrollX' :true,
'searching': true,
'paging': true,
'lengthChange': true,
'ordering': true,
'info': true,
'scrollX': true,
'scrollCollapse': true,
'language' :{
<?php if ($this->code_lang == 'id') : ?> 'url': '<?= base_url("assets/plugins/datatables/dataTables-language-id.json") ?>',
'language': {
<?php if ($this->code_lang == 'id'): ?> 'url': '<?= base_url("assets/plugins/datatables/dataTables-language-id.json") ?>',
'sEmptyTable': 'Tidak ada data untuk ditampilkan',
'searchPlaceholder': 'Keterangan'
<?php else : ?> 'searchPlaceholder': 'Description'
<?php else: ?> 'searchPlaceholder': 'Description'
<?php endif; ?>
},
"processing" : true,
"serverSide" : true,
"order" : [],
"processing": true,
"serverSide": true,
"order": [],
"ajax" : {
"ajax": {
"url": "<?= route('laporan.aktivitas.listdata') ?>",
"type": "GET",
"data": {
"tgl_mulai" : '<?= $tgl_mulai ?>',
"tgl_selesai" : '<?= $tgl_selesai ?>',
"id_karyawan" : '<?= $id_karyawan ?>',
"id_cabang" : '<?= $id_cabang ?>',
"id_departemen" : '<?= $id_departemen ?>'
"tgl_mulai": '<?= $tgl_mulai ?>',
"tgl_selesai": '<?= $tgl_selesai ?>',
"id_karyawan": '<?= $id_karyawan ?>',
"id_cabang": '<?= $id_cabang ?>',
"id_departemen": '<?= $id_departemen ?>'
},
"complete" : function(data){
"complete": function (data) {
reconfigure(data);
}
},
"aoColumnDefs": [
{ "aTargets": [0], "bSortable": false},
{ "aTargets": [3], "bSortable": false},
{ "aTargets": [5], "bSortable": false},
{ "aTargets": [0], "bSortable": false },
{ "aTargets": [3], "bSortable": false },
{ "aTargets": [5], "bSortable": false },
{ "aTargets": [-1], "bSortable": false }
],
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
$('td:eq(0)', nRow).css({'text-align':'center','width':'10px'});
$('td:eq(1)', nRow).css({'text-align':'left','width':'100px'});
$('td:eq(2)', nRow).css({'text-align':'left','width':'200px'});
$('td:eq(3)', nRow).css({'text-align':'center','width':'200px'});
$('td:eq(5)', nRow).css({'text-align':'center','width':'100px'});
$('td:eq(6)', nRow).css({'text-align':'center','width':'50px'});
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$('td:eq(0)', nRow).css({ 'text-align': 'center', 'width': '10px' });
$('td:eq(1)', nRow).css({ 'text-align': 'left', 'width': '100px' });
$('td:eq(2)', nRow).css({ 'text-align': 'left', 'width': '200px' });
$('td:eq(3)', nRow).css({ 'text-align': 'center', 'width': '200px' });
$('td:eq(5)', nRow).css({ 'text-align': 'center', 'width': '100px' });
$('td:eq(6)', nRow).css({ 'text-align': 'center', 'width': '50px' });
set_background_libur(aData[1], nRow);
}
......
<script type="text/javascript">
$(function() {
$(function () {
$(document).on('click','.btn_detail',function(){
$(document).on('click', '.btn_detail', function () {
var id = $(this).attr("id");
$('#modal_detail_sos').modal('show');
$('#foto').empty();
$.get("<?= route("sos.laporan.detail") ?>"+"/"+id, function(data){
$.get("<?= route("sos.laporan.detail") ?>" + "/" + id, function (data) {
// SET DETAIL SOS
$("#nama_karyawan").text(data.nama_karyawan);
$("#jabatan").text(data.jabatan);
$("#tanggal").text(data.tanggal);
$("#keterangan").text(data.keterangan);
},"json");
$.get('<?= route("sos.laporan.detail.foto") ?>/'+id, function(data) {
if(data != null) {
}, "json");
$.get('<?= route("sos.laporan.detail.foto") ?>/' + id, function (data) {
if (data != null) {
for (const [key, value] of Object.entries(data)) {
$('#foto').append('<img src="'+value+'" alt="..." class="img-thumbnail">');
$('#foto').append('<img src="' + value + '" alt="..." class="img-thumbnail">');
}
}
}, 'json');
......@@ -33,6 +33,7 @@
</div>
<div class="row mt-1">
<div class="col-md-12">
<div class="table-responsive">
<table id="list_data" class="table table-striped" style="width:100%">
<thead>
<tr class="bg-tr">
......@@ -41,7 +42,7 @@
<th class="text-left"><?= strtoupper($this->lang->line('nama')); ?></th>
<th class="text-left"><?= strtoupper($this->lang->line('keterangan')); ?></th>
<?php
if(in_array($this->level_user, array("1"))) {
if (in_array($this->level_user, array("1"))) {
?>
<th class="text-center"><?= strtoupper($this->lang->line('aksi')); ?></th>
<?php
......@@ -53,6 +54,7 @@
</tbody>
</table>
</div>
</div>
</div>
......@@ -105,51 +107,51 @@
<!-- END TAMPIL MODAL -->
<script type="text/javascript">
$(function() {
$(function () {
list_data = $('#list_data').DataTable({
'searching' : true,
'paging' : true,
'lengthChange' : true,
'ordering' : true,
'info' : true,
'scrollX' :true,
'searching': true,
'paging': true,
'lengthChange': true,
'ordering': true,
'info': true,
'scrollX': true,
'scrollCollapse': true,
'language' : {
<?php if ($this->code_lang == 'id') : ?> 'url': '<?= base_url("assets/plugins/datatables/dataTables-language-id.json") ?>',
'language': {
<?php if ($this->code_lang == 'id'): ?> 'url': '<?= base_url("assets/plugins/datatables/dataTables-language-id.json") ?>',
'sEmptyTable': 'Tidak ada data untuk ditampilkan',
'searchPlaceholder': 'Keterangan'
<?php else : ?> 'searchPlaceholder': 'Description'
<?php else: ?> 'searchPlaceholder': 'Description'
<?php endif; ?>
},
"processing" : true,
"serverSide" : true,
"order" : [],
"processing": true,
"serverSide": true,
"order": [],
"ajax" : {
"url": "<?= route('sos.laporan.listdata')."/".$tgl_mulai."/".$tgl_selesai."/".$id_karyawan."/".$id_cabang."/".$id_departemen ?>",
"ajax": {
"url": "<?= route('sos.laporan.listdata') . "/" . $tgl_mulai . "/" . $tgl_selesai . "/" . $id_karyawan . "/" . $id_cabang . "/" . $id_departemen ?>",
"type": "GET",
"complete" : function(data){
"complete": function (data) {
reconfigure(data);
}
},
"aoColumnDefs": [
{ "aTargets": [0], "bSortable": false}<?php
{ "aTargets": [0], "bSortable": false }<?php
if (in_array($this->level_user, array("1"))) {
?>
, { "aTargets": [-1], "bSortable": false }
<?php }?>
<?php } ?>
],
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
$('td:eq(0)', nRow).css({'text-align':'center','width':'10px'});
$('td:eq(1)', nRow).css({'text-align':'left','width':'100px'});
$('td:eq(2)', nRow).css({'text-align':'left','width':'200px'});
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$('td:eq(0)', nRow).css({ 'text-align': 'center', 'width': '10px' });
$('td:eq(1)', nRow).css({ 'text-align': 'left', 'width': '100px' });
$('td:eq(2)', nRow).css({ 'text-align': 'left', 'width': '200px' });
<?php
if (in_array($this->level_user, array("1"))) {
?>
$('td:eq(-1)', nRow).css({'text-align':'center','width':'50px'});
<?php }?>
$('td:eq(-1)', nRow).css({ 'text-align': 'center', 'width': '50px' });
<?php } ?>
}
});
......
......@@ -53,7 +53,6 @@
<!-- datatables -->
<link href="<?= $this->config->item('dir_assets') ?>plugins/datatables/datatables.min.css" rel="stylesheet">
<link href="<?= $this->config->item('dir_assets') ?>plugins/datatables/dataTables.fixedColumns.3.3.2.min.css" rel="stylesheet">
<!-- Ladda Button -->
<link href="<?= $this->config->item('dir_assets') ?>plugins/ladda-button/dist/ladda-themeless.min.css" rel="stylesheet">
......@@ -307,7 +306,6 @@
<!-- DataTables -->
<script src="<?= $this->config->item('dir_assets') ?>plugins/datatables/datatables.min.js"></script>
<script src="<?= $this->config->item('dir_assets') ?>plugins/datatables/dataTables.fixedColumns.3.3.2.min.js"></script>
<!-- Select2 -->
<script src="<?php echo base_url('assets/plugins/select2/js/select2.full.min.js') ?>"></script>
......@@ -332,7 +330,7 @@
<script type="text/javascript">
var customspinner = '<div class="custom-lds-ring"><div></div><div></div><div></div>';
$(function() {
$(function () {
callmasktanggal();
lightbox.option({
......@@ -344,10 +342,10 @@
'alwaysShowNavOnTouchDevices': false
});
$(document).on('focus', ':input', function() {
$(document).on('focus', ':input', function () {
$(this).attr('autocomplete', 'off');
$(".numberbox").keydown(function(e) {
$(".numberbox").keydown(function (e) {
// Allow: backspace, delete, tab, escape, enter and
if ($.inArray(e.keyCode, [46, 8, 9, 27, 13, 110]) !== -1 ||
// Allow: Ctrl+A
......@@ -389,7 +387,7 @@
var datepicker = $(el).datepicker(option);
$(el).on('keypress', function(event) {
$(el).on('keypress', function (event) {
if (event.keyCode == 13) {
$(this).trigger('change');
if ($(document).find('datepicker-dropdown').length == 0) {
......@@ -436,7 +434,7 @@
function serializeInput(id_form) {
var dt = new FormData();
var t = $('#' + id_form).find("select, textarea, input");
$.each(t, function(i, v) {
$.each(t, function (i, v) {
if ($(this).prop('disabled') != true) {
var name;
if ($(this).attr('id').length > 0) {
......@@ -472,11 +470,11 @@
}
function loadfungsimodaldetail() {
$('#modalViewDetail').on('show.bs.modal', function() {
$('#modalViewDetail').on('show.bs.modal', function () {
$('#contentModalViewDetail').html('<div class="modal-body"><div class="text-center">' + customspinner + '</div></div>');
});
$('#modalViewDetail').on('shown.bs.modal', function(e) {
setTimeout(function() {
$('#modalViewDetail').on('shown.bs.modal', function (e) {
setTimeout(function () {
var url_lokasi_absen = $(e.relatedTarget).data('uri');
// $('#contentModalViewDetail').html('');
$('#contentModalViewDetail').load(url_lokasi_absen);
......@@ -484,13 +482,13 @@
}, 1000);
});
$('#modalViewDetail').on('hidden.bs.modal', function(e) {
$('#modalViewDetail').on('hidden.bs.modal', function (e) {
$('.modal-dialog-view-detail').attr('style', 'max-width:120px');
$('#contentModalViewDetail').html('');
});
}
function pickrange(startId="#tanggal_mulai", endId="#tanggal_selesai") {
function pickrange(startId = "#tanggal_mulai", endId = "#tanggal_selesai") {
var pickrange = $(startId + ', ' + endId);
pickrange.on('changeDate', function () {
var idf = $(this).attr('id');
......@@ -597,11 +595,11 @@
// window.Pace.stop();
// });
$(document).ajaxError(function(event, request, settings) {
$(document).ajaxError(function (event, request, settings) {
req_token();
});
$(document).ajaxSend(function(event, request, settings) {
$(document).ajaxSend(function (event, request, settings) {
if (settings.hasOwnProperty('headers') === false) {
set_header();
}
......@@ -612,16 +610,16 @@
if (ENVIRONMENT == 'production') {
?>
if (jQuery().DataTable) {
$.fn.dataTable.ext.errMode = function(settings, techNote, message) {
$.fn.dataTable.ext.errMode = function (settings, techNote, message) {
// alert('Terjadi gangguan saat mengambil data, halaman ini akan dimuat ulang dalam 3 detik setelah anda menekan tombol "OK"');
setTimeout(function() {
setTimeout(function () {
// location.reload();
}, 500);
};
}
<?php } ?>
$(document).ajaxComplete(function(event, request, settings) {
$(document).ajaxComplete(function (event, request, settings) {
// window.Pace.stop();
if (typeof request.responseJSON !== 'undefined') {
......@@ -695,39 +693,39 @@
syncSocket();
async function syncSocket() {
let doPromise = new Promise(function(resolve, reject) {
let doPromise = new Promise(function (resolve, reject) {
$.ajax({
url: hostname + ":" + <?= $this->config->item('socket_port') ?>,
headers: {
'X-Requested-With': 'XMLHttpRequest'
},
xhr: function() {
xhr: function () {
var xhr = $.ajaxSettings.xhr();
var setRequestHeader = xhr.setRequestHeader;
xhr.setRequestHeader = function(name, value) {
xhr.setRequestHeader = function (name, value) {
if (name == 'Csrf-Token') return;
setRequestHeader.call(this, name, value);
}
return xhr;
},
success: function(response) {
success: function (response) {
if (response.serverStatus === 'ready') {
resolve(response.serverStatus);
} else {
reject("Error");
}
},
error: function(err) {
error: function (err) {
// console.log("AJAX error in request: " + JSON.stringify(err, null, 2));
}
});
});
await doPromise.then(
function(value) {
function (value) {
runSocket(value);
},
function(error) {
function (error) {
runSocket(error);
}
);
......@@ -736,13 +734,13 @@
function runSocket(v) {
socket = io(':<?= $this->config->item('socket_port') ?>/<?= $this->config->item('socket_namespace') ?>');
socket.on('connect', function() {
socket.on('connect', function () {
socket.emit('connect_users', {
'id_karyawan': '<?= $this->config->item("socket_room_prefix")."~".$this->session->userdata("id_karyawan") ?>'
});
});
socket.on('look-online', function(data) {
socket.on('look-online', function (data) {
// console.log(data);
// $.each(data.data, function(k,v){
// setTimeout(function(){
......@@ -755,7 +753,7 @@
});
// socket.emit("izin",{'room': '11'});
socket.on('receive_notif', function(data) {
socket.on('receive_notif', function (data) {
if (data.type == 'izin') {
load_notif_izin();
......@@ -774,17 +772,17 @@
}
});
socket.on('req_token', function(data) {
socket.on('req_token', function (data) {
var c = data._token;
$('meta[name="csrf-token"]').attr('content', c);
set_header();
});
socket.on('broadcast', function(data) {
socket.on('broadcast', function (data) {
console.log(data);
});
socket.on('receive_visitor_statistic', function(data) {
socket.on('receive_visitor_statistic', function (data) {
// alert2('tes');
// setVisitorStatistic(data);
setVisitorStatistic(data);
......@@ -845,7 +843,7 @@
} else if (Notification.permission === 'granted') {
granted = 1;
} else if (Notification.permission !== 'denied') {
Notification.requestPermission(function(permission) {
Notification.requestPermission(function (permission) {
if (permission === 'granted') {
granted = 1;
......@@ -870,7 +868,7 @@
playSound();
if (typeof params.redirect_url != 'undefined') {
notification.onclick = function() {
notification.onclick = function () {
window.location.href = params.redirect_url;
}
}
......@@ -884,7 +882,7 @@
}
function req_token() {
$.get('<?php echo route('new.token.req') ?>', function(result) {
$.get('<?php echo route('new.token.req') ?>', function (result) {
var json = $.parseJSON(result);
if (json.status) {
......@@ -900,14 +898,14 @@
if (in_array($this->level_user, array("1", "2", "4", "5", "7"))) {
?>
<script>
$(document).ready(function() {
$(document).ready(function () {
checkpermission();
load_notif_izin();
refresh_token();
//load new notifications
});
$('.notif').on('click', function() {
$('.notif').on('click', function () {
$('#count').html('0');
$('#jumlah').html('0');
load_notif_izin('yes');
......@@ -918,7 +916,7 @@
type: "GET",
dataType: "json",
url: "<?= site_url('notification/notif-izin/') ?>" + view,
success: function(data) {
success: function (data) {
$('#daftar_notif').html(data.notification);
$('#count').html(data.unseen_notification);
$('#jumlah').html(data.unseen_notification);
......@@ -928,20 +926,20 @@
</script>
<script>
$(document).ready(function() {
$(document).ready(function () {
// notif lembur
load_notif_lembur();
//load new notifications
$(document).on('click', '.notif2', function() {
$(document).on('click', '.notif2', function () {
$('#count2').html('0');
$('#jumlah2').html('0');
load_notif_lembur('yes');
});
<?php if (in_array($this->level_user, [1, 4])) { ?>
$.get('<?= route("dashboard.kepegawaian.count") ?>', function(response) {
setTimeout(function() {
$.get('<?= route("dashboard.kepegawaian.count") ?>', function (response) {
setTimeout(function () {
$('#total_kepegawaian').html(response);
}, 1000);
});
......@@ -953,7 +951,7 @@
type: "GET",
dataType: "json",
url: "<?= site_url('notification/notif-lembur/') ?>" + view,
success: function(data) {
success: function (data) {
$('#daftar_notif2').html(data.notification);
$('#count2').html(data.unseen_notification);
$('#jumlah2').html(data.unseen_notification);
......@@ -970,11 +968,11 @@
if (in_array($this->level_user, array("6", "2", "4", "5", "7"))) {
?>
<script>
$(document).ready(function() {
$(document).ready(function () {
load_notif_reimbursement();
//load new notifications
$(document).on('click', '.notif3', function() {
$(document).on('click', '.notif3', function () {
$('#count3').html('0');
$('#jumlah3').html('0');
load_notif_reimbursement('yes');
......@@ -986,7 +984,7 @@
type: "GET",
dataType: "json",
url: "<?= site_url('notification/notif-reimbursement/') ?>" + view,
success: function(data) {
success: function (data) {
$('#daftar_notif3').html(data.notification);
$('#count3').html(data.unseen_notification);
$('#jumlah3').html(data.unseen_notification);
......@@ -1006,7 +1004,7 @@
} else if (Notification.permission === 'granted') {
granted = 1;
} else if (Notification.permission !== 'denied') {
Notification.requestPermission(function(permission) {
Notification.requestPermission(function (permission) {
if (permission === 'granted') {
granted = 1;
......@@ -1027,14 +1025,14 @@
req.open("GET", urlToSend, true);
req.responseType = "blob";
req.onload = function(event) {
req.onload = function (event) {
let blob = req.response;
let fileName = req.getResponseHeader("Content-Disposition").substring(21).replaceAll('"', '');
let link = document.createElement('a');
link.href = window.URL.createObjectURL(blob);
link.download = fileName;
link.click();
(btn) ? loading.stop(): '';
(btn) ? loading.stop() : '';
};
req.send();
}
......@@ -1048,7 +1046,7 @@
$("#modal_form .card-footer").hide();
$("#modal_form .title").html(message.replace(/#\w{6}/g, "FFFFFF"));
if (autohide) {
setTimeout(function() {
setTimeout(function () {
$("#modal_form").modal('hide');
}, timeout);
}
......
......@@ -108,7 +108,7 @@
</div>
<!-- END TAMPIL MODAL -->
<script>
$(function() {
$(function () {
list_data = $('#list_data').DataTable({
'searching': true,
......@@ -132,33 +132,37 @@
"order": [],
"ajax": {
"url": "<?= route('payroll.bpjs.master.list-data', ['params' => 'all.all.all']) ?>",
"data": function(d) {
"data": function (d) {
d.karyawan = $('#karyawan').val();
d.cabang = $('#cabang').val();
d.departemen = $('#departemen').val();
},
"type": "GET",
"complete": function(data) {
"complete": function (data) {
reconfigure(data);
}
},
"aoColumnDefs": [{
"aoColumnDefs": [
{
"aTargets": [0, -1],
"bSortable": false
},
{
targets: [0, 1],
className: 'text-left'
"targets": [0],
"className": 'text-center'
},
{
targets: '_all',
className: 'text-center'
}
"targets": [1],
"className": 'text-left'
},
],
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$('td:eq(-1)', nRow).css({
'text-align': 'center'
"fnCreatedRow": function (row, data, dataIndex) {
$(row).addClass('text-center');
},
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$('td', nRow).css({
'white-space': 'nowrap'
});
}
......@@ -171,7 +175,7 @@
url: '<?= route("laporan.absensi.dropdown.karyawan") ?>',
dataType: 'json',
delay: 250,
processResults: function(data) {
processResults: function (data) {
return {
results: data
};
......@@ -188,7 +192,7 @@
url: '<?= route("laporan.absensi.dropdown.cabang") ?>',
dataType: 'json',
delay: 250,
processResults: function(data) {
processResults: function (data) {
return {
results: data
};
......@@ -198,7 +202,7 @@
minLength: 3
});
$('#cabang').on('change', function(e) {
$('#cabang').on('change', function (e) {
$("#filter #departemen").select2({
placeholder: "Semua Departemen",
allowClear: true,
......@@ -206,7 +210,7 @@
url: '<?= route("laporan.absensi.dropdown.departemen") ?>/' + $(this).val(),
dataType: 'json',
delay: 250,
processResults: function(data) {
processResults: function (data) {
return {
results: data
};
......@@ -216,7 +220,7 @@
});
});
$(document).on('click', '.btn_save', function() {
$(document).on('click', '.btn_save', function () {
$('#message').html("");
var karyawan = $('#form_input #karyawan');
......@@ -234,7 +238,7 @@
var loading = Ladda.create(this);
loading.start();
$.post('<?= route("payroll.bpjs.master.save"); ?>', $('#form_input').serialize(), function(response) {
$.post('<?= route("payroll.bpjs.master.save"); ?>', $('#form_input').serialize(), function (response) {
if (response.success == true) {
if (response.type == 'save') {
$('.btn_save').hide();
......@@ -247,7 +251,7 @@
}, 'json');
});
$(document).on('click', '#btn_new_input', function() {
$(document).on('click', '#btn_new_input', function () {
$("#form_input .nominal_normal").autoNumeric('set', '0');
$("#form_input p.nominal_text, #form_input .nominal").autoNumeric('set', '0.00');
$("#form_input #jml_anak").val('0');
......@@ -259,7 +263,7 @@
$('#message').html('');
});
$(document).on('click', '.btn_hapus', function() {
$(document).on('click', '.btn_hapus', function () {
var loading = Ladda.create(this);
loading.start();
......@@ -268,13 +272,13 @@
url: "<?php echo route('payroll.bpjs.master.delete') ?>",
data: $('#form_input').serialize(),
dataType: 'JSON',
success: function(result) {
success: function (result) {
$("#modal_form_bpjs_m .card-body").hide();
$("#modal_form_bpjs_m .card-footer").hide();
$("#modal_form_bpjs_m .title").html(result.message);
list_data.ajax.reload();
},
error: function() {
error: function () {
loading.stop();
$("#modal_form_bpjs_m .card-body").hide();
$("#modal_form_bpjs_m .card-footer").hide();
......@@ -283,7 +287,7 @@
});
});
$('#filter .btn-cari').click(function(e) {
$('#filter .btn-cari').click(function (e) {
e.preventDefault();
let loading = Ladda.create(this);
loading.start();
......@@ -291,13 +295,13 @@
const id_karyawan = $("#filter #karyawan").val() ? $("#filter #karyawan").val() : "all";
const params = id_karyawan + ".all.all";
list_data.ajax.url("<?= route('payroll.bpjs.master.list-data', ['params' => '"+params+"']) ?>").load(function() {
list_data.ajax.url("<?= route('payroll.bpjs.master.list-data', ['params' => '"+params+"']) ?>").load(function () {
loading.stop();
});
$('#cabang, #departemen').val(null).trigger('change');
});
$('#filter .btn-filter').click(function(e) {
$('#filter .btn-filter').click(function (e) {
e.preventDefault();
let loading = Ladda.create(this);
loading.start();
......@@ -306,7 +310,7 @@
const id_departemen = $("#filter #departemen").val() ? $("#filter #departemen").val() : "all";
const params = "all." + id_cabang + "." + id_departemen;
list_data.ajax.url("<?= route('payroll.bpjs.master.list-data', ['params' => '"+params+"']) ?>").load(function() {
list_data.ajax.url("<?= route('payroll.bpjs.master.list-data', ['params' => '"+params+"']) ?>").load(function () {
loading.stop();
});
$('#karyawan').val(null).trigger('change');
......@@ -339,7 +343,7 @@
}
function tambah() {
$('#tampil_form_bpjs_m').load("<?= site_url('payroll/bpjs/master/form/tambah') ?>", function() {
$('#tampil_form_bpjs_m').load("<?= site_url('payroll/bpjs/master/form/tambah') ?>", function () {
$('#modal_form_bpjs_m').modal('show');
$(".title").text("Form Tambah Data");
$(".btn_save").addClass("btn_save btn btn-primary");
......@@ -357,7 +361,7 @@
}
function edit(id_karyawan) {
$('#tampil_form_bpjs_m').load("<?= site_url('payroll/bpjs/master/form/edit') ?>/" + id_karyawan, function() {
$('#tampil_form_bpjs_m').load("<?= site_url('payroll/bpjs/master/form/edit') ?>/" + id_karyawan, function () {
$('#modal_form_bpjs_m').modal('show');
$(".title").text("Form Edit Data");
$(".btn_save").addClass("btn_save btn btn-warning");
......@@ -373,7 +377,7 @@
}
function hapus(id_karyawan) {
$('#tampil_form_bpjs_m').load("<?= site_url('payroll/bpjs/master/form/hapus') ?>/" + id_karyawan, function() {
$('#tampil_form_bpjs_m').load("<?= site_url('payroll/bpjs/master/form/hapus') ?>/" + id_karyawan, function () {
$('#modal_form_bpjs_m').modal('show');
$(".title").text("Apakah Anda ingin menghapus data ini?");
$('#form_input input:not(#id)').prop("disabled", true);
......@@ -394,7 +398,7 @@
url: '<?= route("laporan.absensi.dropdown.karyawan") ?>',
dataType: 'json',
delay: 250,
processResults: function(data) {
processResults: function (data) {
return {
results: data
};
......@@ -408,10 +412,10 @@
// select2 form karyawan
function onchange_form_select_karyawan() {
$('#form_input #karyawan').on('change', function(e) {
$('#form_input #karyawan').on('change', function (e) {
$.get('<?= route("payroll.bpjs.master.get-data"); ?>', {
id_karyawan: $(this).val()
}, function(response) {
}, function (response) {
$('#form_input #gapok, #form_input #gapok_text').autoNumeric('set', response.gapok);
$('#form_input #tunj_daftar, #form_input #tunj_daftar_text').autoNumeric('set', response.tunj_tetap);
$('#form_input #no_bpjs_kes').html(response.no_bpjs_kes ? response.no_bpjs_kes : '-');
......@@ -437,7 +441,7 @@
// gaji didaftarkan
function on_keyup_gaji_didaftakan() {
$('#form_input #gaji_daftar').on('keyup', function() {
$('#form_input #gaji_daftar').on('keyup', function () {
set_bpjs();
});
}
......@@ -519,7 +523,7 @@
}
function on_key_up_jml_anak() {
$('#form_input #jml_anak').on('keyup mouseup', function() {
$('#form_input #jml_anak').on('keyup mouseup', function () {
set_bpjs_kes_pot_kry();
set_ttl_pot_kry();
set_ttl_dibiayai_perus();
......
......@@ -58,7 +58,7 @@
<button class="btn btn-danger btn-sm" title="Data tidak lengkap"></button> <span>Data tidak lengkap</span>
</div>
</div>
<div class="row mt-2">
<div class="table-responsive mt-2">
<table id="list_data" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr>
......
<!-- BAGIN DATATABLE -->
<script type="text/javascript">
$(document).ready(function() {
$(document).ready(function () {
$.fn.dataTableExt.sErrMode = 'none';
list_data = $('#list_data').on('error.dt', function(e, settings, techNote, message) {
list_data = $('#list_data').on('error.dt', function (e, settings, techNote, message) {
if (confirm('Terjadi kesalahan saat memproses data, muat ulang halaman ?')) {
window.location.reload();
}
......@@ -11,7 +11,7 @@
'searchDelay': 1000,
'paging': true,
'lengthChange': true,
'ordering': true,
'ordering': false,
'info': true,
'scrollX': true,
'fixedColumns': {
......@@ -31,18 +31,15 @@
"ajax": {
"url": "<?= route('payroll.data.komponen.datatable', ['id_karyawan' => 'all', 'id_cabang' => 'all', 'id_departemen' => 'all']) ?>",
"type": "GET",
"data": function(d) {
"data": function (d) {
delete d.columns;
},
"complete": function(data) {
"complete": function (data) {
reconfigure(data);
}
},
"aoColumnDefs": [{
"aTargets": "_all",
"bSortable": false
},
"aoColumnDefs": [
{
"className": "text-center",
"targets": [0]
......@@ -51,12 +48,14 @@
"className": "text-left",
"targets": [1, 2, 3, 4]
},
{
"className": "text-right",
"targets": "_all"
},
],
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
"fnCreatedRow": function (row, data, dataIndex) {
$(row).addClass('text-right');
},
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$('td', nRow).css({
'white-space': 'nowrap',
});
if (aData[5] == "-") {
$('td:eq(5)', nRow).css({
'background-color': '#FF7588',
......@@ -73,8 +72,8 @@
<!-- BEGIN FORM INPUT -->
<script type="text/javascript">
$(function() {
$('#modal-nominal').on('show.bs.modal', function(event) {
$(function () {
$('#modal-nominal').on('show.bs.modal', function (event) {
$('#message').hide();
let button = $(event.relatedTarget);
......@@ -111,7 +110,7 @@
modal.find('#komponen').val(komponen);
modal.find('#nominal_pendapatan').focus();
$("#nominal_pendapatan").keydown(function(event) {
$("#nominal_pendapatan").keydown(function (event) {
if (event.which == 13) {
event.preventDefault();
$('.btn_save').click();
......@@ -119,7 +118,7 @@
});
})
$(document).on('click', '.btn_save', function(e) {
$(document).on('click', '.btn_save', function (e) {
e.preventDefault();
var loading = Ladda.create(this);
......@@ -135,12 +134,12 @@
url: "<?= route('payroll.data.komponen.update') ?>",
data: param,
dataType: 'JSON',
success: function(result) {
success: function (result) {
loading.stop();
$('#message').show();
$('#message').html(result.message);
},
error: function() {
error: function () {
loading.stop();
$('#message').show();
$('#message').html('<font color="#eb3a28"><i class="fa fa-close(alias)">&nbsp;</i><strong>Gagal : Terjadi Kesalahan</strong></font>');
......@@ -179,7 +178,7 @@
<!-- BEGIN FILTER DATA -->
<script type="text/javascript">
$(document).ready(function() {
$(document).ready(function () {
dropdown_cabang();
$('#filter #id_karyawan').select2({
......@@ -189,7 +188,7 @@
url: '<?= route("dropdown.karyawan.encrypt") ?>',
dataType: 'json',
delay: 250,
processResults: function(data) {
processResults: function (data) {
return {
results: data
};
......@@ -199,7 +198,7 @@
minLength: 3
});
$('#filter #btn_cari').click(function() {
$('#filter #btn_cari').click(function () {
let loading = Ladda.create(this);
loading.start();
......@@ -211,7 +210,7 @@
loading.stop();
});
$('#filter #btn_filter').click(function() {
$('#filter #btn_filter').click(function () {
let loading = Ladda.create(this);
loading.start();
......@@ -232,7 +231,7 @@
url: '<?= route("dropdown.cabang") ?>',
dataType: 'json',
delay: 250,
processResults: function(data) {
processResults: function (data) {
return {
results: data
};
......@@ -259,7 +258,7 @@
url: '<?= route("dropdown.departemen.by.cabang") ?>/' + id_cabang,
dataType: 'json',
delay: 250,
processResults: function(data) {
processResults: function (data) {
return {
results: data
};
......@@ -347,7 +346,7 @@
$numrow = 2;
}
?>
<th rowspan="<?= $numrow ?>" class="align-middle text-center" width="30">NO</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">NO</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">NAMA KARYAWAN</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">CABANG</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">DEPARTEMEN</th>
......
<script type="text/javascript">
$(function() {
$(function () {
list_data_temp();
$(document).on('click', '#btn_form_template', function() {
$('#tampil_form').load("<?= route('payroll.data.komponen.import.form.templateimport') ?>", function() {
$(document).on('click', '#btn_form_template', function () {
$('#tampil_form').load("<?= route('payroll.data.komponen.import.form.templateimport') ?>", function () {
$('#modal_form').modal('show');
$(".title").text("Download Template Data Komponen");
$(".btn_unduh").addClass("btn_unduh btn btn-success");
......@@ -12,7 +12,7 @@
});
});
$(document).on('click', '#btn_import', function() {
$(document).on('click', '#btn_import', function () {
var loading = Ladda.create(this);
$('.form_import #message').html("");
......@@ -34,7 +34,7 @@
contentType: false,
processData: false,
dataType: "json",
success: function(result) {
success: function (result) {
if (result.success == true) {
// list_data_temp();
}
......@@ -43,7 +43,7 @@
$('.form_import #message').show();
$('.form_import #message').html(result.message);
},
error: function() {
error: function () {
loading.stop();
$('.form_import #message').show();
$('.form_import #message').html('<font color="#eb3a28"><i class="fa fa-close(alias)">&nbsp;</i><strong>Gagal : Terjadi Kesalahan</strong></font>');
......@@ -53,7 +53,7 @@
});
// # SIMPAN SEMUA DATA TEMPORARY
$(document).on('click', '.btn_simpan_semua', function() {
$(document).on('click', '.btn_simpan_semua', function () {
var id = $(this).attr('id');
$('#modal_hapus').modal('show');
$(".title").text("Apakah anda ingin menyimpan semua data ini?");
......@@ -63,7 +63,7 @@
$(".tombol").append('<button class="btn_save_semua btn btn-success ladda-button" data-style="expand-left"><i class="fa fa-save"></i> SIMPAN</button>');
//btn_delete
$('.btn_save_semua').on('click', function() {
$('.btn_save_semua').on('click', function () {
var loading = Ladda.create(this);
loading.start();
$.ajax({
......@@ -71,17 +71,17 @@
url: "<?= route('payroll.data.komponen.import.publishall') ?>",
data: 'id=' + id,
dataType: 'JSON',
success: function(result) {
success: function (result) {
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
$("#modal_hapus .title").html(result.message.replace("#009900", "FFFFFF"));
loading.stop();
// Set a timeout to hide the element
setTimeout(function() {
setTimeout(function () {
$("#modal_hapus").modal('hide');
}, 1000);
},
error: function() {
error: function () {
loading.stop();
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
......@@ -91,7 +91,7 @@
});
});
$(document).on('click', '.btn_hapus_semua', function() {
$(document).on('click', '.btn_hapus_semua', function () {
$('#modal_hapus').modal('show');
$(".title").text("Apakah anda ingin menghapus semua data ini?");
$("#modal_hapus .card-body").show();
......@@ -100,24 +100,24 @@
$(".tombol").append('<button class="btn_delete_semua btn btn-danger ladda-button" data-style="expand-left"><i class="fa fa-trash"></i> HAPUS</button>');
//btn_delete
$('.btn_delete_semua').on('click', function() {
$('.btn_delete_semua').on('click', function () {
var loading = Ladda.create(this);
loading.start();
$.ajax({
type: 'DELETE',
url: "<?= route('payroll.data.komponen.import.deleteall') ?>",
dataType: 'JSON',
success: function(result) {
success: function (result) {
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
$("#modal_hapus .title").html(result.message.replace("#009900", "FFFFFF"));
loading.stop();
// Set a timeout to hide the element
setTimeout(function() {
setTimeout(function () {
$("#modal_hapus").modal('hide');
}, 1000);
},
error: function() {
error: function () {
loading.stop();
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
......@@ -203,7 +203,7 @@
<button class="btn btn-danger btn-sm" title="Data Kosong"></button> <span>Data tidak lengkap</span>
</div>
</div>
<div class="row mt-2">
<div class="table-responsive mt-2">
<div id="listdata" class="col-md-12">
</div>
......
......@@ -17,7 +17,7 @@
$numrow = 2;
}
?>
<th rowspan="<?= $numrow ?>" class="align-middle text-center" width="30">NO</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">NO</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">NIK</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">NAMA KARYAWAN</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">CABANG</th>
......@@ -54,9 +54,9 @@
</table>
<script type="text/javascript">
$(function() {
$(function () {
$.fn.dataTableExt.sErrMode = 'none';
list_data = $('#list_data').on('error.dt', function(e, settings, techNote, message) {
list_data = $('#list_data').on('error.dt', function (e, settings, techNote, message) {
// if(confirm('Terjadi kesalahan saat memproses data, muat ulang halaman ?')){
// window.location.reload();
// }
......@@ -64,7 +64,7 @@
'searching': true,
'paging': true,
'lengthChange': true,
'ordering': true,
'ordering': false,
'info': true,
'scrollX': true,
'scrollCollapse': true,
......@@ -83,22 +83,15 @@
"ajax": {
"url": "<?= route('payroll.data.komponen.import.listdata') ?>",
"type": "GET",
"data": function(d) {
"data": function (d) {
delete d.columns;
},
"complete": function(data) {
"complete": function (data) {
reconfigure(data);
}
},
"aoColumnDefs": [{
"aTargets": [1],
"bSortable": true
},
{
"aTargets": "_all",
"bSortable": false
},
"aoColumnDefs": [
{
"visible": false,
"targets": [1]
......@@ -111,12 +104,11 @@
"className": "text-left",
"targets": [1, 2, 3, 4, 5]
},
{
"className": "text-right",
"targets": "_all"
},
],
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
"fnCreatedRow": function (row, data, dataIndex) {
$(row).addClass('text-right');
},
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
for (let index = 1; index < aData.length; index++) {
const col = aData[index];
......
<!-- BAGIN DATATABLE -->
<script type="text/javascript">
$(document).ready(function() {
$(document).ready(function () {
$.fn.dataTableExt.sErrMode = 'none';
list_data = $('#list_data').on('error.dt', function(e, settings, techNote, message) {
list_data = $('#list_data').on('error.dt', function (e, settings, techNote, message) {
if (confirm('Terjadi kesalahan saat memproses data, muat ulang halaman ?')) {
window.location.reload();
}
......@@ -32,18 +32,15 @@
"ajax": {
"url": "<?= route('payroll.data.komponen.kehadiran.datatable', ['id_karyawan' => 'all', 'id_cabang' => 'all', 'id_departemen' => 'all']) ?>",
"type": "GET",
"data": function(d) {
"data": function (d) {
delete d.columns;
},
"complete": function(data) {
"complete": function (data) {
reconfigure(data);
}
},
"aoColumnDefs": [{
"aTargets": "_all",
"bSortable": false
},
"aoColumnDefs": [
{
"className": "text-center",
"targets": [0]
......@@ -52,12 +49,14 @@
"className": "text-left",
"targets": [1, 2, 3, 4]
},
{
"className": "text-right",
"targets": "_all"
},
],
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
"fnCreatedRow": function (row, data, dataIndex) {
$(row).addClass('text-right');
},
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$('td', nRow).css({
'white-space': 'nowrap',
});
if (aData[5] == "-") {
$('td:eq(5)', nRow).css({
'background-color': '#FF7588',
......@@ -74,8 +73,8 @@
<!-- BEGIN FORM INPUT -->
<script type="text/javascript">
$(function() {
$('#modal-nominal').on('show.bs.modal', function(event) {
$(function () {
$('#modal-nominal').on('show.bs.modal', function (event) {
$('#message').hide();
let button = $(event.relatedTarget);
......@@ -112,7 +111,7 @@
modal.find('#komponen').val(komponen);
modal.find('#nominal_pendapatan').focus();
$("#nominal_pendapatan").keydown(function(event) {
$("#nominal_pendapatan").keydown(function (event) {
if (event.which == 13) {
event.preventDefault();
$('.btn_save').click();
......@@ -120,7 +119,7 @@
});
})
$(document).on('click', '.btn_save', function(e) {
$(document).on('click', '.btn_save', function (e) {
e.preventDefault();
var loading = Ladda.create(this);
loading.start();
......@@ -135,12 +134,12 @@
url: "<?= route('payroll.data.komponen.kehadiran.update') ?>",
data: param,
dataType: 'JSON',
success: function(result) {
success: function (result) {
loading.stop();
$('#message').show();
$('#message').html(result.message);
},
error: function() {
error: function () {
loading.stop();
$('#message').show();
$('#message').html('<font color="#eb3a28"><i class="fa fa-close(alias)">&nbsp;</i><strong>Gagal : Terjadi Kesalahan</strong></font>');
......@@ -179,7 +178,7 @@
<!-- BEGIN FILTER DATA -->
<script type="text/javascript">
$(document).ready(function() {
$(document).ready(function () {
dropdown_cabang();
$('#filter #id_karyawan').select2({
......@@ -189,7 +188,7 @@
url: '<?= route("dropdown.karyawan.encrypt") ?>',
dataType: 'json',
delay: 250,
processResults: function(data) {
processResults: function (data) {
return {
results: data
};
......@@ -199,7 +198,7 @@
minLength: 3
});
$('#filter #btn_cari').click(function() {
$('#filter #btn_cari').click(function () {
let loading = Ladda.create(this);
loading.start();
......@@ -211,7 +210,7 @@
loading.stop();
});
$('#filter #btn_filter').click(function() {
$('#filter #btn_filter').click(function () {
let loading = Ladda.create(this);
loading.start();
......@@ -232,7 +231,7 @@
url: '<?= route("dropdown.cabang") ?>',
dataType: 'json',
delay: 250,
processResults: function(data) {
processResults: function (data) {
return {
results: data
};
......@@ -259,7 +258,7 @@
url: '<?= route("dropdown.departemen.by.cabang") ?>/' + id_cabang,
dataType: 'json',
delay: 250,
processResults: function(data) {
processResults: function (data) {
return {
results: data
};
......@@ -347,7 +346,7 @@
$numrow = 2;
}
?>
<th rowspan="<?= $numrow ?>" class="align-middle text-center" width="30">NO</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">NO</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">NAMA KARYAWAN</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">CABANG</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">DEPARTEMEN</th>
......@@ -367,6 +366,7 @@
echo '<th class="align-middle text-center">' . strtoupper($komponen['nm_komponen']) . (($komponen['flag_persentase_gapok'] == '1') ? ' (' . str_replace('.00', '', $komponen['gapok_persen']) . '%)' : '') . '</th>';
}
}
echo '<th class="align-middle text-center">TOTAL</th>';
echo '</tr>';
}
?>
......
<script type="text/javascript">
$(function() {
$(function () {
list_data_temp();
$(document).on('click', '#btn_form_template', function() {
$('#tampil_form').load("<?= route('payroll.data.komponen.kehadiran.import.form.templateimport') ?>", function() {
$(document).on('click', '#btn_form_template', function () {
$('#tampil_form').load("<?= route('payroll.data.komponen.kehadiran.import.form.templateimport') ?>", function () {
$('#modal_form').modal('show');
$(".title").text("Download Template Data Komponen Kehadiran");
$(".btn_unduh").addClass("btn_unduh btn btn-success");
......@@ -12,7 +12,7 @@
});
});
$(document).on('click', '#btn_import', function() {
$(document).on('click', '#btn_import', function () {
var loading = Ladda.create(this);
$('.form_import #message').html("");
......@@ -34,7 +34,7 @@
contentType: false,
processData: false,
dataType: "json",
success: function(result) {
success: function (result) {
if (result.success == true) {
// list_data_temp();
}
......@@ -43,7 +43,7 @@
$('.form_import #message').show();
$('.form_import #message').html(result.message);
},
error: function() {
error: function () {
loading.stop();
$('.form_import #message').show();
$('.form_import #message').html('<font color="#eb3a28"><i class="fa fa-close(alias)">&nbsp;</i><strong>Gagal : Terjadi Kesalahan</strong></font>');
......@@ -53,7 +53,7 @@
});
// # SIMPAN SEMUA DATA TEMPORARY
$(document).on('click', '.btn_simpan_semua', function() {
$(document).on('click', '.btn_simpan_semua', function () {
var id = $(this).attr('id');
$('#modal_hapus').modal('show');
$(".title").text("Apakah anda ingin menyimpan semua data ini?");
......@@ -63,7 +63,7 @@
$(".tombol").append('<button class="btn_save_semua btn btn-success ladda-button" data-style="expand-left"><i class="fa fa-save"></i> SIMPAN</button>');
//btn_delete
$('.btn_save_semua').on('click', function() {
$('.btn_save_semua').on('click', function () {
var loading = Ladda.create(this);
loading.start();
$.ajax({
......@@ -71,17 +71,17 @@
url: "<?= route('payroll.data.komponen.kehadiran.import.publishall') ?>",
data: 'id=' + id,
dataType: 'JSON',
success: function(result) {
success: function (result) {
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
$("#modal_hapus .title").html(result.message.replace("#009900", "FFFFFF"));
loading.stop();
// Set a timeout to hide the element
setTimeout(function() {
setTimeout(function () {
$("#modal_hapus").modal('hide');
}, 1000);
},
error: function() {
error: function () {
loading.stop();
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
......@@ -91,7 +91,7 @@
});
});
$(document).on('click', '.btn_hapus_semua', function() {
$(document).on('click', '.btn_hapus_semua', function () {
$('#modal_hapus').modal('show');
$(".title").text("Apakah anda ingin menghapus semua data ini?");
$("#modal_hapus .card-body").show();
......@@ -100,24 +100,24 @@
$(".tombol").append('<button class="btn_delete_semua btn btn-danger ladda-button" data-style="expand-left"><i class="fa fa-trash"></i> HAPUS</button>');
//btn_delete
$('.btn_delete_semua').on('click', function() {
$('.btn_delete_semua').on('click', function () {
var loading = Ladda.create(this);
loading.start();
$.ajax({
type: 'DELETE',
url: "<?= route('payroll.data.komponen.kehadiran.import.deleteall') ?>",
dataType: 'JSON',
success: function(result) {
success: function (result) {
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
$("#modal_hapus .title").html(result.message.replace("#009900", "FFFFFF"));
loading.stop();
// Set a timeout to hide the element
setTimeout(function() {
setTimeout(function () {
$("#modal_hapus").modal('hide');
}, 1000);
},
error: function() {
error: function () {
loading.stop();
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
......@@ -203,7 +203,7 @@
<button class="btn btn-danger btn-sm" title="Data Kosong"></button> <span>Data tidak lengkap</span>
</div>
</div>
<div class="row mt-2">
<div class="table-responsive mt-2">
<div id="listdata" class="col-md-12">
</div>
......
......@@ -17,7 +17,7 @@
$numrow = 2;
}
?>
<th rowspan="<?= $numrow ?>" class="align-middle text-center" width="30">NO</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">NO</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">NIK</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">NAMA KARYAWAN</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">CABANG</th>
......@@ -38,6 +38,7 @@
echo '<th class="align-middle text-center">' . strtoupper($komponen['nm_komponen']) . (($komponen['flag_persentase_gapok'] == '1') ? ' (' . $komponen['gapok_persen'] . '%)' : '') . '</th>';
}
}
echo '</tr>';
}
?>
</thead>
......@@ -46,9 +47,9 @@
</table>
<script type="text/javascript">
$(function() {
$(function () {
$.fn.dataTableExt.sErrMode = 'none';
list_data = $('#list_data').on('error.dt', function(e, settings, techNote, message) {
list_data = $('#list_data').on('error.dt', function (e, settings, techNote, message) {
if (confirm('Terjadi kesalahan saat memproses data, muat ulang halaman ?')) {
window.location.reload();
}
......@@ -57,7 +58,7 @@
'delay': 1000,
'paging': true,
'lengthChange': true,
'ordering': true,
'ordering': false,
'info': true,
'scrollX': true,
'stateSave': true,
......@@ -77,22 +78,15 @@
"ajax": {
"url": "<?= route('payroll.data.komponen.kehadiran.import.listdata') ?>",
"type": "GET",
"data": function(d) {
"data": function (d) {
delete d.columns;
},
"complete": function(data) {
"complete": function (data) {
// reconfigure(data);
}
},
"aoColumnDefs": [{
"aTargets": [1],
"bSortable": true
},
{
"aTargets": "_all",
"bSortable": false
},
"aoColumnDefs": [
{
"visible": false,
"targets": [1]
......@@ -105,12 +99,11 @@
"className": "text-left",
"targets": [1, 2, 3, 4, 5]
},
{
"className": "text-right",
"targets": "_all"
},
],
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
"fnCreatedRow": function (row, data, dataIndex) {
$(row).addClass('text-right');
},
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
for (let index = 1; index < aData.length; index++) {
const col = aData[index];
......
<script type="text/javascript">
$(function() {
$(function () {
list_data_temp();
$(document).on('click', '#btn_form_template', function() {
$('#tampil_form').load("<?= route('payroll.data.komponen.tdk.tetap.import.form.templateimport') ?>", function() {
$(document).on('click', '#btn_form_template', function () {
$('#tampil_form').load("<?= route('payroll.data.komponen.tdk.tetap.import.form.templateimport') ?>", function () {
$('#modal_form').modal('show');
$(".title").text("Download Template Data Komponen");
$(".btn_unduh").addClass("btn_unduh btn btn-success");
......@@ -12,7 +12,7 @@
});
});
$(document).on('click', '#btn_import', function() {
$(document).on('click', '#btn_import', function () {
var loading = Ladda.create(this);
$('.form_import #message').html("");
......@@ -34,7 +34,7 @@
contentType: false,
processData: false,
dataType: "json",
success: function(result) {
success: function (result) {
if (result.success == true) {
// list_data_temp();
}
......@@ -43,7 +43,7 @@
$('.form_import #message').show();
$('.form_import #message').html(result.message);
},
error: function() {
error: function () {
loading.stop();
$('.form_import #message').show();
$('.form_import #message').html('<font color="#eb3a28"><i class="fa fa-close(alias)">&nbsp;</i><strong>Gagal : Terjadi Kesalahan</strong></font>');
......@@ -53,7 +53,7 @@
});
// # SIMPAN SEMUA DATA TEMPORARY
$(document).on('click', '.btn_simpan_semua', function() {
$(document).on('click', '.btn_simpan_semua', function () {
var id = $(this).attr('id');
$('#modal_hapus').modal('show');
$(".title").text("Apakah anda ingin menyimpan semua data ini?");
......@@ -63,7 +63,7 @@
$(".tombol").append('<button class="btn_save_semua btn btn-success ladda-button" data-style="expand-left"><i class="fa fa-save"></i> SIMPAN</button>');
//btn_delete
$('.btn_save_semua').on('click', function() {
$('.btn_save_semua').on('click', function () {
var loading = Ladda.create(this);
loading.start();
$.ajax({
......@@ -71,16 +71,16 @@
url: "<?= route('payroll.data.komponen.tdk.tetap.import.publishall') ?>",
data: 'id=' + id,
dataType: 'JSON',
success: function(result) {
success: function (result) {
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
$("#modal_hapus .title").html(result.message.replace("#009900", "FFFFFF"));
loading.stop();
setTimeout(function() {
setTimeout(function () {
$("#modal_hapus").modal('hide');
}, 1000);
},
error: function() {
error: function () {
loading.stop();
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
......@@ -90,7 +90,7 @@
});
});
$(document).on('click', '.btn_hapus_semua', function() {
$(document).on('click', '.btn_hapus_semua', function () {
$('#modal_hapus').modal('show');
$(".title").text("Apakah anda ingin menghapus semua data ini?");
$("#modal_hapus .card-body").show();
......@@ -99,23 +99,23 @@
$(".tombol").append('<button class="btn_delete_semua btn btn-danger ladda-button" data-style="expand-left"><i class="fa fa-trash"></i> HAPUS</button>');
//btn_delete
$('.btn_delete_semua').on('click', function() {
$('.btn_delete_semua').on('click', function () {
var loading = Ladda.create(this);
loading.start();
$.ajax({
type: 'DELETE',
url: "<?= route('payroll.data.komponen.tdk.tetap.import.deleteall') ?>",
dataType: 'JSON',
success: function(result) {
success: function (result) {
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
$("#modal_hapus .title").html(result.message.replace("#009900", "FFFFFF"));
loading.stop();
setTimeout(function() {
setTimeout(function () {
$("#modal_hapus").modal('hide');
}, 1000);
},
error: function() {
error: function () {
loading.stop();
$("#modal_hapus .card-body").hide();
$("#modal_hapus .card-footer").hide();
......@@ -201,7 +201,7 @@
<button class="btn btn-danger btn-sm" title="Data Kosong"></button> <span>Data tidak lengkap</span>
</div>
</div>
<div class="row mt-2">
<div class="table-responsive mt-2">
<div id="listdata" class="col-md-12">
</div>
</div>
......
......@@ -54,10 +54,10 @@
</table>
<script type="text/javascript">
$(function() {
$(function () {
var paramBulan = "<?= $bulan ?>";
$.fn.dataTableExt.sErrMode = 'none';
list_data = $('#list_data').on('error.dt', function(e, settings, techNote, message) {
list_data = $('#list_data').on('error.dt', function (e, settings, techNote, message) {
// if(confirm('Terjadi kesalahan saat memproses data, muat ulang halaman ?')){
// window.location.reload();
// }
......@@ -65,7 +65,7 @@
'searching': true,
'paging': true,
'lengthChange': true,
'ordering': true,
'ordering': false,
'info': true,
'scrollX': true,
'scrollCollapse': true,
......@@ -84,22 +84,15 @@
"ajax": {
"url": "<?= route('payroll.data.komponen.tdk.tetap.import.listdata', ['bulan' => '"+paramBulan+"']) ?>",
"type": "GET",
"data": function(d) {
"data": function (d) {
delete d.columns;
},
"complete": function(data) {
"complete": function (data) {
reconfigure(data);
}
},
"aoColumnDefs": [{
"aTargets": [1],
"bSortable": true
},
{
"aTargets": "_all",
"bSortable": false
},
"aoColumnDefs": [
{
"visible": false,
"targets": [1]
......@@ -112,12 +105,11 @@
"className": "text-left",
"targets": [1, 2, 3, 4, 5, 6]
},
{
"className": "text-right",
"targets": "_all"
},
],
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
"fnCreatedRow": function (row, data, dataIndex) {
$(row).addClass('text-right');
},
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
for (let index = 1; index < aData.length; index++) {
const col = aData[index];
......
<!-- BAGIN DATATABLE -->
<script type="text/javascript">
$(document).ready(function() {
$(document).ready(function () {
var bulan = ($("#filter #bulan").val()) ? $("#filter #bulan").val() : '';
$.fn.dataTableExt.sErrMode = 'none';
list_data = $('#list_data').on('error.dt', function(e, settings, techNote, message) {
list_data = $('#list_data').on('error.dt', function (e, settings, techNote, message) {
if (confirm('Terjadi kesalahan saat memproses data, muat ulang halaman ?')) {
window.location.reload();
}
......@@ -12,7 +12,7 @@
'searchDelay': 1000,
'paging': true,
'lengthChange': true,
'ordering': true,
'ordering': false,
'info': true,
'scrollX': true,
'fixedColumns': {
......@@ -32,18 +32,15 @@
"ajax": {
"url": "<?= route('payroll.data.komponen.tdk.tetap.datatable', ['bulan' => '"+bulan+"', 'id_karyawan' => $id_karyawan, 'id_cabang' => $id_cabang, 'id_departemen' => $id_departemen]) ?>",
"type": "GET",
"data": function(d) {
"data": function (d) {
delete d.columns;
},
"complete": function(data) {
"complete": function (data) {
reconfigure(data);
}
},
"aoColumnDefs": [{
"aTargets": "_all",
"bSortable": false
},
"aoColumnDefs": [
{
"className": "text-center",
"targets": [0]
......@@ -52,11 +49,10 @@
"className": "text-left",
"targets": [1, 2, 3, 4]
},
{
"className": "text-right",
"targets": "_all"
],
"fnCreatedRow": function (row, data, dataIndex) {
$(row).addClass('text-right');
},
]
});
});
</script>
......@@ -71,7 +67,7 @@
$numrow = 2;
}
?>
<th rowspan="<?= $numrow ?>" class="align-middle text-center" width="30">NO</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">NO</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">NAMA KARYAWAN</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">CABANG</th>
<th rowspan="<?= $numrow ?>" class="align-middle text-center">DEPARTEMEN</th>
......
<!-- BAGIN DATATABLE -->
<script type="text/javascript">
$(document).ready(function() {
$(document).ready(function () {
$.fn.dataTableExt.sErrMode = 'none';
list_data = $('#list_data').on('error.dt', function(e, settings, techNote, message) {
list_data = $('#list_data').on('error.dt', function (e, settings, techNote, message) {
if (confirm('Terjadi kesalahan saat memproses data, muat ulang halaman ?')) {
window.location.reload();
}
......@@ -11,7 +11,7 @@
'delay': 1000,
'paging': true,
'lengthChange': true,
'ordering': true,
'ordering': false,
'info': true,
'scrollX': true,
'stateSave': true,
......@@ -33,19 +33,16 @@
"ajax": {
"url": "<?= route('payroll.gaji.datatable', ['bulan' => $periode, 'id_cabang' => $cabang, 'id_departemen' => $departemen, 'id_karyawan' => $karyawan]) ?>",
"type": "GET",
"data": function(d) {
"data": function (d) {
delete d.columns;
},
"complete": function(data) {
"complete": function (data) {
$(".btn_download_excel").attr("bulande", $("#filter #bulan").val());
// reconfigure(data);
},
},
"aoColumnDefs": [{
"aTargets": "_all",
"bSortable": false,
},
"aoColumnDefs": [
{
"targets": [1, 3, 4],
"className": "align-top text-left"
......@@ -54,12 +51,11 @@
"targets": [0, 2, 5, -1, -2, -3, -4],
"className": "align-top text-center"
},
{
"targets": "_all",
"className": "align-top text-right"
}
],
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
"fnCreatedRow": function (row, data, dataIndex) {
$(row).addClass('align-top text-right');
},
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$('td', nRow).css({
'white-space': 'nowrap'
});
......@@ -71,7 +67,7 @@
<table id="list_data" class="table table-striped table-bordered" style="width:100%">
<thead>
<tr class="bg-tr">
<th rowspan="3" class="align-middle text-center" width="100">NO</th>
<th rowspan="3" class="align-middle text-center">NO</th>
<th rowspan="3" class="align-middle text-center">NAMA KARYAWAN</th>
<th rowspan="3" class="align-middle text-center">BULAN</th>
<th rowspan="3" class="align-middle text-center">CABANG</th>
......@@ -109,7 +105,7 @@
<th rowspan="3" class="align-middle text-center">THP</th>
<th colspan="3" class="align-middle text-center">TUNJ. DIBIAYAI PERUSAHAAN</th>
<th colspan="3" class="align-middle text-center">PUBLISH</th>
<th rowspan="3" class="align-middle text-center" width="150px">AKSI</th>
<th rowspan="3" class="align-middle text-center">AKSI</th>
</tr>
<tr class="bg-tr">
<!-- PENGHASILAN -->
......
......@@ -11,7 +11,7 @@
'searchDelay': 1000,
'paging': true,
'lengthChange': true,
'ordering': true,
'ordering': false,
'info': true,
'scrollX': true,
'stateSave': true,
......@@ -37,19 +37,15 @@
}
},
"aoColumnDefs": [{
"aTargets": "_all",
"bSortable": false
},
"aoColumnDefs": [
{
"className": "text-left",
"targets": [2]
},
{
"className": "text-center",
"targets": "_all"
],
"fnCreatedRow": function (row, data, dataIndex) {
$(row).addClass('text-center');
},
]
});
......
......@@ -11,7 +11,7 @@
'searchDelay': 1000,
'paging': true,
'lengthChange': true,
'ordering': true,
'ordering': false,
'info': true,
'scrollX': true,
'stateSave': true,
......@@ -37,19 +37,15 @@
}
},
"aoColumnDefs": [{
"aTargets": "_all",
"bSortable": false
},
"aoColumnDefs": [
{
"className": "text-left",
"targets": [2, 3]
},
{
"className": "text-center",
"targets": "_all"
],
"fnCreatedRow": function (row, data, dataIndex) {
$(row).addClass('text-center');
},
]
});
......
......@@ -11,7 +11,7 @@
'searchDelay': 1000,
'paging': true,
'lengthChange': true,
'ordering': true,
'ordering': false,
'info': true,
'scrollX': true,
'stateSave': true,
......@@ -37,19 +37,15 @@
}
},
"aoColumnDefs": [{
"aTargets": "_all",
"bSortable": false
},
"aoColumnDefs": [
{
"className": "text-left",
"targets": [2, 3]
},
{
"className": "text-center",
"targets": "_all"
],
"fnCreatedRow": function (row, data, dataIndex) {
$(row).addClass('text-center');
},
]
});
......
<script>
$(function() {
$(function () {
$.fn.dataTableExt.sErrMode = 'none';
list_data = $('#list_data').on('error.dt', function(e, settings, techNote, message) {
list_data = $('#list_data').on('error.dt', function (e, settings, techNote, message) {
if (confirm('Terjadi kesalahan saat memproses data, muat ulang halaman ?')) {
window.location.reload();
}
......@@ -25,26 +25,25 @@
"ajax": {
"url": "<?= route("payroll.master.lembur.karyawan.import.data") ?>",
"type": "GET",
"data": function(d) {
"data": function (d) {
delete d.columns;
},
"complete": function(data) {
"complete": function (data) {
reconfigure(data);
$('[data-toggle="tooltip"]').tooltip();
}
},
"initComplete": function() {
"initComplete": function () {
$("#excel").show();
},
"aoColumnDefs": [{
"className": "text-left",
"aTargets": [1, 2]
}, {
"className": "text-center",
"targets": "_all"
}],
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
"fnCreatedRow": function (row, data, dataIndex) {
$(row).addClass('text-center');
},
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
let nik = $("td:eq(1) span", nRow);
if (nik.text().substr(0, 1) == "#") {
nik.html(nik.text().substr(1));
......@@ -64,8 +63,8 @@
}
});
$('#btn_form_template').on('click', function() {
$('#tampil_form').load("<?= route('payroll.master.lembur.karyawan.import.template') ?>", function() {
$('#btn_form_template').on('click', function () {
$('#tampil_form').load("<?= route('payroll.master.lembur.karyawan.import.template') ?>", function () {
$('#modal_form').modal('show');
$(".title").text("Unduh Template Master Lembur Karyawan");
$("#btn_submit").addClass("btn btn-success");
......@@ -73,7 +72,7 @@
});
});
$('#btn_import').on('click', function() {
$('#btn_import').on('click', function () {
var loading = Ladda.create(this);
$('.form_import #message').html("");
......@@ -95,13 +94,13 @@
contentType: false,
processData: false,
dataType: "json",
success: function(result) {
success: function (result) {
loading.stop();
$('.form_import #message').show();
$('.form_import #message').html(result.message);
list_data.ajax.reload();
},
error: function() {
error: function () {
loading.stop();
$('.form_import #message').show();
$('.form_import #message').html('<font color="#eb3a28"><i class="fa fa-close(alias)">&nbsp;</i><strong>Gagal : Terjadi Kesalahan</strong></font>');
......@@ -110,7 +109,7 @@
});
$('#hapus_all').on('click', function() {
$('#hapus_all').on('click', function () {
$('#modal_form').modal('show');
$(".title").text("Apakah anda ingin menghapus semua data ini?");
$("#modal_form .card-body").hide();
......@@ -119,14 +118,14 @@
$("#modal_form .action").append('<button class="btn_delete_semua btn btn-danger ladda-button" data-style="expand-left"><i class="fa fa-trash"></i> HAPUS</button>');
//btn_delete
$('.btn_delete_semua').on('click', function() {
$('.btn_delete_semua').on('click', function () {
var loading = Ladda.create(this);
loading.start();
$.ajax({
type: 'DELETE',
url: "<?= route('payroll.master.lembur.karyawan.import.delete') ?>",
dataType: 'JSON',
success: function(result) {
success: function (result) {
loading.stop();
if (result.success == true) {
showMsg(result.message);
......@@ -135,7 +134,7 @@
showMsg(result.message.replace("#eb3a28", "#FFFFFF"), false);
}
},
error: function() {
error: function () {
loading.stop();
showMsg('error', false);
}
......@@ -143,7 +142,7 @@
});
});
$('#simpan_all').on('click', function() {
$('#simpan_all').on('click', function () {
$("#modal_form").modal("show");
$(".title").text("Apakah anda ingin menyimpan semua data ini?");
$("#modal_form .card-body").hide();
......@@ -152,14 +151,14 @@
$("#modal_form .action").empty();
$("#modal_form .action").append('<button class="btn_save_semua btn btn-success ladda-button" data-style="expand-left"><i class="fa fa-save"></i> SIMPAN</button>');
$('.btn_save_semua').on('click', function() {
$('.btn_save_semua').on('click', function () {
var loading = Ladda.create(this);
loading.start();
$.ajax({
type: 'POST',
url: "<?= route('payroll.master.lembur.karyawan.import.publish') ?>",
dataType: 'JSON',
success: function(result) {
success: function (result) {
loading.stop();
if (result.success == true) {
showMsg(result.message);
......@@ -168,7 +167,7 @@
showMsg(result.message.replace("#eb3a28", "#FFFFFF"), false);
}
},
error: function() {
error: function () {
loading.stop();
showMsg('error', false);
}
......
<script>
if (location.href == "<?= route('payroll.master.lembur.karyawan') ?>") window.location.replace("<?= route('payroll.master.lembur.home') ?>");
$(function() {
$(function () {
$.fn.dataTableExt.sErrMode = 'none';
list_data = $('#list_data').on('error.dt', function(e, settings, techNote, message) {
list_data = $('#list_data').on('error.dt', function (e, settings, techNote, message) {
if (confirm('Terjadi kesalahan saat memproses data, muat ulang halaman ?')) {
window.location.reload();
}
......@@ -26,32 +26,33 @@
"ajax": {
"url": "<?= route("payroll.master.lembur.data", ["tab" => "lembur_karyawan", "params" => "1.1.1.1.all.all.all"]) ?>",
"type": "GET",
"data": function(d) {
"data": function (d) {
delete d.columns;
},
"complete": function(data) {
"complete": function (data) {
reconfigure(data);
$('[data-toggle="tooltip"]').tooltip();
}
},
"initComplete": function() {
"initComplete": function () {
$("#excel").show();
},
"aoColumnDefs": [{
"aoColumnDefs": [
{
"className": "text-left",
"aTargets": [1, 2]
}, {
"className": "text-center",
"targets": "_all"
}],
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
}
],
"fnCreatedRow": function (row, data, dataIndex) {
$(row).addClass('text-center');
},
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$("td:eq(3), td:eq(4), td:eq(5), td:eq(6)", nRow).css("width", "150px");
$("td:eq(-1)", nRow).css("width", "20px");
}
});
$(document).on('click', '#lembur_karyawan .btn_edit', function() {
$(document).on('click', '#lembur_karyawan .btn_edit', function () {
var row = this.closest('tr');
for (let index = 3; index < 7; index++) {
row.children[index].querySelector('select').className = "form-control";
......@@ -61,7 +62,7 @@
this.closest('td').querySelector('#edit').className = "hidden";
});
$(document).on('click', '#lembur_karyawan .btn_save', function(e) {
$(document).on('click', '#lembur_karyawan .btn_save', function (e) {
e.preventDefault();
const row = this.closest('tr');
......@@ -80,10 +81,10 @@
url: "<?= route('payroll.master.lembur.karyawan.save') ?>",
data: params,
dataType: 'JSON',
beforeSend: function() {
beforeSend: function () {
loading_start(row, selects);
},
success: function(result) {
success: function (result) {
loading_stop(row, selects);
if (result.success == true) {
list_data.ajax.reload();
......@@ -91,14 +92,14 @@
showMsg(result.message, false);
}
},
error: function() {
error: function () {
loading_stop(row, selects);
showMsg('error', false);
}
});
});
$(document).on('click', '#lembur_karyawan .btn_batal', function() {
$(document).on('click', '#lembur_karyawan .btn_batal', function () {
var row = this.closest('tr');
for (let index = 3; index < 7; index++) {
let selectElement = row.children[index].querySelector('select');
......@@ -110,17 +111,17 @@
this.closest('td').querySelector('#edit').className = "";
});
$(document).on('click', '#lembur_karyawan .btn_delete', function() {
$(document).on('click', '#lembur_karyawan .btn_delete', function () {
const id = $(this).attr('id');
$("#modal_form .modal-dialog").removeClass("modal-lg");
$("#modal_form .modal-dialog").addClass("modal-md");
$("#tampil_form").load("<?= route('payroll.master.lembur.karyawan.form.delete', ['id' => '"+id+"']) ?>", function() {
$("#tampil_form").load("<?= route('payroll.master.lembur.karyawan.form.delete', ['id' => '"+id+"']) ?>", function () {
$("#modal_form").modal("show");
$(".title").text("Hapus Data Master Lembur Karyawan");
$("#btn_submit").html("<i class='fa fa-trash (alias)'></i> HAPUS");
$("#btn_submit").addClass("btn_destroy btn btn-danger");
$('.btn_destroy').on('click', function(e) {
$('.btn_destroy').on('click', function (e) {
e.preventDefault();
var loading = Ladda.create(this);
loading.start();
......@@ -133,7 +134,7 @@
url: "<?= route('payroll.master.lembur.karyawan.delete') ?>",
data: param,
dataType: 'JSON',
success: function(result) {
success: function (result) {
loading.stop();
if (result.success == true) {
showMsg(result.message);
......@@ -142,7 +143,7 @@
showMsg(result.message, false);
}
},
error: function() {
error: function () {
loading.stop();
showMsg('error', false);
}
......@@ -160,7 +161,7 @@
url: '<?= route("dropdown.karyawan.encrypt") ?>',
dataType: 'json',
delay: 250,
processResults: function(data) {
processResults: function (data) {
return {
results: data
};
......@@ -177,7 +178,7 @@
url: '<?= route("dropdown.cabang") ?>',
dataType: 'json',
delay: 250,
processResults: function(data) {
processResults: function (data) {
return {
results: data
};
......@@ -187,7 +188,7 @@
minLength: 3
});
$('#filter #btn_cari').click(function() {
$('#filter #btn_cari').click(function () {
let loading = Ladda.create(this);
loading.start();
......@@ -196,12 +197,12 @@
$("#excel").attr("data-params", params);
list_data.ajax.url("<?= route('payroll.master.lembur.data', ['tab' => 'lembur_karyawan', 'params' => '"+params+"']) ?>").load(function() {
list_data.ajax.url("<?= route('payroll.master.lembur.data', ['tab' => 'lembur_karyawan', 'params' => '"+params+"']) ?>").load(function () {
loading.stop();
});
});
$('#filter #btn_filter').click(function() {
$('#filter #btn_filter').click(function () {
let loading = Ladda.create(this);
loading.start();
......@@ -215,12 +216,12 @@
$("#excel").attr("data-params", params);
list_data.ajax.url("<?= route('payroll.master.lembur.data', ['tab' => 'lembur_karyawan', 'params' => '"+params+"']) ?>").load(function() {
list_data.ajax.url("<?= route('payroll.master.lembur.data', ['tab' => 'lembur_karyawan', 'params' => '"+params+"']) ?>").load(function () {
loading.stop();
});
});
$("#excel").click(function() {
$("#excel").click(function () {
const params = $(this).data("params");
const urlExcel = "<?= route('payroll.master.lembur.karyawan.download', ['params' => '"+params+"']) ?>";
downloadFile(urlExcel, this);
......@@ -241,7 +242,7 @@
url: '<?= route("dropdown.departemen.by.cabang", ["cabang" => "'+id_cabang+'"]) ?>',
dataType: 'json',
delay: 250,
processResults: function(data) {
processResults: function (data) {
return {
results: data
};
......
<script>
if (location.href == "<?= route('payroll.master.lembur.pengaturan') ?>") window.location.replace("<?= route('payroll.master.lembur.home') ?>");
$(function() {
$(function () {
$.fn.dataTableExt.sErrMode = 'none';
list_data = $('#list_data').on('error.dt', function(e, settings, techNote, message) {
list_data = $('#list_data').on('error.dt', function (e, settings, techNote, message) {
if (confirm('Terjadi kesalahan saat memproses data, muat ulang halaman ?')) {
window.location.reload();
}
......@@ -27,10 +27,10 @@
"ajax": {
"url": "<?= route("payroll.master.lembur.data", ["tab" => "pengaturan"]) ?>",
"type": "GET",
"data": function(d) {
"data": function (d) {
delete d.columns;
},
"complete": function(data) {
"complete": function (data) {
reconfigure(data);
}
},
......@@ -38,11 +38,11 @@
"aoColumnDefs": [{
"className": "text-left",
"aTargets": [2]
}, {
"className": "text-center",
"targets": "_all"
}],
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
"fnCreatedRow": function (row, data, dataIndex) {
$(row).addClass('text-center');
},
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$('td:eq(3), td:eq(4)', nRow).css({
'text-align': 'center',
'width': '100px'
......@@ -50,8 +50,8 @@
}
});
$("#tambah_data").on("click", function() {
$("#tampil_form").load("<?= route("payroll.master.lembur.pengaturan.form", ['for' => 'tambah']) ?>", function() {
$("#tambah_data").on("click", function () {
$("#tampil_form").load("<?= route("payroll.master.lembur.pengaturan.form", ['for' => 'tambah']) ?>", function () {
$("#modal_form .modal-dialog").removeClass("modal-md");
$("#modal_form .modal-dialog").addClass("modal-lg");
$("#modal_form").modal("show");
......@@ -62,9 +62,9 @@
});
});
$(document).on('click', '#pengaturan .btn_edit', function() {
$(document).on('click', '#pengaturan .btn_edit', function () {
var id = $(this).attr("id");
$("#tampil_form").load("<?= route('payroll.master.lembur.pengaturan.form', ['for' => 'edit', 'id' => '"+id+"']) ?>", function() {
$("#tampil_form").load("<?= route('payroll.master.lembur.pengaturan.form', ['for' => 'edit', 'id' => '"+id+"']) ?>", function () {
$("#modal_form .modal-dialog").removeClass("modal-md");
$("#modal_form .modal-dialog").addClass("modal-lg");
$("#modal_form").modal("show");
......@@ -75,9 +75,9 @@
});
});
$(document).on('click', '#pengaturan .btn_delete', function() {
$(document).on('click', '#pengaturan .btn_delete', function () {
var id = $(this).attr("id");
$("#tampil_form").load("<?= route('payroll.master.lembur.pengaturan.form', ['for' => 'delete', 'id' => '"+id+"']) ?>", function() {
$("#tampil_form").load("<?= route('payroll.master.lembur.pengaturan.form', ['for' => 'delete', 'id' => '"+id+"']) ?>", function () {
$("#modal_form .modal-dialog").removeClass("modal-lg");
$("#modal_form .modal-dialog").addClass("modal-md");
$("#modal_form").modal("show");
......
......@@ -50,12 +50,12 @@
</table>
<script type="text/javascript">
$(function() {
$(function () {
list_data = $('#list_data').DataTable({
'searching': true,
'paging': true,
'lengthChange': true,
'ordering': true,
'ordering': false,
'info': true,
'scrollX': true,
'scrollCollapse': true,
......@@ -73,36 +73,29 @@
"ajax": {
"url": "<?= route('pengaturan.shift.import.listdata') ?>",
"type": "POST",
data: function(d) {
data: function (d) {
d.id_cabang = "<?= $id_cabang ?>";
},
"complete": function(data) {
"complete": function (data) {
reconfigure(data);
}
},
"aoColumnDefs": [{
"aTargets": [0],
"bSortable": false
},
"aoColumnDefs": [
{
"aTargets": [1],
"bSortable": true
},
{
"aTargets": "_all",
"bSortable": false
},
{
targets: [<?= $targets_libur_sisa ?>],
className: "dt-libur"
"targets": [<?= $targets_libur_sisa ?>],
"className": "dt-libur"
},
{
targets: [<?= $targets_libur_left ?>],
className: "dt-libur-left"
"targets": [<?= $targets_libur_left ?>],
"className": "dt-libur-left"
}
],
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$('td:eq(0)', nRow).css({
'text-align': 'center'
......
<script type="text/javascript">
$(function() {
$(function () {
$('#filter_tahun').datepicker({
format: "yyyy",
......@@ -12,13 +12,13 @@
// Set nilai default tahun ke tahun saat ini
$('#filter_tahun').val(new Date().getFullYear());
$('#btn_filter_tahun').on('click', function() {
$('#btn_filter_tahun').on('click', function () {
list_data.ajax.reload(); // Reload DataTables pertama
list_data2.ajax.reload(); // Reload DataTables kedua
});
$.fn.dataTableExt.sErrMode = 'none';
list_data = $('#list_data').on('error.dt', function(e, settings, techNote, message) {
list_data = $('#list_data').on('error.dt', function (e, settings, techNote, message) {
if (confirm('<?= $this->lang->line('error_datatable') ?>')) {
window.location.reload();
}
......@@ -36,18 +36,19 @@
'url': '" . base_url("assets/plugins/datatables/dataTables-language-id.json") . "',
'sEmptyTable': 'Tidak ada data untuk ditampilkan'
},";
}; ?> "processing": true,
}
; ?> "processing": true,
"serverSide": true,
"order": [],
"ajax": {
"url": "<?= route('history.cuti.listdata', ['jenis' => 'tambah', 'id_karyawan' => $this->route->param('id_karyawan')]) ?>",
"type": "GET",
"data": function(d) {
"data": function (d) {
delete d.columns;
d.tahun = $('#filter_tahun').val();
},
"complete": function(data) {
"complete": function (data) {
reconfigure(data);
}
},
......@@ -59,7 +60,7 @@
"targets": [0, 2],
"className": "text-center"
}],
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
//
$('td:eq(0)', nRow).css({
'width': '100px'
......@@ -71,7 +72,7 @@
}
});
list_data2 = $('#list_data2').on('error.dt', function(e, settings, techNote, message) {
list_data2 = $('#list_data2').on('error.dt', function (e, settings, techNote, message) {
if (confirm('<?= $this->lang->line('error_datatable') ?>')) {
window.location.reload();
}
......@@ -79,7 +80,7 @@
'searching': false,
'paging': false,
'lengthChange': true,
'ordering': true,
'ordering': false,
'info': false,
'scrollX': false,
"pageLength": 100,
......@@ -89,30 +90,28 @@
'url': '" . base_url("assets/plugins/datatables/dataTables-language-id.json") . "',
'sEmptyTable': 'Tidak ada data untuk ditampilkan'
},";
}; ?> "processing": true,
}
; ?> "processing": true,
"serverSide": true,
"order": [],
"ajax": {
"url": "<?= route('history.cuti.listdata.terpakai', ['jenis' => 'kurang', 'id_karyawan' => $this->route->param('id_karyawan')]) ?>",
"type": "GET",
"data": function(d) {
"data": function (d) {
delete d.columns;
d.tahun = $('#filter_tahun').val();
},
"complete": function(data) {
"complete": function (data) {
reconfigure(data);
}
},
"aoColumnDefs": [{
"aTargets": "_all",
"bSortable": false
}, {
"targets": [0, 2], // Sesuaikan index kolom jika urutan berbeda
"className": "text-center"
}],
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
//
$('td:eq(0)', nRow).css({
'width': '100px'
......@@ -125,8 +124,8 @@
});
$(document).on("click", ".btn_tambah", function() {
$('#tampil_form').load("<?= route('history.cuti.form.tambah') ?>", function() {
$(document).on("click", ".btn_tambah", function () {
$('#tampil_form').load("<?= route('history.cuti.form.tambah') ?>", function () {
$('#modal_form').modal('show');
$("#modal_form .title").text("<?= $this->lang->line('title_form_tambah_data') ?>");
$(".btn_save").addClass("btn_save btn btn-biru");
......@@ -136,7 +135,7 @@
});
});
$(document).on("click", "#btn_new_input", function() {
$(document).on("click", "#btn_new_input", function () {
$('#form_tambah :input').prop("disabled", false);
$('#form_tambah #id_karyawan').val(null).trigger('change');
$('#form_tambah #saldo').val('');
......@@ -147,7 +146,7 @@
$('#message').hide();
});
$(document).on("click", ".btn_save", function(e) {
$(document).on("click", ".btn_save", function (e) {
e.preventDefault();
$('#modal_form #message').html("");
const loading = Ladda.create(this);
......@@ -172,7 +171,7 @@
url: "<?= route('history.cuti.save') ?>",
data: param,
dataType: 'JSON',
success: function(result) {
success: function (result) {
if (result.success == true) {
if (result.type == 'save') {
$("#form_tambah :input").prop("disabled", true);
......@@ -188,7 +187,7 @@
$('#modal_form #message').show();
$('#modal_form #message').html(result.message);
},
error: function() {
error: function () {
loading.stop();
$('#modal_form #message').show();
$('#modal_form #message').html('<font color="#eb3a28"><i class="fa fa-close(alias)">&nbsp;</i><strong><?= $this->lang->line('error') ?></strong></font>');
......@@ -275,7 +274,6 @@
<div class="card card-rounded">
<div class="card-content">
<div class="card-body">
<div class="table-responsive">
<div class="row">
<div class="col-md-12">
<div class="form-group row">
......@@ -292,6 +290,7 @@
<div class="row mt-2">
<div class="col-md-6">
<h4 style="text-align: center;">PENAMBAHAN SALDO CUTI</h4>
<div class="table-responsive">
<table id="list_data" class="table table-striped" style="width:100%">
<thead>
<tr>
......@@ -303,12 +302,12 @@
<tbody>
</tbody>
</table>
</div><!--
<div class="col-md-1">
</div>
</div>
</div> -->
<div class="col-md-6">
<h4 style="text-align: center;">SALDO CUTI TERPAKAI</h4>
<div class="table-responsive">
<table id="list_data2" class="table table-striped" style="width:100%">
<thead>
<tr>
......
<script type="text/javascript">
$(document).ready(function() {
$(document).ready(function () {
$('.filter #id_cabang').select2({
placeholder: '<?= $this->lang->line('semua_cabang') ?>',
......@@ -9,7 +9,7 @@
url: '<?= route("dropdown.cabang") ?>',
dataType: 'json',
delay: 250,
processResults: function(data) {
processResults: function (data) {
return {
results: data
};
......@@ -19,7 +19,7 @@
minLength: 3,
});
$(document).on('click', '#form_input input[name="libur"]', function() {
$(document).on('click', '#form_input input[name="libur"]', function () {
var libur = $(this).val();
if (libur == "1") {
$('#form_input #div_jam_masuk').hide();
......@@ -33,8 +33,8 @@
});
$(document).on('click', '.btn_tambah', function() {
$('#tampil_form').load("<?= route('master.shift.form.tambah') ?>", function() {
$(document).on('click', '.btn_tambah', function () {
$('#tampil_form').load("<?= route('master.shift.form.tambah') ?>", function () {
$('#modal_form').modal('show');
$(".title").text("<?= $this->lang->line('title_form_tambah_data') ?>");
$(".btn_save").addClass("btn_save btn btn-primary");
......@@ -44,8 +44,8 @@
});
});
$(document).on('click', '.btn_edit', function() {
$('#tampil_form').load("<?= route('master.shift.form.edit') ?>" + "/" + $(this).attr('id') + "/ubah", function() {
$(document).on('click', '.btn_edit', function () {
$('#tampil_form').load("<?= route('master.shift.form.edit') ?>" + "/" + $(this).attr('id') + "/ubah", function () {
$('#modal_form').modal('show');
$(".title").text("<?= $this->lang->line('title_form_edit_data') ?>");
$(".btn_save").addClass("btn_save btn btn-warning");
......@@ -55,8 +55,8 @@
});
});
$(document).on('click', '.btn_delete', function() {
$('#tampil_form').load("<?= route('master.shift.form.hapus') ?>" + "/" + $(this).attr('id') + "/hapus", function() {
$(document).on('click', '.btn_delete', function () {
$('#tampil_form').load("<?= route('master.shift.form.hapus') ?>" + "/" + $(this).attr('id') + "/hapus", function () {
$('#modal_form').modal('show');
$(".title").text("<?= $this->lang->line('title_form_hapus_data') ?>");
$("#form_input :input").prop("disabled", true);
......@@ -66,7 +66,7 @@
});
});
$(document).on('click', '#btn_new_input', function() {
$(document).on('click', '#btn_new_input', function () {
$("#form_input :input").prop("disabled", false);
$("#form_input :input[type='text']").val('');
......@@ -82,7 +82,7 @@
$('#message').hide();
});
$(document).on("click", ".btn_save", function(e) {
$(document).on("click", ".btn_save", function (e) {
e.preventDefault();
$('#message').html("");
......@@ -140,7 +140,7 @@
?>
let libur = '0';
<?php
}else{
} else {
?>
let libur = $("input[name='libur']:checked").val();
<?php
......@@ -162,7 +162,7 @@
url: "<?= route('master.shift.save') ?>",
data: param,
dataType: 'JSON',
success: function(result) {
success: function (result) {
if (result.success == true) {
if (result.type == 'save') {
$("#form_input :input").prop("disabled", true);
......@@ -175,7 +175,7 @@
$('#message').show();
$('#message').html(result.message);
},
error: function() {
error: function () {
loading.stop();
$('#message').show();
$('#message').html('<font color="#eb3a28"><i class="fa fa-close(alias)">&nbsp;</i><strong><?= $this->lang->line('error') ?></strong></font>');
......@@ -184,7 +184,7 @@
});
// PROSES DELETE
$(document).on('click', '.btn_hapus', function() {
$(document).on('click', '.btn_hapus', function () {
var loading = Ladda.create(this);
loading.start();
$.ajax({
......@@ -192,13 +192,13 @@
url: "<?= route('master.shift.delete') ?>",
data: 'id_shift=' + $("#id_shift").val(),
dataType: 'JSON',
success: function(result) {
success: function (result) {
$("#modal_form .card-body").hide();
$("#modal_form .card-footer").hide();
$("#modal_form .title").html(result.message.replace("#009900", "#ffffff"));
},
error: function() {
error: function () {
loading.stop();
$("#modal_form .card-body").hide();
$("#modal_form .card-footer").hide();
......@@ -208,7 +208,7 @@
});
// PROSES HAPUS MASTER SHIFT YANG MASIH DIGUNAKAN
$(document).on('click', '.btn_hapus_ya', function() {
$(document).on('click', '.btn_hapus_ya', function () {
// alert('hapus shift aktif');
// return false
......@@ -219,13 +219,13 @@
url: "<?= route('master.shift.hapus.jadwal') ?>",
data: 'id_shift=' + $("#id_shift").val(),
dataType: 'JSON',
success: function(result) {
success: function (result) {
$("#modal_form .card-body").hide();
$("#modal_form .card-footer").hide();
$("#modal_form .title").html(result.message.replace("#009900", "#ffffff"));
},
error: function() {
error: function () {
loading.stop();
$("#modal_form .card-body").hide();
$("#modal_form .card-footer").hide();
......@@ -285,6 +285,7 @@
</div>
<div class="row mt-2">
<div class="col-md-12">
<div class="table-responsive">
<table id="list_data" class="table table-striped" style="width:100%">
<thead>
<tr>
......@@ -319,6 +320,7 @@
</div>
</div>
</div>
</div>
</div>
<!-- START TAMPIL MODAL -->
......@@ -330,7 +332,7 @@
<!-- END TAMPIL MODAL -->
<script type="text/javascript">
$(function() {
$(function () {
list_data = $('#list_data').DataTable({
'searching': true,
'paging': true,
......@@ -341,10 +343,10 @@
// 'scrollCollapse': true,
// 'fixedColumns': true,
'language': {
<?php if ($this->code_lang == 'id') : ?> 'url': '<?= base_url("assets/plugins/datatables/dataTables-language-id.json") ?>',
<?php if ($this->code_lang == 'id'): ?> 'url': '<?= base_url("assets/plugins/datatables/dataTables-language-id.json") ?>',
'sEmptyTable': 'Tidak ada data untuk ditampilkan',
'searchPlaceholder': 'Kode/Nama'
<?php else : ?> 'searchPlaceholder': 'Code/Name'
<?php else: ?> 'searchPlaceholder': 'Code/Name'
<?php endif; ?>
},
"processing": true,
......@@ -355,11 +357,11 @@
"url": "<?= route('master.shift.listdata') ?>",
"type": "GET",
"data": {
id_cabang: function() {
id_cabang: function () {
return $(".filter #id_cabang").val()
},
},
"complete": function(data) {
"complete": function (data) {
reconfigure(data);
}
},
......@@ -379,7 +381,7 @@
}
?>
],
"fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$('td:eq(0)', nRow).css({
'text-align': 'center',
'width': '10px'
......@@ -423,10 +425,10 @@
});
$(document).on('click', '.filter #btn_filter', function() {
$(document).on('click', '.filter #btn_filter', function () {
var loading = Ladda.create(this);
loading.start();
list_data.ajax.reload(function() {
list_data.ajax.reload(function () {
loading.stop();
});
});
......
......@@ -426,7 +426,7 @@ html body .content .content-wrapper {
padding: 0.6rem 1rem !important;
font-size: 13px;
}
.dataTables_filter .form-control {
.dt-search .form-control {
line-height: 1.25;
height: calc(2.4rem + 2px) !important;
padding: 0.6rem 1rem !important;
......@@ -468,8 +468,8 @@ select.form-control:not([size]):not([multiple]),
/*Css Button Selesai*/
/*CSS Table*/
table.dataTable thead {
background-color: var(--warna-kustom);
table.dataTable thead tr>.dtfc-fixed-start, table.dataTable thead tr>.dtfc-fixed-end, table.dataTable tfoot tr>.dtfc-fixed-start, table.dataTable tfoot tr>.dtfc-fixed-end, table.dataTable thead {
background-color: var(--warna-kustom) !important;
color: #fff;
text-align: center;
font-size: 13.5px;
......@@ -1216,11 +1216,20 @@ select:focus {
.datepicker {
z-index: 9999 !important;
}
div.dataTables_wrapper div.dataTables_filter label {
div.dt-container div.dt-search label {
margin-top: 0;
}
.dataTables_length .custom-select {
div.dt-container div.dt-layout-start, div.dt-container div.dt-layout-end, div.dt-container div.dt-layout-full {
padding: 4px 0px;
}
div.dt-container div.dt-processing > div > div {
background-color: var(--warna-kustom) !important;
}
.dt-length .custom-select {
/* background: transparent; */
}
.page-link {
......@@ -1281,7 +1290,7 @@ ul.pagination li:last-child a:hover {
background-color: var(--warna-kustom) !important;
}
.dataTables_paginate.paging_simple_numbers {
.dt-paging.paging_simple_numbers {
margin-top: 0.5em !important;
}
/*CSS Plugin selesai*/
......@@ -1839,14 +1848,6 @@ input:checked + .slider:before {
}
/* END CSS BANTUAN LAYANAN */
table.table-bordered.dataTable th:last-child,
table.table-bordered.dataTable th:last-child,
table.table-bordered.dataTable td:last-child,
table.table-bordered.dataTable td:last-child {
border-right-width: 1px !important;
}
.badge-custom-warning {
padding: 10px;
background-color: #f3ebdb;
......
......@@ -4,20 +4,60 @@
*
* To rebuild or modify this file with the latest versions of the included
* software please visit:
* https://datatables.net/download/#bs4/dt-1.10.20
* https://datatables.net/download/#bs4/dt-2.3.5/af-2.7.1/b-3.2.5/b-colvis-3.2.5/cr-2.1.2/cc-1.1.1/date-1.6.2/fc-5.0.5/fh-4.0.5/kt-2.12.2/r-3.0.7/rg-1.6.0/rr-1.5.0/sc-2.4.3/sb-1.8.4/sp-2.3.5/sl-3.1.3/sr-1.4.3
*
* Included libraries:
* DataTables 1.10.20
* DataTables 2.3.5, AutoFill 2.7.1, Buttons 3.2.5, Column visibility 3.2.5, ColReorder 2.1.2, ColumnControl 1.1.1, DateTime 1.6.2, FixedColumns 5.0.5, FixedHeader 4.0.5, KeyTable 2.12.2, Responsive 3.0.7, RowGroup 1.6.0, RowReorder 1.5.0, Scroller 2.4.3, SearchBuilder 1.8.4, SearchPanes 2.3.5, Select 3.1.3, StateRestore 1.4.3
*/
table.dataTable{
clear:both;
/* margin-top:6px !important; */
/* margin-bottom:6px !important; */
max-width:none !important;
border-collapse:separate !important;
border-spacing:0
}
table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper div.dataTables_length label{font-weight:normal;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length select{width:auto;display:inline-block}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:normal;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:0.5em;display:inline-block;width:auto}div.dataTables_wrapper div.dataTables_info{padding-top:0.85em;white-space:nowrap}div.dataTables_wrapper div.dataTables_paginate{margin:0;white-space:nowrap;text-align:right}div.dataTables_wrapper div.dataTables_paginate ul.pagination{margin:2px 0;white-space:nowrap;justify-content:flex-end}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting{padding-right:30px}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead .sorting,table.dataTable thead .sorting_asc,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{cursor:pointer;position:relative}table.dataTable thead .sorting:before,table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:before,table.dataTable thead .sorting_desc_disabled:after{position:absolute;bottom:0.9em;display:block;opacity:0.3}table.dataTable thead .sorting:before,table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:before,table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:before{right:1em;content:"\2191"}table.dataTable thead .sorting:after,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc:after,table.dataTable thead .sorting_asc_disabled:after,table.dataTable thead .sorting_desc_disabled:after{right:0.5em;content:"\2193"}table.dataTable thead .sorting_asc:before,table.dataTable thead .sorting_desc:after{opacity:1}table.dataTable thead .sorting_asc_disabled:before,table.dataTable thead .sorting_desc_disabled:after{opacity:0}div.dataTables_scrollHead table.dataTable{margin-bottom:0 !important}div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody table thead .sorting:before,div.dataTables_scrollBody table thead .sorting_asc:before,div.dataTables_scrollBody table thead .sorting_desc:before,div.dataTables_scrollBody table thead .sorting:after,div.dataTables_scrollBody table thead .sorting_asc:after,div.dataTables_scrollBody table thead .sorting_desc:after{display:none}div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot>.dataTables_scrollFootInner{box-sizing:content-box}div.dataTables_scrollFoot>.dataTables_scrollFootInner>table{margin-top:0 !important;border-top:none}@media screen and (max-width: 767px){div.dataTables_wrapper div.dataTables_length,div.dataTables_wrapper div.dataTables_filter,div.dataTables_wrapper div.dataTables_info,div.dataTables_wrapper div.dataTables_paginate{text-align:center}}table.dataTable.table-sm>thead>tr>th{padding-right:20px}table.dataTable.table-sm .sorting:before,table.dataTable.table-sm .sorting_asc:before,table.dataTable.table-sm .sorting_desc:before{top:5px;right:0.85em}table.dataTable.table-sm .sorting:after,table.dataTable.table-sm .sorting_asc:after,table.dataTable.table-sm .sorting_desc:after{top:5px}table.table-bordered.dataTable th,table.table-bordered.dataTable td{border-left-width:0}table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable td:last-child,table.table-bordered.dataTable td:last-child{border-right-width:0}table.table-bordered.dataTable tbody th,table.table-bordered.dataTable tbody td{border-bottom-width:0}div.dataTables_scrollHead table.table-bordered{border-bottom-width:0}div.table-responsive>div.dataTables_wrapper>div.row{margin:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:first-child{padding-left:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:last-child{padding-right:0}
:root{--dt-row-selected: 2, 117, 216;--dt-row-selected-text: 255, 255, 255;--dt-row-selected-link: 228, 228, 228;--dt-row-stripe: 0, 0, 0;--dt-row-hover: 0, 0, 0;--dt-column-ordering: 0, 0, 0;--dt-header-align-items: center;--dt-header-vertical-align: middle;--dt-html-background: white}:root.dark{--dt-html-background: rgb(33, 37, 41)}table.dataTable tbody td.dt-control{text-align:center;cursor:pointer}table.dataTable tbody td.dt-control:before{display:inline-block;box-sizing:border-box;content:"";border-top:5px solid transparent;border-left:10px solid rgba(0, 0, 0, 0.5);border-bottom:5px solid transparent;border-right:0px solid transparent}table.dataTable tbody tr.dt-hasChild td.dt-control:before{border-top:10px solid rgba(0, 0, 0, 0.5);border-left:5px solid transparent;border-bottom:0px solid transparent;border-right:5px solid transparent}table.dataTable tfoot:empty{display:none}html.dark table.dataTable td.dt-control:before,:root[data-bs-theme=dark] table.dataTable td.dt-control:before,:root[data-theme=dark] table.dataTable td.dt-control:before{border-left-color:rgba(255, 255, 255, 0.5)}html.dark table.dataTable tr.dt-hasChild td.dt-control:before,:root[data-bs-theme=dark] table.dataTable tr.dt-hasChild td.dt-control:before,:root[data-theme=dark] table.dataTable tr.dt-hasChild td.dt-control:before{border-top-color:rgba(255, 255, 255, 0.5);border-left-color:transparent}div.dt-scroll{width:100%}div.dt-scroll-body thead tr,div.dt-scroll-body tfoot tr{height:0}div.dt-scroll-body thead tr th,div.dt-scroll-body thead tr td,div.dt-scroll-body tfoot tr th,div.dt-scroll-body tfoot tr td{height:0 !important;padding-top:0px !important;padding-bottom:0px !important;border-top-width:0px !important;border-bottom-width:0px !important}div.dt-scroll-body thead tr th div.dt-scroll-sizing,div.dt-scroll-body thead tr td div.dt-scroll-sizing,div.dt-scroll-body tfoot tr th div.dt-scroll-sizing,div.dt-scroll-body tfoot tr td div.dt-scroll-sizing{height:0 !important;overflow:hidden !important}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead>tr>th.dt-orderable-asc span.dt-column-order:before,table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order:before,table.dataTable thead>tr>td.dt-orderable-asc span.dt-column-order:before,table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order:before{position:absolute;display:block;bottom:50%;content:"▲";content:"▲"/""}table.dataTable thead>tr>th.dt-orderable-desc span.dt-column-order:after,table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order:after,table.dataTable thead>tr>td.dt-orderable-desc span.dt-column-order:after,table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order:after{position:absolute;display:block;top:50%;content:"▼";content:"▼"/""}table.dataTable thead>tr>th.dt-orderable-asc span.dt-column-order,table.dataTable thead>tr>th.dt-orderable-desc span.dt-column-order,table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order,table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order,table.dataTable thead>tr>td.dt-orderable-asc span.dt-column-order,table.dataTable thead>tr>td.dt-orderable-desc span.dt-column-order,table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order,table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order{position:relative;width:12px;height:20px}table.dataTable thead>tr>th.dt-orderable-asc span.dt-column-order:before,table.dataTable thead>tr>th.dt-orderable-asc span.dt-column-order:after,table.dataTable thead>tr>th.dt-orderable-desc span.dt-column-order:before,table.dataTable thead>tr>th.dt-orderable-desc span.dt-column-order:after,table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order:before,table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order:after,table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order:before,table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order:after,table.dataTable thead>tr>td.dt-orderable-asc span.dt-column-order:before,table.dataTable thead>tr>td.dt-orderable-asc span.dt-column-order:after,table.dataTable thead>tr>td.dt-orderable-desc span.dt-column-order:before,table.dataTable thead>tr>td.dt-orderable-desc span.dt-column-order:after,table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order:before,table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order:after,table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order:before,table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order:after{left:0;opacity:.125;line-height:9px;font-size:.8em}table.dataTable thead>tr>th.dt-orderable-asc,table.dataTable thead>tr>th.dt-orderable-desc,table.dataTable thead>tr>td.dt-orderable-asc,table.dataTable thead>tr>td.dt-orderable-desc{cursor:pointer}table.dataTable thead>tr>th.dt-orderable-asc:hover,table.dataTable thead>tr>th.dt-orderable-desc:hover,table.dataTable thead>tr>td.dt-orderable-asc:hover,table.dataTable thead>tr>td.dt-orderable-desc:hover{outline:2px solid rgba(0, 0, 0, 0.05);outline-offset:-2px}table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order:before,table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order:after,table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order:before,table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order:after{opacity:.6}table.dataTable thead>tr>th.dt-orderable-none:not(.dt-ordering-asc,.dt-ordering-desc) span.dt-column-order:empty,table.dataTable thead>tr>th.sorting_desc_disabled span.dt-column-order:after,table.dataTable thead>tr>th.sorting_asc_disabled span.dt-column-order:before,table.dataTable thead>tr>td.dt-orderable-none:not(.dt-ordering-asc,.dt-ordering-desc) span.dt-column-order:empty,table.dataTable thead>tr>td.sorting_desc_disabled span.dt-column-order:after,table.dataTable thead>tr>td.sorting_asc_disabled span.dt-column-order:before{display:none}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}table.dataTable thead>tr>th div.dt-column-header,table.dataTable thead>tr>th div.dt-column-footer,table.dataTable thead>tr>td div.dt-column-header,table.dataTable thead>tr>td div.dt-column-footer,table.dataTable tfoot>tr>th div.dt-column-header,table.dataTable tfoot>tr>th div.dt-column-footer,table.dataTable tfoot>tr>td div.dt-column-header,table.dataTable tfoot>tr>td div.dt-column-footer{display:flex;justify-content:space-between;align-items:var(--dt-header-align-items);gap:4px}table.dataTable thead>tr>th div.dt-column-header span.dt-column-title,table.dataTable thead>tr>th div.dt-column-footer span.dt-column-title,table.dataTable thead>tr>td div.dt-column-header span.dt-column-title,table.dataTable thead>tr>td div.dt-column-footer span.dt-column-title,table.dataTable tfoot>tr>th div.dt-column-header span.dt-column-title,table.dataTable tfoot>tr>th div.dt-column-footer span.dt-column-title,table.dataTable tfoot>tr>td div.dt-column-header span.dt-column-title,table.dataTable tfoot>tr>td div.dt-column-footer span.dt-column-title{flex-grow:1}table.dataTable thead>tr>th div.dt-column-header span.dt-column-title:empty,table.dataTable thead>tr>th div.dt-column-footer span.dt-column-title:empty,table.dataTable thead>tr>td div.dt-column-header span.dt-column-title:empty,table.dataTable thead>tr>td div.dt-column-footer span.dt-column-title:empty,table.dataTable tfoot>tr>th div.dt-column-header span.dt-column-title:empty,table.dataTable tfoot>tr>th div.dt-column-footer span.dt-column-title:empty,table.dataTable tfoot>tr>td div.dt-column-header span.dt-column-title:empty,table.dataTable tfoot>tr>td div.dt-column-footer span.dt-column-title:empty{display:none}div.dt-scroll-body>table.dataTable>thead>tr>th,div.dt-scroll-body>table.dataTable>thead>tr>td{overflow:hidden}:root.dark table.dataTable thead>tr>th.dt-orderable-asc:hover,:root.dark table.dataTable thead>tr>th.dt-orderable-desc:hover,:root.dark table.dataTable thead>tr>td.dt-orderable-asc:hover,:root.dark table.dataTable thead>tr>td.dt-orderable-desc:hover,:root[data-bs-theme=dark] table.dataTable thead>tr>th.dt-orderable-asc:hover,:root[data-bs-theme=dark] table.dataTable thead>tr>th.dt-orderable-desc:hover,:root[data-bs-theme=dark] table.dataTable thead>tr>td.dt-orderable-asc:hover,:root[data-bs-theme=dark] table.dataTable thead>tr>td.dt-orderable-desc:hover{outline:2px solid rgba(255, 255, 255, 0.05)}div.dt-processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-22px;text-align:center;padding:2px;z-index:10}div.dt-processing>div:last-child{position:relative;width:80px;height:15px;margin:1em auto}div.dt-processing>div:last-child>div{position:absolute;top:0;width:13px;height:13px;border-radius:50%;background:rgb(2, 117, 216);background:rgb(var(--dt-row-selected));animation-timing-function:cubic-bezier(0, 1, 1, 0)}div.dt-processing>div:last-child>div:nth-child(1){left:8px;animation:datatables-loader-1 .6s infinite}div.dt-processing>div:last-child>div:nth-child(2){left:8px;animation:datatables-loader-2 .6s infinite}div.dt-processing>div:last-child>div:nth-child(3){left:32px;animation:datatables-loader-2 .6s infinite}div.dt-processing>div:last-child>div:nth-child(4){left:56px;animation:datatables-loader-3 .6s infinite}@keyframes datatables-loader-1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes datatables-loader-3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes datatables-loader-2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}table.dataTable th,table.dataTable td{box-sizing:border-box}table.dataTable th.dt-type-numeric,table.dataTable th.dt-type-date,table.dataTable td.dt-type-numeric,table.dataTable td.dt-type-date{text-align:right}table.dataTable th.dt-type-numeric div.dt-column-header,table.dataTable th.dt-type-numeric div.dt-column-footer,table.dataTable th.dt-type-date div.dt-column-header,table.dataTable th.dt-type-date div.dt-column-footer,table.dataTable td.dt-type-numeric div.dt-column-header,table.dataTable td.dt-type-numeric div.dt-column-footer,table.dataTable td.dt-type-date div.dt-column-header,table.dataTable td.dt-type-date div.dt-column-footer{flex-direction:row-reverse}table.dataTable th.dt-left,table.dataTable td.dt-left{text-align:left}table.dataTable th.dt-left div.dt-column-header,table.dataTable th.dt-left div.dt-column-footer,table.dataTable td.dt-left div.dt-column-header,table.dataTable td.dt-left div.dt-column-footer{flex-direction:row}table.dataTable th.dt-center,table.dataTable td.dt-center{text-align:center}table.dataTable th.dt-right,table.dataTable td.dt-right{text-align:right}table.dataTable th.dt-right div.dt-column-header,table.dataTable th.dt-right div.dt-column-footer,table.dataTable td.dt-right div.dt-column-header,table.dataTable td.dt-right div.dt-column-footer{flex-direction:row-reverse}table.dataTable th.dt-justify,table.dataTable td.dt-justify{text-align:justify}table.dataTable th.dt-justify div.dt-column-header,table.dataTable th.dt-justify div.dt-column-footer,table.dataTable td.dt-justify div.dt-column-header,table.dataTable td.dt-justify div.dt-column-footer{flex-direction:row}table.dataTable th.dt-nowrap,table.dataTable td.dt-nowrap{white-space:nowrap}table.dataTable th.dt-empty,table.dataTable td.dt-empty{text-align:center;vertical-align:top}table.dataTable thead th,table.dataTable thead td,table.dataTable tfoot th,table.dataTable tfoot td{text-align:left;vertical-align:var(--dt-header-vertical-align)}table.dataTable thead th.dt-head-left,table.dataTable thead td.dt-head-left,table.dataTable tfoot th.dt-head-left,table.dataTable tfoot td.dt-head-left{text-align:left}table.dataTable thead th.dt-head-left div.dt-column-header,table.dataTable thead th.dt-head-left div.dt-column-footer,table.dataTable thead td.dt-head-left div.dt-column-header,table.dataTable thead td.dt-head-left div.dt-column-footer,table.dataTable tfoot th.dt-head-left div.dt-column-header,table.dataTable tfoot th.dt-head-left div.dt-column-footer,table.dataTable tfoot td.dt-head-left div.dt-column-header,table.dataTable tfoot td.dt-head-left div.dt-column-footer{flex-direction:row}table.dataTable thead th.dt-head-center,table.dataTable thead td.dt-head-center,table.dataTable tfoot th.dt-head-center,table.dataTable tfoot td.dt-head-center{text-align:center}table.dataTable thead th.dt-head-right,table.dataTable thead td.dt-head-right,table.dataTable tfoot th.dt-head-right,table.dataTable tfoot td.dt-head-right{text-align:right}table.dataTable thead th.dt-head-right div.dt-column-header,table.dataTable thead th.dt-head-right div.dt-column-footer,table.dataTable thead td.dt-head-right div.dt-column-header,table.dataTable thead td.dt-head-right div.dt-column-footer,table.dataTable tfoot th.dt-head-right div.dt-column-header,table.dataTable tfoot th.dt-head-right div.dt-column-footer,table.dataTable tfoot td.dt-head-right div.dt-column-header,table.dataTable tfoot td.dt-head-right div.dt-column-footer{flex-direction:row-reverse}table.dataTable thead th.dt-head-justify,table.dataTable thead td.dt-head-justify,table.dataTable tfoot th.dt-head-justify,table.dataTable tfoot td.dt-head-justify{text-align:justify}table.dataTable thead th.dt-head-justify div.dt-column-header,table.dataTable thead th.dt-head-justify div.dt-column-footer,table.dataTable thead td.dt-head-justify div.dt-column-header,table.dataTable thead td.dt-head-justify div.dt-column-footer,table.dataTable tfoot th.dt-head-justify div.dt-column-header,table.dataTable tfoot th.dt-head-justify div.dt-column-footer,table.dataTable tfoot td.dt-head-justify div.dt-column-header,table.dataTable tfoot td.dt-head-justify div.dt-column-footer{flex-direction:row}table.dataTable thead th.dt-head-nowrap,table.dataTable thead td.dt-head-nowrap,table.dataTable tfoot th.dt-head-nowrap,table.dataTable tfoot td.dt-head-nowrap{white-space:nowrap}table.dataTable tbody th.dt-body-left,table.dataTable tbody td.dt-body-left{text-align:left}table.dataTable tbody th.dt-body-center,table.dataTable tbody td.dt-body-center{text-align:center}table.dataTable tbody th.dt-body-right,table.dataTable tbody td.dt-body-right{text-align:right}table.dataTable tbody th.dt-body-justify,table.dataTable tbody td.dt-body-justify{text-align:justify}table.dataTable tbody th.dt-body-nowrap,table.dataTable tbody td.dt-body-nowrap{white-space:nowrap}table.dataTable.table{clear:both;max-width:none;border-spacing:0;margin-bottom:0}table.dataTable.table.table-striped>tbody>tr:nth-of-type(2n+1){background-color:transparent}table.dataTable.table>tbody>tr{background-color:transparent}table.dataTable.table>tbody>tr.selected>*{box-shadow:inset 0 0 0 9999px rgb(2, 117, 216);box-shadow:inset 0 0 0 9999px rgb(var(--dt-row-selected));color:rgb(255, 255, 255);color:rgb(var(--dt-row-selected-text))}table.dataTable.table>tbody>tr.selected a{color:rgb(228, 228, 228);color:rgb(var(--dt-row-selected-link))}table.dataTable.table.table-striped>tbody>tr:nth-of-type(2n+1)>*{box-shadow:inset 0 0 0 9999px rgba(var(--dt-row-stripe), 0.05)}table.dataTable.table.table-striped>tbody>tr:nth-of-type(2n+1).selected>*{box-shadow:inset 0 0 0 9999px rgba(2, 117, 216, 0.95);box-shadow:inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.95)}table.dataTable.table.table-hover>tbody>tr:hover>*{box-shadow:inset 0 0 0 9999px rgba(var(--dt-row-hover), 0.075)}table.dataTable.table.table-hover>tbody>tr.selected:hover>*{box-shadow:inset 0 0 0 9999px rgba(2, 117, 216, 0.975);box-shadow:inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.975)}div.dt-container div.dt-layout-start>*:not(:last-child){margin-right:1em}div.dt-container div.dt-layout-end>*:not(:first-child){margin-left:1em}div.dt-container div.dt-layout-full{width:100%}div.dt-container div.dt-layout-full>*:only-child{margin-left:auto;margin-right:auto}div.dt-container div.dt-layout-table>div{display:block !important}@media screen and (max-width: 767px){div.dt-container div.dt-layout-start>*:not(:last-child){margin-right:0}div.dt-container div.dt-layout-end>*:not(:first-child){margin-left:0}}div.dt-container{position:relative}div.dt-container>div.row{margin-bottom:.5rem}div.dt-container>div.row:last-child{margin-bottom:0}div.dt-container div.dt-length label{font-weight:normal;text-align:left;white-space:nowrap;margin-bottom:0}div.dt-container div.dt-length select{width:auto;display:inline-block;margin-right:.5em}div.dt-container div.dt-search label{font-weight:normal;white-space:nowrap;text-align:left;margin-bottom:0}div.dt-container div.dt-search input{margin-left:.5em;display:inline-block;width:auto}div.dt-container div.dt-info{white-space:nowrap}div.dt-container div.dt-paging{margin:0}div.dt-container div.dt-paging ul.pagination{margin:0;flex-wrap:wrap}div.dt-container div.dt-processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}div.dt-container div.dt-scroll-body{border-bottom:1px solid #dee2e6}div.dt-container div.dt-scroll-body table,div.dt-container div.dt-scroll-body tbody>tr:last-child>*{border-bottom:none}div.dt-scroll-head table.dataTable{margin-bottom:0 !important}div.dt-scroll-body>table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dt-scroll-body>table thead .dt-orderable-asc:before,div.dt-scroll-body>table thead .dt-orderable-desc:after{display:none}div.dt-scroll-body>table>tbody tr:first-child th,div.dt-scroll-body>table>tbody tr:first-child td{border-top:none}div.dt-scroll-foot>.dt-scroll-footInner{box-sizing:content-box}div.dt-scroll-foot>.dt-scroll-footInner>table{margin-top:0 !important;border-top:none}@media screen and (max-width: 767px){div.dt-container div.dt-length,div.dt-container div.dt-search,div.dt-container div.dt-info,div.dt-container div.dt-paging{text-align:center}div.dt-container div.row{margin-bottom:0}div.dt-container div.row>*{margin-bottom:.5rem}div.dt-container div.dt-paging ul.pagination{justify-content:center !important}}table.dataTable.table-sm>thead>tr th.dt-orderable-asc,table.dataTable.table-sm>thead>tr th.dt-orderable-desc,table.dataTable.table-sm>thead>tr th.dt-ordering-asc,table.dataTable.table-sm>thead>tr th.dt-ordering-desc,table.dataTable.table-sm>thead>tr td.dt-orderable-asc,table.dataTable.table-sm>thead>tr td.dt-orderable-desc,table.dataTable.table-sm>thead>tr td.dt-ordering-asc,table.dataTable.table-sm>thead>tr td.dt-ordering-desc{padding-right:4px}table.dataTable.table-sm>thead>tr th.dt-orderable-asc span.dt-column-order,table.dataTable.table-sm>thead>tr th.dt-orderable-desc span.dt-column-order,table.dataTable.table-sm>thead>tr th.dt-ordering-asc span.dt-column-order,table.dataTable.table-sm>thead>tr th.dt-ordering-desc span.dt-column-order,table.dataTable.table-sm>thead>tr td.dt-orderable-asc span.dt-column-order,table.dataTable.table-sm>thead>tr td.dt-orderable-desc span.dt-column-order,table.dataTable.table-sm>thead>tr td.dt-ordering-asc span.dt-column-order,table.dataTable.table-sm>thead>tr td.dt-ordering-desc span.dt-column-order{right:4px}table.dataTable.table-sm>thead>tr th.dt-type-date span.dt-column-order,table.dataTable.table-sm>thead>tr th.dt-type-numeric span.dt-column-order,table.dataTable.table-sm>thead>tr td.dt-type-date span.dt-column-order,table.dataTable.table-sm>thead>tr td.dt-type-numeric span.dt-column-order{left:4px}div.dt-scroll-head table.table-bordered{border-bottom-width:0}div.table-responsive>div.dt-container>div.row{margin:0}div.table-responsive>div.dt-container>div.row>div[class^=col-]:first-child{padding-left:0}div.table-responsive>div.dt-container>div.row>div[class^=col-]:last-child{padding-right:0}
div.dt-autofill-handle{position:absolute;height:10px;width:10px;z-index:10;box-sizing:border-box;background:#0275d8;cursor:pointer}div.dtk-focus-alt div.dt-autofill-handle{background:#ff8b33}div.dt-autofill-select{position:absolute;z-index:1001;background-color:#0275d8;background-image:repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255, 255, 255, 0.5) 5px, rgba(255, 255, 255, 0.5) 10px)}div.dt-autofill-select.top,div.dt-autofill-select.bottom{height:3px;margin-top:-1px}div.dt-autofill-select.left,div.dt-autofill-select.right{width:3px;margin-left:-1px}div.dt-autofill-list{position:fixed;top:50%;left:50%;width:500px;margin-left:-250px;background-color:white;border-radius:.75em;box-shadow:0 12px 30px rgba(0, 0, 0, 0.6);z-index:104;box-sizing:border-box;padding:2em}div.dt-autofill-list div.dtaf-popover-close{position:absolute;top:6px;right:6px;width:22px;height:22px;text-align:center;border-radius:3px;cursor:pointer;z-index:12}div.dt-autofill-list>div.dt-autofill-list-items>button{display:block;width:100%;margin:1em 0;padding:1em;border-radius:.5em;border:1px solid rgba(0, 0, 0, 0.175);background-color:#f6f6f6;text-align:left;cursor:pointer}div.dt-autofill-list>div.dt-autofill-list-items>button:hover{background-color:#ebebeb}div.dt-autofill-list>div.dt-autofill-list-items>button:first-child{margin-top:0}div.dt-autofill-list>div.dt-autofill-list-items>button:last-child{margin-bottom:0}div.dt-autofill-list>div.dt-autofill-list-items>button input[type=number]{display:inline-block;box-sizing:border-box;padding:6px;width:70px;margin:-2px 0}div.dt-autofill-list>div.dt-autofill-list-items>button span{float:right}div.dtaf-popover-closeable{padding-top:2.5em}div.dt-autofill-background{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.7);background:radial-gradient(ellipse farthest-corner at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);z-index:103}html.dark div.dt-autofill-handle{background:rgb(110, 168, 254)}html.dark div.dt-autofill-select{position:absolute;z-index:1001;background-color:rgb(110, 168, 254);background-image:repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(0, 0, 0, 0.5) 5px, rgba(0, 0, 0, 0.5) 10px)}html.dark div.dt-autofill-list{background-color:var(--dt-html-background);border:1px solid rgba(255, 255, 255, 0.15)}html.dark div.dt-autofill-list button{color:inherit;border:1px solid rgba(255, 255, 255, 0.175);background-color:rgb(47, 52, 56)}html.dark div.dt-autofill-list button:hover{background-color:rgb(64, 69, 73)}@media screen and (max-width: 767px){div.dt-autofill-handle{height:16px;width:16px}div.dt-autofill-list{width:90%;left:74.5%}}div.dt-autofill-list div.dt-autofill-question input[type=number]{padding:6px;width:60px;margin:-2px 0}
@keyframes dtb-spinner{100%{transform:rotate(360deg)}}@-o-keyframes dtb-spinner{100%{-o-transform:rotate(360deg);transform:rotate(360deg)}}@-ms-keyframes dtb-spinner{100%{-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dtb-spinner{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dtb-spinner{100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}div.dataTables_wrapper{position:relative}div.dt-buttons{position:initial}div.dt-buttons .dt-button{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}div.dt-button-info{position:fixed;top:50%;left:50%;width:400px;margin-top:-100px;margin-left:-200px;background-color:white;border-radius:.75em;box-shadow:3px 4px 10px 1px rgba(0, 0, 0, 0.8);text-align:center;z-index:2003;overflow:hidden}div.dt-button-info h2{padding:2rem 2rem 1rem 2rem;margin:0;font-weight:normal}div.dt-button-info>div{padding:1em 2em 2em 2em}div.dtb-popover-close{position:absolute;top:6px;right:6px;width:22px;height:22px;text-align:center;border-radius:3px;cursor:pointer;z-index:2003}button.dtb-hide-drop{display:none !important}div.dt-button-collection-title{text-align:center;padding:.3em .5em .5em;margin-left:.5em;margin-right:.5em;font-size:.9em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}div.dt-button-collection-title:empty{display:none}span.dt-button-spacer{display:inline-block;margin:.5em;white-space:nowrap}span.dt-button-spacer.bar{border-left:1px solid rgba(0, 0, 0, 0.3);vertical-align:middle;padding-left:.5em}span.dt-button-spacer.bar:empty{height:1em;width:1px;padding-left:0}div.dt-button-collection .dt-button-active{padding-right:3em}div.dt-button-collection .dt-button-active:after{position:absolute;top:50%;margin-top:-10px;right:1em;display:inline-block;content:"✓";color:inherit}div.dt-button-collection .dt-button-active.dt-button-split{padding-right:0}div.dt-button-collection .dt-button-active.dt-button-split:after{display:none}div.dt-button-collection .dt-button-active.dt-button-split>*:first-child{padding-right:3em}div.dt-button-collection .dt-button-active.dt-button-split>*:first-child:after{position:absolute;top:50%;margin-top:-10px;right:1em;display:inline-block;content:"✓";color:inherit}div.dt-button-collection .dt-button-active-a a{padding-right:3em}div.dt-button-collection .dt-button-active-a a:after{position:absolute;right:1em;display:inline-block;content:"✓";color:inherit}div.dt-button-collection span.dt-button-spacer{width:100%;font-size:.9em;text-align:center;margin:.5em 0}div.dt-button-collection span.dt-button-spacer:empty{height:0;width:100%}div.dt-button-collection span.dt-button-spacer.bar{border-left:none;border-bottom:1px solid rgba(0, 0, 0, 0.1);padding-left:0}@media print{table.dataTable tr>*{box-shadow:none !important}}div.dt-buttons div.btn-group{position:initial}div.dt-buttons span.dt-button-spacer.empty{margin:1px}div.dt-buttons span.dt-button-spacer.bar:empty{height:inherit}div.dt-buttons .btn.processing{color:rgba(0, 0, 0, 0.2)}div.dt-buttons .btn.processing:after{position:absolute;top:50%;left:50%;width:16px;height:16px;margin:-8px 0 0 -8px;box-sizing:border-box;display:block;content:" ";border:2px solid rgb(40, 40, 40);border-radius:50%;border-left-color:transparent;border-right-color:transparent;animation:dtb-spinner 1500ms infinite linear;-o-animation:dtb-spinner 1500ms infinite linear;-ms-animation:dtb-spinner 1500ms infinite linear;-webkit-animation:dtb-spinner 1500ms infinite linear;-moz-animation:dtb-spinner 1500ms infinite linear}div.dropdown-menu.dt-button-collection{margin-top:4px;width:200px}div.dropdown-menu.dt-button-collection .dt-button{position:relative}div.dropdown-menu.dt-button-collection .dt-button.dropdown-toggle::after{position:absolute;right:12px;top:14px}div.dropdown-menu.dt-button-collection div.dt-button-split{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:stretch}div.dropdown-menu.dt-button-collection div.dt-button-split a:first-child{min-width:auto;flex:1 0 50px;padding-right:0}div.dropdown-menu.dt-button-collection div.dt-button-split button:last-child{min-width:33px;flex:0;background:transparent;border:none;line-height:1rem;color:rgb(33, 37, 41);padding:0 16px;overflow:visible}div.dropdown-menu.dt-button-collection div.dt-button-split button:last-child:hover{color:#16181b;background-color:#f8f9fa}div.dropdown-menu.dt-button-collection.fixed{position:fixed;display:block;top:50%;left:50%;margin-left:-75px;border-radius:5px;background-color:white;padding:.5em}div.dropdown-menu.dt-button-collection.fixed.two-column{margin-left:-200px}div.dropdown-menu.dt-button-collection.fixed.three-column{margin-left:-225px}div.dropdown-menu.dt-button-collection.fixed.four-column{margin-left:-300px}div.dropdown-menu.dt-button-collection.fixed.columns{margin-left:-409px}@media screen and (max-width: 1024px){div.dropdown-menu.dt-button-collection.fixed.columns{margin-left:-308px}}@media screen and (max-width: 640px){div.dropdown-menu.dt-button-collection.fixed.columns{margin-left:-203px}}@media screen and (max-width: 460px){div.dropdown-menu.dt-button-collection.fixed.columns{margin-left:-100px}}div.dropdown-menu.dt-button-collection.fixed>:last-child{max-height:100vh;overflow:auto}div.dropdown-menu.dt-button-collection.two-column>:last-child,div.dropdown-menu.dt-button-collection.three-column>:last-child,div.dropdown-menu.dt-button-collection.four-column>:last-child{display:block !important;column-gap:8px}div.dropdown-menu.dt-button-collection.two-column>:last-child>*,div.dropdown-menu.dt-button-collection.three-column>:last-child>*,div.dropdown-menu.dt-button-collection.four-column>:last-child>*{-webkit-column-break-inside:avoid;break-inside:avoid}div.dropdown-menu.dt-button-collection.two-column{width:400px}div.dropdown-menu.dt-button-collection.two-column>:last-child{padding-bottom:1px;column-count:2}div.dropdown-menu.dt-button-collection.three-column{width:450px}div.dropdown-menu.dt-button-collection.three-column>:last-child{padding-bottom:1px;column-count:3}div.dropdown-menu.dt-button-collection.four-column{width:600px}div.dropdown-menu.dt-button-collection.four-column>:last-child{padding-bottom:1px;column-count:4}div.dropdown-menu.dt-button-collection .dt-button{border-radius:0}div.dropdown-menu.dt-button-collection.columns{width:auto}div.dropdown-menu.dt-button-collection.columns>:last-child{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:6px;width:818px;padding-bottom:1px}div.dropdown-menu.dt-button-collection.columns>:last-child .dt-button{min-width:200px;flex:0 1;margin:0}div.dropdown-menu.dt-button-collection.columns.dtb-b3>:last-child,div.dropdown-menu.dt-button-collection.columns.dtb-b2>:last-child,div.dropdown-menu.dt-button-collection.columns.dtb-b1>:last-child{justify-content:space-between}div.dropdown-menu.dt-button-collection.columns.dtb-b3 .dt-button{flex:1 1 32%}div.dropdown-menu.dt-button-collection.columns.dtb-b2 .dt-button{flex:1 1 48%}div.dropdown-menu.dt-button-collection.columns.dtb-b1 .dt-button{flex:1 1 100%}@media screen and (max-width: 1024px){div.dropdown-menu.dt-button-collection.columns>:last-child{width:612px}}@media screen and (max-width: 640px){div.dropdown-menu.dt-button-collection.columns>:last-child{width:406px}div.dropdown-menu.dt-button-collection.columns.dtb-b3 .dt-button{flex:0 1 32%}}@media screen and (max-width: 460px){div.dropdown-menu.dt-button-collection.columns>:last-child{width:200px}}div.dt-button-background{position:fixed;top:0;left:0;width:100%;height:100%;z-index:999}@media screen and (max-width: 767px){div.dt-buttons{float:none;width:100%;text-align:center;margin-bottom:.5em}div.dt-buttons a.btn{float:none}}
body.dtcr-dragging{overflow-x:hidden}table.dtcr-cloned.dataTable{position:absolute !important;background-color:rgba(255, 255, 255, 0.7);z-index:202;border-radius:4px}table.dataTable tbody tr td.dtcr-moving{background-color:rgba(127, 127, 127, 0.15)}table.dataTable tbody tr td.dtcr-moving-first{border-left:1px solid #0275d8}table.dataTable tbody tr td.dtcr-moving-last{border-right:1px solid #0275d8}html.dark table.dtcr-cloned.dataTable{background-color:rgba(33, 33, 33, 0.9)}
:root{--dtcc-button_background: transparent;--dtcc-button_border: none;--dtcc-button_border-radius: 3px;--dtcc-button_opacity: 0.4;--dtcc-button_padding: 3px;--dtcc-button_disabled-opacity: 0.6;--dtcc-button_empty-opacity: 0.8;--dtcc-button_hover-border: none;--dtcc-button_hover-background: #f8f9fa;--dtcc-button_hover-opacity: 0.9;--dtcc-button-icon_color: #212529;--dtcc-button-icon_size: 16px;--dtcc-button-icon_margin: 0.75em;--dtcc-spacer_border: 1px solid rgba(0,0,0,.15);--dtcc-spacer_margin: 0.5em;--dtcc-title_background: #f8f9fa;--dtcc-title_border-left: none;--dtcc-title_border-right: none;--dtcc-title_border-top: none;--dtcc-title_border-bottom: ;--dtcc-title_margin: 0;--dtcc-title_padding: 0.5em 0;--dtcc-title_text-align: center;--dtcc-search-icon_color: #212529;--dtcc-search-icon_hover-background: #f8f9fa;--dtcc-search-icon_opacity: 0.4;--dtcc-search-icon_size: 16px;--dtcc-search-input_border: 1px solid #ced4da;--dtcc-search-input_background-color: #fff;--dtcc-search-input_background: #fff;--dtcc-search-input_border-radius: .25rem;--dtcc-search-input_padding: .375rem .75rem;--dtcc-search-input_flexCalc: 28px;--dtcc-search-clear_right: 4px;--dtcc-search-clear_bottom: 5px;--dtcc-search-input_margin-top: 0.5em;--dtcc-search-input_padding-right: 18px;--dtcc-list-buttons_max-height: 300px;--dtcc-list-buttons_background: #f8f9fa}:root .dropdown-menu{--dtcc-dropdown_background: #fff;--dtcc-dropdown_border: 1px solid rgba(0,0,0,.15);--dtcc-dropdown_border-radius: .25rem;--dtcc-dropdown_box-shadow: none;--dtcc-dropdown_margin: 3px 0 0 0;--dtcc-dropdown_padding: .5rem 0;--dtcc-dropdown_width: 250px;--dtcc-dropdown_z-index: 1000;--dtcc-dropdown-button_background: transparent;--dtcc-dropdown-button_border: none;--dtcc-dropdown-button_color: #212529;--dtcc-dropdown-button_padding: .25rem 1.5rem;--dtcc-dropdown-button_hover-background: #e9ecef;--dtcc-dropdown-icon_vertical-align: top;--dtcc-dropdown-search_padding: 0.5em 1em}table.dataTable div.dt-column-header span.dt-column-title:empty+span.dtcc{flex-grow:1;margin-left:auto}table.dataTable .dt-type-numeric div.dt-column-header span.dt-column-title:empty+span.dtcc,table.dataTable .dt-type-date div.dt-column-header span.dt-column-title:empty+span.dtcc,table.dataTable .dt-right div.dt-column-header span.dt-column-title:empty+span.dtcc{margin-right:auto;margin-left:0}table.dataTable>thead>tr.dtcc-row_no-bottom-border>*{border-bottom:none !important}table.dataTable>thead>tr.dtcc-row_no-top-padding>*{padding-top:0 !important}table.dataTable span.dtcc{font-weight:normal;white-space:nowrap;display:inline-flex;align-items:center}table.dataTable span.dtcc button.dtcc-button{display:inline-flex;padding:var(--dtcc-button_padding);border:var(--dtcc-button_border);border-radius:var(--dtcc-button_border-radius);background:var(--dtcc-button_background);cursor:pointer;opacity:var(--dtcc-button_opacity)}table.dataTable span.dtcc button.dtcc-button:hover{border:var(--dtcc-button_hover-border);background:var(--dtcc-button_hover-background);opacity:var(--dtcc-button_hover-opacity)}table.dataTable span.dtcc button.dtcc-button.dtcc-button_disabled{cursor:initial;opacity:var(--dtcc-button_disabled-opacity)}table.dataTable span.dtcc button.dtcc-button>span.dtcc-button-state{display:none}table.dataTable span.dtcc button.dtcc-button>span.dtcc-button-extra{display:none}table.dataTable span.dtcc button.dtcc-button_active{opacity:1}table.dataTable span.dtcc input{box-sizing:border-box;width:100%}table.dataTable span.dtcc span.dtcc-button-icon{display:inline-block;box-sizing:content-box;color:var(--dtcc-button-icon_color);vertical-align:middle;line-height:var(--dtcc-button-icon_size);height:var(--dtcc-button-icon_size)}table.dataTable span.dtcc span.dtcc-button-icon svg{width:var(--dtcc-button-icon_size);height:var(--dtcc-button-icon_size);vertical-align:initial}table.dataTable span.dtcc span.dtcc-button-text{display:none}table.dataTable span.dtcc div.dtcc-spacer{display:inline-block;margin:0 var(--dtcc-spacer_margin);padding-left:.5em;border-left:var(--dtcc-spacer_border);vertical-align:middle;white-space:nowrap;cursor:initial}table.dataTable span.dtcc div.dtcc-spacer:empty{width:1px;height:1em;padding-left:0}table.dataTable span.dtcc div.dtcc-search{flex-grow:1}table.dataTable span.dtcc div.dtcc-search div.dtcc-search-title{margin-bottom:.25em;text-align:left}table.dataTable span.dtcc div.dtcc-search:empty{display:none}table.dataTable span.dtcc div.dtcc-search.dtcc-search_active>div div.dtcc-search-type-icon svg{opacity:1}table.dataTable span.dtcc div.dtcc-search:not(.dtcc-search_active) span.dtcc-search-clear{display:none}table.dataTable span.dtcc div.dtcc-search>div{position:relative}table.dataTable span.dtcc div.dtcc-search>div div.dtcc-search-type-icon{display:flex;position:absolute;top:0;align-items:center;justify-content:center;width:30px;height:100%}table.dataTable span.dtcc div.dtcc-search>div div.dtcc-search-type-icon svg{width:var(--dtcc-search-icon_size);height:var(--dtcc-search-icon_size);color:var(--dtcc-search-icon_color);opacity:var(--dtcc-search-icon_opacity);vertical-align:initial}table.dataTable span.dtcc div.dtcc-search>div div.dtcc-search-type-icon:hover{background-color:var(--dtcc-search-icon_hover-background)}table.dataTable span.dtcc div.dtcc-search>div select{position:absolute;top:0;width:30px;height:100%;cursor:pointer;opacity:0;background-color:var(--dtcc-search-input_background)}table.dataTable span.dtcc div.dtcc-search>div span.dtcc-search-clear{display:flex;position:absolute;top:0;align-items:center;justify-content:center;width:14px;height:100%;cursor:pointer}table.dataTable span.dtcc div.dtcc-search>div div.dtcc-search-icon{display:none}table.dataTable span.dtcc div.dtcc-search>div input{padding:var(--dtcc-search-input_padding);border:var(--dtcc-search-input_border);border-radius:var(--dtcc-search-input_border-radius);background-color:var(--dtcc-search-input_background);color:inherit}table.dataTable span.dtcc div.dtcc-searchText>div div.dtcc-search-type-icon{right:0;z-index:1}table.dataTable span.dtcc div.dtcc-searchText>div select{right:0;z-index:2;padding:0}table.dataTable span.dtcc div.dtcc-searchText>div span.dtcc-search-clear{right:28px;z-index:1}table.dataTable span.dtcc div.dtcc-searchText>div input{padding-right:46px}table.dataTable span.dtcc div.dtcc-searchNumber>div div.dtcc-search-type-icon,table.dataTable span.dtcc div.dtcc-searchDateTime>div div.dtcc-search-type-icon{left:0;z-index:1}table.dataTable span.dtcc div.dtcc-searchNumber>div select,table.dataTable span.dtcc div.dtcc-searchDateTime>div select{left:0;z-index:2;padding:0}table.dataTable span.dtcc div.dtcc-searchNumber>div span.dtcc-search-clear,table.dataTable span.dtcc div.dtcc-searchDateTime>div span.dtcc-search-clear{left:28px}table.dataTable span.dtcc div.dtcc-searchNumber>div input,table.dataTable span.dtcc div.dtcc-searchDateTime>div input{padding-left:46px;text-align:right}div.dtcc-dropdown{display:block;box-sizing:border-box;z-index:var(--dtcc-dropdown_z-index);position:absolute;width:var(--dtcc-dropdown_width);margin:var(--dtcc-dropdown_margin);padding:var(--dtcc-dropdown_padding);overflow:hidden;border:var(--dtcc-dropdown_border);border-radius:var(--dtcc-dropdown_border-radius);background:var(--dtcc-dropdown_background);box-shadow:var(--dtcc-dropdown_box-shadow)}div.dtcc-dropdown button.dtcc-button{display:flex;position:relative;align-items:center;width:100%;padding:var(--dtcc-dropdown-button_padding);border:var(--dtcc-dropdown-button_border);background:var(--dtcc-dropdown-button_background);color:var(--dtcc-dropdown-button_color);text-align:left;cursor:pointer}div.dtcc-dropdown button.dtcc-button:focus{outline-offset:-2px}div.dtcc-dropdown button.dtcc-button:hover{background:var(--dtcc-dropdown-button_hover-background)}div.dtcc-dropdown button.dtcc-button.dtcc-button_disabled{cursor:initial;opacity:var(--dtcc-button_disabled-opacity)}div.dtcc-dropdown button.dtcc-button.dtcc-button_empty span.dtcc-button-text{opacity:var(--dtcc-button_empty-opacity);font-style:italic}div.dtcc-dropdown button.dtcc-button>span.dtcc-button-state{display:block;width:var(--dtcc-button-icon_size);height:var(--dtcc-button-icon_size);margin:0 0 0 var(--dtcc-button-icon_margin)}div.dtcc-dropdown button.dtcc-button>span.dtcc-button-state:empty{display:none}div.dtcc-dropdown button.dtcc-button>span.dtcc-button-state svg{width:var(--dtcc-button-icon_size);height:var(--dtcc-button-icon_size);vertical-align:initial}div.dtcc-dropdown button.dtcc-button>span.dtcc-button-extra:empty{display:none}div.dtcc-dropdown button.dtcc-button span.dtcc-button-icon{width:var(--dtcc-button-icon_size);height:var(--dtcc-button-icon_size);margin:0 var(--dtcc-button-icon_margin) 0 0}div.dtcc-dropdown button.dtcc-button span.dtcc-button-icon svg{width:var(--dtcc-button-icon_size);height:var(--dtcc-button-icon_size);vertical-align:var(--dtcc-dropdown-icon_vertical-align)}div.dtcc-dropdown button.dtcc-button span.dtcc-button-text{flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}div.dtcc-dropdown div.dtcc-spacer{margin:var(--dtcc-spacer_margin) 0;padding:0;border-bottom:var(--dtcc-spacer_border);border-left:none}div.dtcc-dropdown div.dtcc-title{margin:var(--dtcc-title_margin);padding:var(--dtcc-title_padding);border-top:var(--dtcc-title_border-top);border-right:var(--dtcc-title_border-right);border-bottom:var(--dtcc-title_border-bottom);border-left:var(--dtcc-title_border-left);background:var(--dtcc-title_background);text-align:var(--dtcc-title_text-align)}div.dtcc-dropdown div.dtcc-search{padding:var(--dtcc-dropdown-search_padding)}div.dtcc-dropdown div.dtcc-search>div{display:flex;position:relative;flex-wrap:wrap;align-items:center;border:var(--dtcc-dropdown-button_border);background:var(--dtcc-dropdown-button_background);color:var(--dtcc-dropdown-button_color)}div.dtcc-dropdown div.dtcc-search>div div{flex:0 0 var(--dtcc-button-icon_size);width:var(--dtcc-button-icon_size);height:var(--dtcc-button-icon_size);margin:0 var(--dtcc-button-icon_margin) 0 0}div.dtcc-dropdown div.dtcc-search>div div svg{width:var(--dtcc-search-icon_size);height:var(--dtcc-search-icon_size);color:var(--dtcc-search-icon_color);vertical-align:var(--dtcc-dropdown-icon_vertical-align)}div.dtcc-dropdown div.dtcc-search>div select,div.dtcc-dropdown div.dtcc-search>div input{box-sizing:border-box;flex:1 1 calc(100% - var(--dtcc-search-input_flexCalc));width:100%;min-width:0;padding:var(--dtcc-search-input_padding);border:var(--dtcc-search-input_border);border-radius:var(--dtcc-search-input_border-radius);background-color:var(--dtcc-search-input_background-color)}div.dtcc-dropdown div.dtcc-search>div select option,div.dtcc-dropdown div.dtcc-search>div input option{background-color:var(--dtcc-search-input_background-color)}div.dtcc-dropdown div.dtcc-search>div input,div.dtcc-dropdown div.dtcc-search>div div.dtcc-search-icon{margin-top:var(--dtcc-search-input_margin-top)}div.dtcc-dropdown div.dtcc-search>div input{padding-right:var(--dtcc-search-input_padding-right)}div.dtcc-dropdown div.dtcc-search>div span.dtcc-search-clear{position:absolute;right:var(--dtcc-search-clear_right);bottom:var(--dtcc-search-clear_bottom);width:14px;cursor:pointer}div.dtcc-dropdown div.dtcc-search:not(.dtcc-search_active) span.dtcc-search-clear{display:none}div.dtcc-dropdown div.dtcc-list div.dtcc-list-title,div.dtcc-dropdown div.dtcc-list div.dtcc-list-empty{padding:var(--dtcc-dropdown-button_padding);font-style:italic}div.dtcc-dropdown div.dtcc-list div.dtcc-list-title:empty,div.dtcc-dropdown div.dtcc-list div.dtcc-list-empty:empty{display:none}div.dtcc-dropdown div.dtcc-list div.dtcc-list-controls{display:grid;padding:var(--dtcc-dropdown-button_padding);gap:.5em}div.dtcc-dropdown div.dtcc-list div.dtcc-list-controls:empty{display:none}div.dtcc-dropdown div.dtcc-list div.dtcc-list-controls button.dtcc-list-selectAll,div.dtcc-dropdown div.dtcc-list div.dtcc-list-controls button.dtcc-list-selectNone{width:100%;padding:0;border:none;background-color:transparent;color:inherit;font-size:80%;text-align:center;cursor:pointer}div.dtcc-dropdown div.dtcc-list div.dtcc-list-controls button.dtcc-list-selectAll:hover,div.dtcc-dropdown div.dtcc-list div.dtcc-list-controls button.dtcc-list-selectNone:hover{text-decoration:underline}div.dtcc-dropdown div.dtcc-list div.dtcc-list-controls button.dtcc-list-selectAll span,div.dtcc-dropdown div.dtcc-list div.dtcc-list-controls button.dtcc-list-selectNone span{display:inline-block;padding-left:.25em}div.dtcc-dropdown div.dtcc-list div.dtcc-list-controls input.dtcc-list-search{box-sizing:border-box;grid-column:1/3;width:100%;padding:var(--dtcc-search-input_padding);border:var(--dtcc-search-input_border);border-radius:var(--dtcc-search-input_border-radius);background-color:var(--dtcc-search-input_background-color)}div.dtcc-dropdown div.dtcc-list div.dtcc-list-buttons{max-height:var(--dtcc-list-buttons_max-height);overflow:auto;background:var(--dtcc-list-buttons_background)}div.dtcc-dropdown div.dtcc-list span.dtcc-button-icon:empty{display:none}
:root{--dt-datetime_background: white;--dt-datetime_zindex: 2050;--dt-datetime_border: 1px solid #ccc;--dt-datetime_box-shadow: 0 5px 15px -5px rgba(0,0,0,.5);--dt-datetime_padding: 6px 20px;--dt-datetime_width: 275px;--dt-datetime_border-radius: 5px;--dt-datetime-inline_padding: 6px 0;--dt-datetime-inline_background: transparent;--dt-datetime-title_padding: 5px 0px 3px;--dt-datetime-buttons-link_padding: 0 0.5em 0.5em 0.5em;--dt-datetime-buttons-link_font-size: 0.9em;--dt-datetime-table-header_font-size: 0.8em;--dt-datetime-table-header_color: #777;--dt-datetime-table-header_padding: 0 0 4px 0;--dt-datetime-table-body_font-size: 0.9em;--dt-datetime-table-body_color: #444;--dt-datetime-table-body_padding: 0;--dt-datetime-table-selectable_background: #f5f5f5;--dt-datetime-table-selectable_disabled-color: #aaa;--dt-datetime-table-selectable_disabled-background: white;--dt-datetime-table-selectable_disabled-hover-color: #aaa;--dt-datetime-table-selectable_disabled-hover-background: white;--dt-datetime-table_hover-background: #ff8000;--dt-datetime-table_hover-color: white;--dt-datetime-table-now_background: #ddd;--dt-datetime-table-selected_background: #4E6CA3;--dt-datetime-table-selected_color: white;--dt-datetime-label_height: 30px;--dt-datetime-label_border: 1px solid transparent;--dt-datetime-label_padding: 5px 6px;--dt-datetime-label_hover-border: 1px solid #ddd;--dt-datetime-label_hover-background: #f5f5f5;--dt-datetime-icon_border: 1px solid transparent;--dt-datetime-icon-opacity: 0.3;--dt-datetime-icon_hover-border: 1px solid #ccc;--dt-datetime-icon_hover-background: #f0f0f0;--dt-datetime-icon_hover-opacity: 0.6;--dt-datetime-icon-triangle_border-color: black;--dt-datetime-error_color: #b11f1f}html.dark,:root[data-theme=dark],:root[data-bs-theme=dark]{--dt-datetime_background: rgb(33, 37, 41);--dt-datetime_border: 1px solid rgb(89, 91, 94);--dt-datetime_box-shadow: 3px 4px 10px 1px rgba(0, 0, 0, 0.8);--dt-datetime-table-header_color: #ccc;--dt-datetime-table-body_color: #eee;--dt-datetime-table-selectable_background: rgb(55, 60, 65);--dt-datetime-table-selectable_disabled-color: #aaa;--dt-datetime-table-selectable_disabled-background: rgb(23, 27, 31);--dt-datetime-table-selectable_disabled-hover-color: #aaa;--dt-datetime-table-selectable_disabled-hover-background: rgb(23, 27, 31);--dt-datetime-table_hover-background: #ff8000;--dt-datetime-table_hover-color: black;--dt-datetime-table-now_background: rgb(75, 80, 85);--dt-datetime-table-selected_background: #6ea8fe;--dt-datetime-table-selected_color: black;--dt-datetime-label_border: 1px solid transparent;--dt-datetime-label_hover-border: 1px solid transparent;--dt-datetime-label_hover-background: rgba(255, 255, 255, 0.1);--dt-datetime-icon_border: 1px solid transparent;--dt-datetime-icon_hover-border: 1px solid transparent;--dt-datetime-icon_hover-background: rgba(255, 255, 255, 0.1);--dt-datetime-icon-triangle_border-color: white;--dt-datetime-error_color: #b11f1f}div.dt-datetime{position:absolute;background-color:var(--dt-datetime_background);z-index:var(--dt-datetime_zindex);border:var(--dt-datetime_border);box-shadow:var(--dt-datetime_box-shadow);padding:var(--dt-datetime_padding);width:var(--dt-datetime_width);border-radius:var(--dt-datetime_border-radius)}div.dt-datetime.inline{position:relative;box-shadow:none;border:none;z-index:inherit;padding:var(--dt-datetime-inline_padding);background-color:var(--dt-datetime-inline_background)}div.dt-datetime div.dt-datetime-title{text-align:center;padding:var(--dt-datetime-title_padding)}div.dt-datetime div.dt-datetime-buttons{text-align:center}div.dt-datetime div.dt-datetime-buttons a{display:inline-block;padding:var(--dt-datetime-buttons-link_padding);margin:0;font-size:var(--dt-datetime-buttons-link_font-size)}div.dt-datetime div.dt-datetime-buttons a:hover{text-decoration:underline}div.dt-datetime table{border-spacing:0;margin:12px 0;width:100%}div.dt-datetime table.dt-datetime-table-nospace{margin-top:-12px}div.dt-datetime table th{font-size:var(--dt-datetime-table-header_font-size);color:var(--dt-datetime-table-header_color);font-weight:normal;width:14.285714286%;padding:var(--dt-datetime-table-header_padding);text-align:center}div.dt-datetime table td{font-size:var(--dt-datetime-table-body_font-size);color:var(--dt-datetime-table-body_color);padding:var(--dt-datetime-table-body_padding)}div.dt-datetime table td.selectable{text-align:center;background:var(--dt-datetime-table-selectable_background)}div.dt-datetime table td.selectable.disabled{color:var(--dt-datetime-table-selectable_disabled-color);background:var(--dt-datetime-table-selectable_disabled-background)}div.dt-datetime table td.selectable.disabled button:hover{color:var(--dt-datetime-table-selectable_disabled-hover-color);background:var(--dt-datetime-table-selectable_disabled-hover-background)}div.dt-datetime table td.selectable.now{background-color:var(--dt-datetime-table-now_background)}div.dt-datetime table td.selectable.now button{font-weight:bold}div.dt-datetime table td.selectable.selected button{background:var(--dt-datetime-table-selected_background);color:var(--dt-datetime-table-selected_color);border-radius:2px}div.dt-datetime table td.selectable button:hover{background:var(--dt-datetime-table_hover-background);color:var(--dt-datetime-table_hover-color);border-radius:2px}div.dt-datetime table td.dt-datetime-week{font-size:.7em}div.dt-datetime table button{width:100%;box-sizing:border-box;border:none;background:transparent;font-size:inherit;color:inherit;text-align:center;padding:4px 0;cursor:pointer;margin:0}div.dt-datetime table button span{display:inline-block;min-width:14px;text-align:right}div.dt-datetime table.weekNumber th{width:12.5%}div.dt-datetime div.dt-datetime-calendar table{margin-top:0}div.dt-datetime div.dt-datetime-label{position:relative;display:inline-block;height:var(--dt-datetime-label_height);padding:var(--dt-datetime-label_padding);border:var(--dt-datetime-label_border);box-sizing:border-box;cursor:pointer}div.dt-datetime div.dt-datetime-label:hover{border:var(--dt-datetime-label_hover-border);border-radius:2px;background-color:var(--dt-datetime-label_hover-background)}div.dt-datetime div.dt-datetime-label select{position:absolute;top:6px;left:0;cursor:pointer;opacity:0}div.dt-datetime.horizontal{width:550px}div.dt-datetime.horizontal div.dt-datetime-date,div.dt-datetime.horizontal div.dt-datetime-time{width:48%}div.dt-datetime.horizontal div.dt-datetime-time{margin-left:4%}div.dt-datetime div.dt-datetime-date{position:relative;float:left;width:100%}div.dt-datetime div.dt-datetime-time{position:relative;float:left;width:100%;text-align:center}div.dt-datetime div.dt-datetime-time>span{vertical-align:middle}div.dt-datetime div.dt-datetime-time th{text-align:left}div.dt-datetime div.dt-datetime-time div.dt-datetime-timeblock{display:inline-block;vertical-align:middle}div.dt-datetime div.dt-datetime-iconLeft,div.dt-datetime div.dt-datetime-iconRight{width:30px;height:30px;background-position:center;background-repeat:no-repeat;opacity:var(--dt-datetime-icon-opacity);overflow:hidden;box-sizing:border-box;border:var(--dt-datetime-icon_border)}div.dt-datetime div.dt-datetime-iconLeft:hover,div.dt-datetime div.dt-datetime-iconRight:hover{border:var(--dt-datetime-icon_hover-border);border-radius:2px;background-color:var(--dt-datetime-icon_hover-background);opacity:var(--dt-datetime-icon_hover-opacity)}div.dt-datetime div.dt-datetime-iconLeft button,div.dt-datetime div.dt-datetime-iconRight button{border:none;background:transparent;text-indent:30px;height:100%;width:100%;cursor:pointer}div.dt-datetime div.dt-datetime-iconLeft{position:absolute;top:5px;left:5px}div.dt-datetime div.dt-datetime-iconLeft button{position:relative;z-index:1}div.dt-datetime div.dt-datetime-iconLeft:after{position:absolute;top:7px;left:10px;display:block;content:"";border-top:7px solid transparent;border-right:7px solid var(--dt-datetime-icon-triangle_border-color);border-bottom:7px solid transparent}div.dt-datetime div.dt-datetime-iconRight{position:absolute;top:5px;right:5px}div.dt-datetime div.dt-datetime-iconRight button{position:relative;z-index:1}div.dt-datetime div.dt-datetime-iconRight:after{position:absolute;top:7px;left:12px;display:block;content:"";border-top:7px solid transparent;border-left:7px solid var(--dt-datetime-icon-triangle_border-color);border-bottom:7px solid transparent}div.dt-datetime-error{clear:both;padding:0 1em;max-width:240px;font-size:11px;line-height:1.25em;text-align:center;color:var(--dt-datetime-error_color)}html.dark input.dt-datetime,html.dark select,:root[data-theme=dark] input.dt-datetime,:root[data-theme=dark] select,:root[data-bs-theme=dark] input.dt-datetime,:root[data-bs-theme=dark] select{color-scheme:dark}html.dark.inline,:root[data-theme=dark].inline,:root[data-bs-theme=dark].inline{box-shadow:none;border:none}
:root{--dtfc_background: white;--dtfc-thead-cell_background: var(--dtfc_background);--dtfc-tbody-cell_background: var(--dtfc_background)}:root.dark{--dtfc_background: rgb(33, 37, 41)}table.dataTable thead tr>.dtfc-fixed-start,table.dataTable thead tr>.dtfc-fixed-end,table.dataTable tfoot tr>.dtfc-fixed-start,table.dataTable tfoot tr>.dtfc-fixed-end{top:0;bottom:0;z-index:3;background-color:var(--dtfc-thead-cell_background)}table.dataTable tbody tr>.dtfc-fixed-start,table.dataTable tbody tr>.dtfc-fixed-end{z-index:1;background-color:var(--dtfc-tbody-cell_background)}table.dataTable tr>.dtfc-fixed-left::after,table.dataTable tr>.dtfc-fixed-right::after{position:absolute;top:0;bottom:0;width:10px;transition:box-shadow .3s;content:"";pointer-events:none}table.dataTable tr>.dtfc-fixed-left::after{right:0;transform:translateX(100%)}table.dataTable tr>.dtfc-fixed-right::after{left:0;transform:translateX(-80%)}table.dataTable.dtfc-scrolling-left tr>.dtfc-fixed-left::after{box-shadow:inset 10px 0 8px -8px rgba(0, 0, 0, 0.2)}table.dataTable.dtfc-scrolling-right tr>.dtfc-fixed-right::after{box-shadow:inset -10px 0 8px -8px rgba(0, 0, 0, 0.2)}table.dataTable.dtfc-scrolling-right tr>.dtfc-fixed-right+.dtfc-fixed-right::after{box-shadow:none}div.dt-scroll,div.dtfh-floatingparent{position:relative}div.dt-scroll div.dtfc-top-blocker,div.dt-scroll div.dtfc-bottom-blocker,div.dtfh-floatingparent div.dtfc-top-blocker,div.dtfh-floatingparent div.dtfc-bottom-blocker{position:absolute;background-color:var(--dtfc-thead-cell_background)}html.dark table.dataTable.dtfc-scrolling-left tbody>tr>.dtfc-fixed-left::after{box-shadow:inset 10px 0 8px -8px rgba(0, 0, 0, 0.3)}html.dark table.dataTable.dtfc-scrolling-right tbody>tr>.dtfc-fixed-right::after{box-shadow:inset -10px 0 8px -8px rgba(0, 0, 0, 0.3)}html.dark table.dataTable.dtfc-scrolling-right tbody>tr>.dtfc-fixed-right+.dtfc-fixed-right::after{box-shadow:none}div.dtfc-top-blocker,div.dtfc-top-blocker{border-bottom:0px solid #ddd !important}table.dataTable{border-collapse:separate}table.dataTable.table-bordered{border-left-width:0;border-right-width:0}table.dataTable.table-bordered th,table.dataTable.table-bordered td{border-right-width:0;border-top-width:0}table.dataTable.table-bordered th:last-child,table.dataTable.table-bordered td:last-child{border-right:1px solid #dee2e6}table.dataTable.table-bordered tr:last-child th,table.dataTable.table-bordered tr:last-child td{border-bottom-width:0}
table.dataTable.fixedHeader-floating,table.dataTable.fixedHeader-locked{position:relative !important;background-color:white;margin-top:0 !important;margin-bottom:0 !important}@media print{table.fixedHeader-floating,table.fixedHeader-locked{display:none}}
table.dataTable tbody th.focus,table.dataTable tbody td.focus{outline:2px solid #0275d8;outline-offset:-2px}table.dataTable tbody tr.selected th.focus,table.dataTable tbody tr.selected td.focus{outline-color:rgb(1.0642201835, 62.2568807339, 114.9357798165)}div.dtk-focus-alt table.dataTable tbody th.focus,div.dtk-focus-alt table.dataTable tbody td.focus{outline:2px solid #ff8b33;outline-offset:-2px}html.dark table.dataTable tbody th.focus,html.dark table.dataTable tbody td.focus{outline-color:rgb(13, 110, 253)}html.dark table.dataTable tbody tr.selected th.focus,html.dark table.dataTable tbody tr.selected td.focus{outline-color:rgb(1.3442622951, 66.5409836066, 162.6557377049)}html.dark div.dtk-focus-alt table.dataTable tbody th.focus,html.dark div.dtk-focus-alt table.dataTable tbody td.focus{outline-color:#ff8b33}
table.dataTable.dtr-inline.collapsed>tbody>tr>td.child,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty{cursor:default !important}table.dataTable.dtr-inline.collapsed>tbody>tr>td.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>th.child:before,table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty:before{display:none !important}table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control,table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control{cursor:pointer}table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before{margin-right:.5em;display:inline-block;box-sizing:border-box;content:"";border-top:5px solid transparent;border-left:10px solid rgba(0, 0, 0, 0.5);border-bottom:5px solid transparent;border-right:0px solid transparent}table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control.arrow-right::before,table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control.arrow-right::before{border-top:5px solid transparent;border-left:0px solid transparent;border-bottom:5px solid transparent;border-right:10px solid rgba(0, 0, 0, 0.5)}table.dataTable.dtr-inline.collapsed>tbody>tr.dtr-expanded>td.dtr-control:before,table.dataTable.dtr-inline.collapsed>tbody>tr.dtr-expanded>th.dtr-control:before{border-top:10px solid rgba(0, 0, 0, 0.5);border-left:5px solid transparent;border-bottom:0px solid transparent;border-right:5px solid transparent}table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td.dtr-control,table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th.dtr-control{padding-left:.333em}table.dataTable.dtr-column>tbody>tr>td.dtr-control,table.dataTable.dtr-column>tbody>tr>th.dtr-control,table.dataTable.dtr-column>tbody>tr>td.control,table.dataTable.dtr-column>tbody>tr>th.control{cursor:pointer}table.dataTable.dtr-column>tbody>tr>td.dtr-control:before,table.dataTable.dtr-column>tbody>tr>th.dtr-control:before,table.dataTable.dtr-column>tbody>tr>td.control:before,table.dataTable.dtr-column>tbody>tr>th.control:before{display:inline-block;box-sizing:border-box;content:"";border-top:5px solid transparent;border-left:10px solid rgba(0, 0, 0, 0.5);border-bottom:5px solid transparent;border-right:0px solid transparent}table.dataTable.dtr-column>tbody>tr>td.dtr-control.arrow-right::before,table.dataTable.dtr-column>tbody>tr>th.dtr-control.arrow-right::before,table.dataTable.dtr-column>tbody>tr>td.control.arrow-right::before,table.dataTable.dtr-column>tbody>tr>th.control.arrow-right::before{border-top:5px solid transparent;border-left:0px solid transparent;border-bottom:5px solid transparent;border-right:10px solid rgba(0, 0, 0, 0.5)}table.dataTable.dtr-column>tbody>tr.dtr-expanded td.dtr-control:before,table.dataTable.dtr-column>tbody>tr.dtr-expanded th.dtr-control:before,table.dataTable.dtr-column>tbody>tr.dtr-expanded td.control:before,table.dataTable.dtr-column>tbody>tr.dtr-expanded th.control:before{border-top:10px solid rgba(0, 0, 0, 0.5);border-left:5px solid transparent;border-bottom:0px solid transparent;border-right:5px solid transparent}table.dataTable>tbody>tr.child{padding:.5em 1em}table.dataTable>tbody>tr.child:hover{background:transparent !important}table.dataTable>tbody>tr.child ul.dtr-details{display:inline-block;list-style-type:none;margin:0;padding:0}table.dataTable>tbody>tr.child ul.dtr-details>li{border-bottom:1px solid #efefef;padding:.5em 0}table.dataTable>tbody>tr.child ul.dtr-details>li:first-child{padding-top:0}table.dataTable>tbody>tr.child ul.dtr-details>li:last-child{padding-bottom:0;border-bottom:none}table.dataTable>tbody>tr.child span.dtr-title{display:inline-block;min-width:75px;font-weight:bold}div.dtr-modal{position:fixed;box-sizing:border-box;top:0;left:0;height:100%;width:100%;z-index:100;padding:10em 1em}div.dtr-modal div.dtr-modal-display{position:absolute;top:0;left:0;bottom:0;right:0;width:50%;height:fit-content;max-height:75%;overflow:auto;margin:auto;z-index:102;overflow:auto;background-color:#f5f5f7;border:1px solid black;border-radius:.5em;box-shadow:0 12px 30px rgba(0, 0, 0, 0.6)}div.dtr-modal div.dtr-modal-content{position:relative;padding:2.5em}div.dtr-modal div.dtr-modal-content h2{margin-top:0}div.dtr-modal div.dtr-modal-close{position:absolute;top:6px;right:6px;width:22px;height:22px;text-align:center;border-radius:3px;cursor:pointer;z-index:12}div.dtr-modal div.dtr-modal-background{position:fixed;top:0;left:0;right:0;bottom:0;z-index:101;background:rgba(0, 0, 0, 0.6)}@media screen and (max-width: 767px){div.dtr-modal div.dtr-modal-display{width:95%}}html.dark table.dataTable>tbody>tr>td.dtr-control:before,html[data-bs-theme=dark] table.dataTable>tbody>tr>td.dtr-control:before{border-left-color:rgba(255, 255, 255, 0.5) !important}html.dark table.dataTable>tbody>tr>td.dtr-control.arrow-right::before,html[data-bs-theme=dark] table.dataTable>tbody>tr>td.dtr-control.arrow-right::before{border-right-color:rgba(255, 255, 255, 0.5) !important}html.dark table.dataTable>tbody>tr.dtr-expanded>td.dtr-control:before,html.dark table.dataTable>tbody>tr.dtr-expanded>th.dtr-control:before,html[data-bs-theme=dark] table.dataTable>tbody>tr.dtr-expanded>td.dtr-control:before,html[data-bs-theme=dark] table.dataTable>tbody>tr.dtr-expanded>th.dtr-control:before{border-top-color:rgba(255, 255, 255, 0.5) !important;border-left-color:transparent !important;border-right-color:transparent !important}html.dark table.dataTable>tbody>tr.child ul.dtr-details>li,html[data-bs-theme=dark] table.dataTable>tbody>tr.child ul.dtr-details>li{border-bottom-color:rgb(64, 67, 70)}html.dark div.dtr-modal div.dtr-modal-display,html[data-bs-theme=dark] div.dtr-modal div.dtr-modal-display{background-color:rgb(33, 37, 41);border:1px solid rgba(255, 255, 255, 0.15)}div.dtr-bs-modal table.table tr:first-child td{border-top:none}
table.dataTable tr.dtrg-group th{background-color:rgba(0, 0, 0, 0.1);text-align:left}table.dataTable tr.dtrg-group.dtrg-level-0 th{font-weight:bold}table.dataTable tr.dtrg-group.dtrg-level-1 th,table.dataTable tr.dtrg-group.dtrg-level-2 th,table.dataTable tr.dtrg-group.dtrg-level-3 th,table.dataTable tr.dtrg-group.dtrg-level-4 th,table.dataTable tr.dtrg-group.dtrg-level-5 th{background-color:rgba(0, 0, 0, 0.05);padding-top:.25em;padding-bottom:.25em;padding-left:2em;font-size:.9em}table.dataTable tr.dtrg-group.dtrg-level-2 th{background-color:rgba(0, 0, 0, 0.01);padding-left:2.5em}table.dataTable tr.dtrg-group.dtrg-level-3 th{background-color:rgba(0, 0, 0, 0.01);padding-left:3em}table.dataTable tr.dtrg-group.dtrg-level-4 th{background-color:rgba(0, 0, 0, 0.01);padding-left:3.5em}table.dataTable tr.dtrg-group.dtrg-level-5 th{background-color:rgba(0, 0, 0, 0.01);padding-left:4em}html.dark table.dataTable tr.dtrg-group th{background-color:rgba(255, 255, 255, 0.1)}html.dark table.dataTable tr.dtrg-group.dtrg-level-1 th{background-color:rgba(255, 255, 255, 0.05)}html.dark table.dataTable tr.dtrg-group.dtrg-level-2 th,html.dark table.dataTable tr.dtrg-group.dtrg-level-3 th,html.dark table.dataTable tr.dtrg-group.dtrg-level-4 th,html.dark table.dataTable tr.dtrg-group.dtrg-level-5 th{background-color:rgba(255, 255, 255, 0.01)}
div.dt-rowReorder-float-parent{table-layout:fixed;outline:2px solid #0275d8;z-index:2001;position:absolute !important;overflow:hidden;border-radius:3px}div.dt-rowReorder-float-parent table.dt-rowReorder-float{opacity:.9;background-color:white;margin:0 !important}div.dt-rowReorder-float-parent.drop-not-allowed{cursor:not-allowed}tr.dt-rowReorder-moving{outline:2px solid #888;outline-offset:-2px}body.dt-rowReorder-noOverflow{overflow-x:hidden}table.dataTable td.reorder{text-align:center;cursor:move}html.dark div.dt-rowReorder-float-parent{outline-color:rgb(110, 168, 254)}html.dark div.dt-rowReorder-float-parent table.dt-rowReorder-float{background-color:var(--dt-html-background)}html.dark tr.dt-rowReorder-moving{outline-color:#aaa}
div.dts{display:block !important}div.dts tbody th,div.dts tbody td{white-space:nowrap}div.dts div.dts_loading{z-index:1}div.dts div.dts_label{position:absolute;right:20px;background:rgba(0, 0, 0, 0.8);color:white;box-shadow:3px 3px 10px rgba(0, 0, 0, 0.5);text-align:right;border-radius:3px;padding:.4em;z-index:2;display:none}div.dts div.dt-scroll-body,div.dts div.dataTables_scrollBody{background:repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.025), rgba(0, 0, 0, 0.025) 10px, rgba(0, 0, 0, 0) 10px, rgba(0, 0, 0, 0) 20px)}div.dts div.dt-scroll-body table,div.dts div.dataTables_scrollBody table{background-color:white;z-index:2}div.dts div.dt-length,div.dts div.dt-paging,div.dts div.dataTables_paginate,div.dts div.dataTables_length{display:none}html.dark div.dts div.dts_label{background:rgba(255, 255, 255, 0.8);color:black}html.dark div.dts div.dt-scroll-body,html.dark div.dts div.dataTables_scrollBody{background:repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025) 10px, rgba(255, 255, 255, 0) 10px, rgba(255, 255, 255, 0) 20px)}html.dark div.dts div.dt-scroll-body table,html.dark div.dts div.dataTables_scrollBody table{background-color:var(--dt-html-background);z-index:2}div.DTS div.dataTables_scrollBody table{background-color:white}
div.dt-button-collection{overflow:visible !important;z-index:2002 !important}div.dt-button-collection div.dtsb-searchBuilder{box-sizing:border-box;padding-left:1em !important;padding-right:1em !important}div.dt-button-collection.dtb-collection-closeable div.dtsb-titleRow{padding-right:40px}.dtsb-greyscale{border:1px solid #cecece !important}div.dtsb-logicContainer .dtsb-greyscale{border:none !important}div.dtsb-searchBuilder{justify-content:space-evenly;cursor:default;margin-bottom:1em;text-align:left;width:100%}div.dtsb-searchBuilder button.dtsb-button,div.dtsb-searchBuilder select{font-size:1em}div.dtsb-searchBuilder div.dtsb-titleRow{justify-content:space-evenly;margin-bottom:.5em}div.dtsb-searchBuilder div.dtsb-titleRow div.dtsb-title{display:inline-block;padding-top:14px}div.dtsb-searchBuilder div.dtsb-titleRow div.dtsb-title:empty{display:inline}div.dtsb-searchBuilder div.dtsb-titleRow button.dtsb-clearAll{float:right;margin-bottom:.8em}div.dtsb-searchBuilder div.dtsb-vertical .dtsb-value,div.dtsb-searchBuilder div.dtsb-vertical .dtsb-data,div.dtsb-searchBuilder div.dtsb-vertical .dtsb-condition{display:block}div.dtsb-searchBuilder div.dtsb-group{position:relative;clear:both;margin-bottom:.8em}div.dtsb-searchBuilder div.dtsb-group button.dtsb-search{float:right}div.dtsb-searchBuilder div.dtsb-group button.dtsb-clearGroup{margin:2px;text-align:center;padding:0}div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);position:absolute;margin-top:.8em;margin-right:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria{margin-bottom:.8em;display:flex;justify-content:start;flex-flow:row wrap}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-dropDown,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input.dtsb-input{padding:.4em;margin-right:.8em;min-width:5em;max-width:20em;color:inherit;font-size:1em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-dropDown option.dtsb-notItalic,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input.dtsb-input option.dtsb-notItalic{font-style:normal}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-italic{font-style:italic}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-inputCont{flex:1;white-space:nowrap}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-inputCont span.dtsb-joiner{margin-right:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-inputCont input.dtsb-value{width:33%}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-inputCont select,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-inputCont input{height:100%;box-sizing:border-box}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer{margin-left:auto;display:inline-block}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-delete,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-right,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-left{margin-right:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-delete:last-child,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-right:last-child,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button.dtsb-left:last-child{margin-right:0}@media screen and (max-width: 550px){div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria{display:flex;flex-flow:none;flex-direction:column;justify-content:start;padding-right:calc(35px + .8em);margin-bottom:0px}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria:not(:first-child),div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria:not(:nth-child(2)),div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria:not(:last-child){padding-top:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria:first-child,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria:nth-child(2),div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria:last-child{padding-top:0em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-dropDown,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input.dtsb-input{max-width:none;width:100%;margin-bottom:.8em;margin-right:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-inputCont{margin-right:.8em}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer{position:absolute;width:35px;display:flex;flex-wrap:wrap-reverse;right:0}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria div.dtsb-buttonContainer button{margin-right:0px !important}}div.dtsb-searchBuilder div.dtsb-titleRow{height:40px}div.dtsb-searchBuilder div.dtsb-titleRow div.dtsb-title{padding-top:10px}div.dtsb-searchBuilder div.dtsb-group button.dtsb-clearGroup{margin-right:8px}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria .form-control{width:auto;display:inline-block}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-condition{border-color:#28a745}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-data{border-color:#dc3545}div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-value,div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input.dtsb-value{border-color:#007bff}div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer{border-radius:4px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;margin-top:10px}div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer button.dtsb-logic{border:none;border-radius:0px;flex-grow:1;flex-shrink:0;flex-basis:3em;margin:0px}div.dtsb-searchBuilder div.dtsb-group div.dtsb-logicContainer button.dtsb-clearGroup{border:none;border-radius:0px;width:2em;margin:0px}div.dt-button-collection div.dtsb-searchBuilder{padding-left:10px;padding-right:10px}
div.dtsp-topRow{display:flex;flex-direction:row;flex-wrap:nowrap;border:2px solid rgba(0, 0, 0, 0);border-radius:3px;justify-content:space-around;align-content:flex-start;align-items:flex-start}div.dtsp-topRow input.dtsp-search{text-overflow:ellipsis;min-width:50px;flex-basis:90px;max-width:none}div.dtsp-topRow input.dtsp-search::placeholder{color:inherit}div.dtsp-topRow div.dtsp-subRow1{display:flex;flex-direction:row;flex-wrap:nowrap;flex:1 1 auto}div.dtsp-topRow div.dtsp-subRow1 div.dtsp-searchCont{position:relative;width:100%}div.dtsp-topRow div.dtsp-subRow1 input{padding-right:2em;width:100% !important;box-sizing:border-box;font-size:1em}div.dtsp-topRow div.dtsp-subRow1 input[disabled=disabled]{background-color:transparent;border:none;cursor:initial;box-shadow:none;padding-bottom:0;padding-top:0;min-height:1em;height:fit-content;box-sizing:content-box}div.dtsp-topRow div.dtsp-subRow1 input[disabled=disabled]::placeholder{color:initial;opacity:1}div.dtsp-topRow div.dtsp-subRow1 button.dtsp-searchIcon{position:absolute;top:0;right:0;bottom:0}div.dtsp-topRow div.dtsp-subRow1 button.dtsp-searchIcon span{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAABbmlDQ1BpY2MAACiRdZE7SwNBFIU/EyWikRRaiFhsoWKhEBREO42FTZAQFYza7G5eQhKX3QQJtoKNhWAh2vgq/AfaCrYKgqAIIhb+Al+NhPVOEkiQZJbZ+3FmzmXmDHjCGTPrtAYhm8vb0bmQthxb0Xzv+PHRxRSabjrWTCQSpun4eaRF1YdR1av5voajM55wTGhpF54wLTsvPC0c3sxbineFe8y0Hhc+ER6x5YDCt0o3KvymOFXhL8X2YnQWPKqnlqpjo47NtJ0VHhYeyGYKZvU86ib+RG5pQWqfzH4coswRQsOgwDoZ8oxKzUlmjX3Bsm+eDfGY8rcoYosjRVq8I6IWpGtCalL0hHwZiir3/3k6yfGxSnd/CNpeXfdzEHz7UNpz3d9T1y2dgfcFrnM1/4bkNPkt+l5NGziGwDZc3tQ04wCudqD32dJtvSx5ZXqSSfi4gK4YdN9Dx2olq+o650+wuCVPdAeHRzAk+wNrfw8JaBFXEnV+AAAACXBIWXMAAA9hAAAPYQGoP6dpAAABMUlEQVQoU6XRr0vDQRjH8akoM4iIjqGoOIZ5oIjB5XWxajaYDGLSIhhNYjcPRDSJwbQNw+L+BNGgYYo/5pT5/shz8vDlBgMPXux7z3N3z+25VOofYyCyd4ZYCavI4gXPsRp9LqiDdrEMH+8wv8Vh8gBfWclFPOEUN3hAHjlMoRa7wTzBS5xgKLFglPkZLjDic6HyDsEMNvGR2Nxifoci3tEI+X770JU0XmPXIlax+LTPh83fFox1X6kxyzdjm9UcdXi9S+Vti6svfyNULhNR9TVsYNhW6Ff9KKCNR7/Zv6eeaQ+6+qcdpu9BqGlp1HFgud+FYdzzUcUExu0Q/cdzHGEFetIlXKPjK/sbqYoOftMiS+j9jzEJPd1Wt+5+kdR/9EM9ucIC5jCbyPc01Q32kfsBppYz3hYFcCwAAAAASUVORK5CYII=") !important;background-repeat:no-repeat;background-position:center;background-size:12px}div.dtsp-topRow div.dtsp-subRow2{white-space:nowrap;flex:0 0 auto}div.dtsp-topRow button>span{display:inline-block;height:100%;width:100%}div.dtsp-topRow button.dtsp-nameButton span{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAYAAAAe2bNZAAABcGlDQ1BpY2MAACiRdZHNSwJBGMYftTDS8FCHkA57sOigIAXRMQzyYh3UIKvL7rirwe66zK6IdA26dBA6RF36OvQf1DXoWhAERRAR9B/0dQnZ3nEFJXSG2ffHs/O8zDwD+DM6M+yBJGCYDs+mU9JaYV0KviNMM4QoEjKzreXcUh59x88jfKI+JESv/vt6jlBRtRngGyKeYxZ3iBeIMzXHErxHPMbKcpH4hDjO6YDEt0JXPH4TXPL4SzDPZxcBv+gplbpY6WJW5gbxNHHM0KusfR5xk7BqruaoRmlNwEYWaaQgQUEVW9DhIEHVpMx6+5It3woq5GH0tVAHJ0cJZfLGSa1SV5WqRrpKU0dd5P4/T1ubnfG6h1PA4Kvrfk4CwX2g2XDd31PXbZ4BgRfg2uz4K5TT/DfpjY4WOwYiO8DlTUdTDoCrXWD82ZK53JICtPyaBnxcACMFYPQeGN7wsmr/x/kTkN+mJ7oDDo+AKdof2fwDCBRoDkL8UccAAAAJcEhZcwAAD2EAAA9hAag/p2kAAAK2SURBVFgJ7ZY9j41BFICvryCExrJBQ6HyEYVEIREaUZDQIRoR2ViJKCioxV+gkVXYTVZEQiEUhG2EQnxUCh0FKolY4ut5XnM2cyfva3Pt5m7EPcmzZ2bemTNnzjkzd1utnvQi0IvAfxiBy5z5FoxO89kPY+8mbMjtzs47RXs5/WVpbAG6bWExt5PuIibvhVkwmC+ck3eK9ln6/fAddFojYzBVuYSBpcnIEvRaqOw2RcaN18FPuJH0JvRUxbT3wWf4ltiKPgfVidWlbGZgPozDFfgAC+EA/K2EI4cwcAJ+gPaeQ+VQU2SOMMGcPgPl/m/V2p50rrbRsRgt9Iv5h6xtpP22Bz7Ce1C+gFFxfKzOmShcU+Qmyh2w3w8rIJfddHTck66EukL/xPhj+JM8rHNmFys0Pg4v0up3aFNlwR9NYyodd3OL/C64zpsymcTFcf6ElM4YzjAWKYrJkaq8kE/yUYNP4BoYvS1QRo+hNtF5xfkTUjoTheukSFFMjlTFm6PjceOca/SMpKfeCR1L6Uzk/y2WIkVhNFJlJAZhP+hYns7b9D3IPuhY5mYrIv8OrQJvR5NYyNaW4jsU8pSGNySiVx4o5tXq3JkoXE/mg5R/M8dGJCJpKhaDcjBRdbI/Rm8g69c122om33BHmj2CHoV5qa9jUXBraJ+G1fAVjIBO1klc87ro1K4JZ/K35SWW3TwcyDd6TecqnAEd8cGq2+w84xvBm1n3vS0izKkkwh5XNC/GmFPqqAtPF89AOScKuemaNzoTV1SD5dtSbmLf1/RV+tC0WTgcj6R7HEtrVGWaqu/lYDZ/2pvxQ/kIyw/gFByHC9AHw910hv1aUUumyd8yy0QfhmEkfiNod0Xusct68J1qc8Tdux0Z97Q+hsDb+AYGYEbF/4Guw2Q/qDPqZG/zXgT+3Qj8AtKnfWhFwmuAAAAAAElFTkSuQmCC") !important;background-repeat:no-repeat;background-position:center;background-size:23px;vertical-align:bottom}div.dtsp-topRow button.dtsp-countButton span{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAABcGlDQ1BpY2MAACiRdZHNSwJBGMYftTDS8FCHkA57sOigIAXRMQzyYh3UIKvL7rirwe66zK6IdA26dBA6RF36OvQf1DXoWhAERRAR9B/0dQnZ3nEFJXSG2ffHs/O8zDwD+DM6M+yBJGCYDs+mU9JaYV0KviNMM4QoEjKzreXcUh59x88jfKI+JESv/vt6jlBRtRngGyKeYxZ3iBeIMzXHErxHPMbKcpH4hDjO6YDEt0JXPH4TXPL4SzDPZxcBv+gplbpY6WJW5gbxNHHM0KusfR5xk7BqruaoRmlNwEYWaaQgQUEVW9DhIEHVpMx6+5It3woq5GH0tVAHJ0cJZfLGSa1SV5WqRrpKU0dd5P4/T1ubnfG6h1PA4Kvrfk4CwX2g2XDd31PXbZ4BgRfg2uz4K5TT/DfpjY4WOwYiO8DlTUdTDoCrXWD82ZK53JICtPyaBnxcACMFYPQeGN7wsmr/x/kTkN+mJ7oDDo+AKdof2fwDCBRoDkL8UccAAAAJcEhZcwAAD2EAAA9hAag/p2kAAAG5SURBVEgN3VU9LwVBFF0fiYhofUSlEQkKhU7z/oBCQkIiGr9BgUbhVzy9BAnhFyjV/AYFiU5ICM7ZN+c5Zud5dm3lJmfmzrkz9+7cu3c3y/6jjOBSF8CxXS7FmTkbwqIJjDpJvTcmsJ4K3KPZUpyZsx0sxoB9J6mnAkyC7wGuuCFIipNtEcpcWExgXpOBc78vgj6N+QO4NVsjwdFM59tUIDxDrHMBOeIQ34C5ZDregXuAQm4YcI68nN9B3wr2PcwPAIPkN2EqtJH6b+QZm1ajjTx7BqwAr26Lb+C2Kvpbt0Mb2HAJ7NrGFGfmXO3DeA4UshDfQAVmH0gaUFg852TTTDvlxwBlCtxy9zXyBhQFaq0wMmIdRebrfgosA3zb2hKnqG0oqchp4QbuR8X0TjzABhbdOT8jnQ/atcgqpnfwOA7yqZyTU587ZkIGdesLTt2EkynOnbreMUUKMI/dA4B/QVOcO13CQh+5wWCgDwo/75u59odB/wjmfhbgvACcAOyZPHihMWAoIwxyCLgf1oxfgjzVbgBXSTzIN+f0pg6s5DkcesLMRpsBrgE2XO3CN64JFP7JtUeKHX4CKtRRXFZ+7dEAAAAASUVORK5CYII=") !important;background-repeat:no-repeat;background-position:center;background-size:18px;vertical-align:bottom}div.dtsp-topRow button.dtsp-collapseButton span.dtsp-caret{position:relative;top:9px;display:inline-block}div.dtsp-topRow button.dtsp-collapseButton.dtsp-rotated{transform:rotate(180deg)}div.dtsp-searchPane table thead th,div.dtsp-searchPane table thead td{width:100% !important}div.dt-button-collection{z-index:2002}div.dt-button-collection.dtb-collection-closeable div.dtsp-titleRow{padding-right:25px}div.dtsp-columns-1{max-width:100%;min-width:100%;margin:0px !important}div.dtsp-columns-2{max-width:49%;min-width:49%;margin:0px !important}div.dtsp-columns-3{max-width:32%;min-width:32%;margin:0px !important}div.dtsp-columns-4{max-width:24%;min-width:24%;margin:0px !important}div.dtsp-columns-5{max-width:19%;min-width:19%;margin:0px !important}div.dtsp-columns-6{max-width:16%;min-width:16%;margin:0px !important}div.dtsp-columns-7{max-width:14%;min-width:14%;margin:0px !important}div.dtsp-columns-8{max-width:12%;min-width:12%;margin:0px !important}div.dtsp-columns-9{max-width:10.5%;min-width:10.5%;margin:0px !important}div.dtsp-narrow{flex-direction:column !important}div.dtsp-narrow div.dtsp-subRow1,div.dtsp-narrow div.dtsp-subRow2{width:100%}div.dtsp-narrow div.dtsp-subRow2 button{margin:0 !important;width:25% !important}div.dt-button-collection div.dtsp-panesContainer{padding-left:1em;padding-right:1em;margin-bottom:0}div.dtsp-panesContainer{margin-bottom:1em;max-width:100%;flex-grow:1}div.dtsp-searchPane div.dt-container,div.dtsp-searchPane div.dataTables_wrapper{width:100%}div.dtsp-searchPane div.dt-container div.dataTables_layout_cell,div.dtsp-searchPane div.dataTables_wrapper div.dataTables_layout_cell{padding:0}div.dtsp-searchPane div.dt-container div.dt-layout-row,div.dtsp-searchPane div.dataTables_wrapper div.dt-layout-row{margin:0}div.dtsp-searchPane div.dt-container div.dt-layout-row div.dt-scroll,div.dtsp-searchPane div.dataTables_wrapper div.dt-layout-row div.dt-scroll{margin:0}div.dtsp-searchPane div.dt-container div.dt-scroll-head,div.dtsp-searchPane div.dt-container div.dataTables_scrollHead,div.dtsp-searchPane div.dataTables_wrapper div.dt-scroll-head,div.dtsp-searchPane div.dataTables_wrapper div.dataTables_scrollHead{display:none !important}div.dtsp-searchPane div.dt-container div.dt-scroll-body,div.dtsp-searchPane div.dt-container div.dataTables_scrollBody,div.dtsp-searchPane div.dataTables_wrapper div.dt-scroll-body,div.dtsp-searchPane div.dataTables_wrapper div.dataTables_scrollBody{background:white !important;border:none}div.dtsp-searchPane div.dt-container div.dt-scroll-body thead,div.dtsp-searchPane div.dt-container div.dataTables_scrollBody thead,div.dtsp-searchPane div.dataTables_wrapper div.dt-scroll-body thead,div.dtsp-searchPane div.dataTables_wrapper div.dataTables_scrollBody thead{display:none}div.dtsp-searchPane div.dt-container div.dt-scroll-body table tr>th,div.dtsp-searchPane div.dt-container div.dt-scroll-body table tr>td,div.dtsp-searchPane div.dt-container div.dataTables_scrollBody table tr>th,div.dtsp-searchPane div.dt-container div.dataTables_scrollBody table tr>td,div.dtsp-searchPane div.dataTables_wrapper div.dt-scroll-body table tr>th,div.dtsp-searchPane div.dataTables_wrapper div.dt-scroll-body table tr>td,div.dtsp-searchPane div.dataTables_wrapper div.dataTables_scrollBody table tr>th,div.dtsp-searchPane div.dataTables_wrapper div.dataTables_scrollBody table tr>td{padding:5px 10px}div.dtsp-searchPane div.dt-container div.dt-scroll-body td.dtsp-nameColumn,div.dtsp-searchPane div.dt-container div.dataTables_scrollBody td.dtsp-nameColumn,div.dtsp-searchPane div.dataTables_wrapper div.dt-scroll-body td.dtsp-nameColumn,div.dtsp-searchPane div.dataTables_wrapper div.dataTables_scrollBody td.dtsp-nameColumn{width:100% !important}div.dtsp-searchPane div.dt-container div.dt-scroll-body div.dtsp-nameCont,div.dtsp-searchPane div.dt-container div.dataTables_scrollBody div.dtsp-nameCont,div.dtsp-searchPane div.dataTables_wrapper div.dt-scroll-body div.dtsp-nameCont,div.dtsp-searchPane div.dataTables_wrapper div.dataTables_scrollBody div.dtsp-nameCont{width:100%;display:flex;flex-direction:row;justify-content:flex-start;align-content:flex-start;align-items:flex-start}div.dtsp-searchPane div.dt-container div.dt-scroll-body div.dtsp-nameCont span.dtsp-name,div.dtsp-searchPane div.dt-container div.dt-scroll-body div.dtsp-nameCont span.dtsp-pill,div.dtsp-searchPane div.dt-container div.dataTables_scrollBody div.dtsp-nameCont span.dtsp-name,div.dtsp-searchPane div.dt-container div.dataTables_scrollBody div.dtsp-nameCont span.dtsp-pill,div.dtsp-searchPane div.dataTables_wrapper div.dt-scroll-body div.dtsp-nameCont span.dtsp-name,div.dtsp-searchPane div.dataTables_wrapper div.dt-scroll-body div.dtsp-nameCont span.dtsp-pill,div.dtsp-searchPane div.dataTables_wrapper div.dataTables_scrollBody div.dtsp-nameCont span.dtsp-name,div.dtsp-searchPane div.dataTables_wrapper div.dataTables_scrollBody div.dtsp-nameCont span.dtsp-pill{cursor:default}div.dtsp-searchPane div.dt-container div.dt-scroll-body div.dtsp-nameCont span.dtsp-name,div.dtsp-searchPane div.dt-container div.dataTables_scrollBody div.dtsp-nameCont span.dtsp-name,div.dtsp-searchPane div.dataTables_wrapper div.dt-scroll-body div.dtsp-nameCont span.dtsp-name,div.dtsp-searchPane div.dataTables_wrapper div.dataTables_scrollBody div.dtsp-nameCont span.dtsp-name{text-overflow:ellipsis;overflow:hidden;display:inline-block;vertical-align:middle;white-space:nowrap;flex-grow:1;text-align:left}div.dtsp-searchPane div.dt-container div.dt-scroll-body div.dtsp-nameCont span.dtsp-pill,div.dtsp-searchPane div.dt-container div.dataTables_scrollBody div.dtsp-nameCont span.dtsp-pill,div.dtsp-searchPane div.dataTables_wrapper div.dt-scroll-body div.dtsp-nameCont span.dtsp-pill,div.dtsp-searchPane div.dataTables_wrapper div.dataTables_scrollBody div.dtsp-nameCont span.dtsp-pill{display:inline-block;background-color:#cfcfcf;text-align:center;border-radius:10px;width:auto;min-width:30px;color:black;font-size:.9em;padding:0 4px}div.dtsp-searchPane div.dt-container div.dt-scroll-body div.dtsp-nameCont span.dtsp-pill:empty,div.dtsp-searchPane div.dt-container div.dataTables_scrollBody div.dtsp-nameCont span.dtsp-pill:empty,div.dtsp-searchPane div.dataTables_wrapper div.dt-scroll-body div.dtsp-nameCont span.dtsp-pill:empty,div.dtsp-searchPane div.dataTables_wrapper div.dataTables_scrollBody div.dtsp-nameCont span.dtsp-pill:empty{display:none}div.dtsp-panesContainer{clear:both;padding-left:0;padding-right:0;text-align:center}div.dtsp-panesContainer div.dtsp-searchPanes{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-content:flex-start;align-items:stretch;clear:both;text-align:left}div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane{flex-grow:1;flex-shrink:0;font-size:.9em;margin-top:15px !important}div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dt-container,div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dataTables_wrapper{flex:1;box-sizing:border-box}div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dt-container div.dt-search,div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dt-container div.dataTables_filter,div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dataTables_wrapper div.dt-search,div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dataTables_wrapper div.dataTables_filter{display:none}div.dtsp-panesContainer div.dtsp-title{float:left;padding:10px 0}div.dtsp-panesContainer button.dtsp-clearAll,div.dtsp-panesContainer button.dtsp-collapseAll,div.dtsp-panesContainer button.dtsp-showAll{float:right}div.dtsp-hidden,div.dts.dtsp-hidden{display:none !important}html.dark div.dtsp-topRow div.dtsp-subRow1 div.dtsp-searchCont input[disabled=disabled]::placeholder,html[data-bs-theme=dark] div.dtsp-topRow div.dtsp-subRow1 div.dtsp-searchCont input[disabled=disabled]::placeholder{color:white}div.dtsp-panesContainer button.dtsp-clearAll,div.dtsp-panesContainer button.dtsp-showAll{margin-left:3px}div.dtsp-panesContainer div.dtsp-searchPane div.dtsp-topRow{margin:.5em 0}div.dtsp-panesContainer div.dtsp-searchPane div.dtsp-topRow input.form-control{border-radius:4px}div.dtsp-panesContainer div.dtsp-searchPane div.dtsp-topRow div.dtsp-subRow2{margin-left:.5em}div.dtsp-panesContainer div.dtsp-searchPane div.dtsp-topRow button{border:1px solid #ced4da;width:35px;line-height:32px;padding:0}div.dtsp-panesContainer div.dtsp-searchPane div.dtsp-topRow div.dtsp-subRow1 button{border-right:none}div.dtsp-panesContainer div.dtsp-searchPane div.dtsp-topRow span.dtsp-caret{top:3px}div.dtsp-panesContainer div.dtsp-searchPane div.dtsp-topRow button.dtsp-rotated{transform:none}div.dtsp-panesContainer div.dtsp-searchPane div.dtsp-topRow button.dtsp-rotated span{transform:rotate(180deg);top:-2px}div.dtsp-panesContainer div.dtsp-searchPane div.dtsp-topRow.dtsp-bordered:hover button.disabled{cursor:pointer !important;pointer-events:none}div.dtsp-panesContainer div.dtsp-searchPane div.dtsp-topRow.dtsp-bordered:hover input.dtsp-paneInputButton{pointer-events:none}div.dtsp-panesContainer div.dtsp-searchPane div.dt-container,div.dtsp-panesContainer div.dtsp-searchPane div.dataTables_wrapper{border:2px #f0f0f0 solid;border-radius:4px}div.dtsp-panesContainer div.dtsp-searchPane div.dt-container:hover,div.dtsp-panesContainer div.dtsp-searchPane div.dataTables_wrapper:hover{border:2px solid #cfcfcf !important}div.dtsp-panesContainer div.dtsp-searchPane div.dt-container div.dtsp-nameCont span.badge,div.dtsp-panesContainer div.dtsp-searchPane div.dataTables_wrapper div.dtsp-nameCont span.badge{min-width:30px;line-height:1.25em;margin-top:3.5px}div.dtsp-panesContainer button.disabled{cursor:not-allowed}div.dt-button-collection div.dtsp-panesContainer{padding:9px 1rem}
table.dataTable>tbody>tr>.selected{background-color:rgb(2, 117, 216);color:rgb(var(--dt-row-selected-text))}div.dt-container span.select-info,div.dt-container span.select-item{margin-left:.5em}@media screen and (max-width: 640px){div.dt-container span.select-info,div.dt-container span.select-item{margin-left:0;display:block}}table.dataTable>tbody>tr>.dt-select{text-align:center;vertical-align:middle}table.dataTable>thead>tr>.dt-select{text-align:center;vertical-align:middle}table.dataTable>thead>tr>.dt-select input.dt-select-checkbox{margin-left:auto;margin-right:auto}table.dataTable input.dt-select-checkbox{appearance:none;position:relative;display:inline-block;width:12px;height:12px;border:1px solid;border-radius:3px;vertical-align:middle;margin-top:1px;color:inherit;font-size:20px;line-height:1em}table.dataTable input.dt-select-checkbox:checked:after{display:block;content:"✓";margin-top:-8px}table.dataTable input.dt-select-checkbox:indeterminate:after{display:block;position:absolute;content:" ";top:3px;left:3px;height:4px;width:4px;background-color:black;border-radius:2px}table.dataTable>tbody>tr.selected input.dt-select-checkbox:checked{border:1px solid}table.dataTable>tbody>tr>td.select-checkbox,table.dataTable>tbody>tr>th.select-checkbox{position:relative}table.dataTable>tbody>tr>td.select-checkbox:before,table.dataTable>tbody>tr>th.select-checkbox:before{display:block;position:absolute;top:50%;left:50%;width:12px;height:12px;box-sizing:border-box;content:" ";margin-top:-6px;margin-left:-6px;border:1px solid;border-radius:3px}table.dataTable>tbody>tr.selected>td.select-checkbox:before,table.dataTable>tbody>tr.selected>th.select-checkbox:before{border:1px solid;content:"✓";font-size:20px;line-height:6px;text-align:center}table.dataTable.compact>tbody>tr>td.select-checkbox:before,table.dataTable.compact>tbody>tr>th.select-checkbox:before{margin-top:-12px}table.dataTable.compact>tbody>tr.selected>td.select-checkbox:after,table.dataTable.compact>tbody>tr.selected>th.select-checkbox:after{margin-top:-16px}html.dark table.dataTable input.dt-select-checkbox:indeterminate:after,html[data-bs-theme=dark] table.dataTable input.dt-select-checkbox:indeterminate:after{background-color:white}
div.dtsr-confirmation,div.dtsr-creation{position:fixed;top:20%;left:50%;width:500px;margin-left:-250px;background-color:white;border-radius:.75em;box-shadow:0 12px 30px rgba(0, 0, 0, 0.6);z-index:2003;box-sizing:border-box;padding:2em}div.dtsr-confirmation div.dtsr-creation-text,div.dtsr-confirmation div.dtsr-confirmation-title-row,div.dtsr-creation div.dtsr-creation-text,div.dtsr-creation div.dtsr-confirmation-title-row{text-align:left}div.dtsr-confirmation div.dtsr-creation-text h2,div.dtsr-confirmation div.dtsr-confirmation-title-row h2,div.dtsr-creation div.dtsr-creation-text h2,div.dtsr-creation div.dtsr-confirmation-title-row h2{padding-left:0;border-bottom:0px;margin-top:0px;padding-top:0px;margin-bottom:1rem}div.dtsr-confirmation div.dtsr-confirmation-text,div.dtsr-creation div.dtsr-confirmation-text{text-align:center}div.dtsr-confirmation div.dtsr-modal-foot,div.dtsr-confirmation div.dtsr-confirmation-buttons,div.dtsr-creation div.dtsr-modal-foot,div.dtsr-creation div.dtsr-confirmation-buttons{text-align:right;margin-top:1em}div.dtsr-confirmation div.dtsr-modal-foot button,div.dtsr-confirmation div.dtsr-confirmation-buttons button,div.dtsr-creation div.dtsr-modal-foot button,div.dtsr-creation div.dtsr-confirmation-buttons button{margin:0px}div.dtsr-confirmation div.dtsr-creation-text,div.dtsr-creation div.dtsr-creation-text{text-align:left;padding:0px;border:none}div.dtsr-confirmation div.dtsr-creation-text span,div.dtsr-creation div.dtsr-creation-text span{font-size:20px}div.dtsr-confirmation div.dtsr-creation-form div.dtsr-left,div.dtsr-confirmation div.dtsr-creation-form div.dtsr-right,div.dtsr-creation div.dtsr-creation-form div.dtsr-left,div.dtsr-creation div.dtsr-creation-form div.dtsr-right{display:inline-block;width:50%}div.dtsr-confirmation div.dtsr-creation-form div.dtsr-left,div.dtsr-creation div.dtsr-creation-form div.dtsr-left{text-align:right}div.dtsr-confirmation div.dtsr-creation-form div.dtsr-right,div.dtsr-confirmation div.dtsr-creation-form div.dtsr-name-row,div.dtsr-creation div.dtsr-creation-form div.dtsr-right,div.dtsr-creation div.dtsr-creation-form div.dtsr-name-row{text-align:left}div.dtsr-confirmation div.dtsr-creation-form div.dtsr-form-row,div.dtsr-creation div.dtsr-creation-form div.dtsr-form-row{display:flex;margin:.5em 0}div.dtsr-confirmation div.dtsr-creation-form div.dtsr-form-row:first-child,div.dtsr-creation div.dtsr-creation-form div.dtsr-form-row:first-child{margin-top:1em;margin-bottom:1em}div.dtsr-confirmation div.dtsr-creation-form div.dtsr-form-row:last-child,div.dtsr-creation div.dtsr-creation-form div.dtsr-form-row:last-child{margin-bottom:0}div.dtsr-confirmation div.dtsr-creation-form div.dtsr-form-row label,div.dtsr-creation div.dtsr-creation-form div.dtsr-form-row label{width:25%;padding-right:1em;text-align:right;padding-top:2px}div.dtsr-confirmation div.dtsr-creation-form div.dtsr-form-row div.dtsr-input,div.dtsr-creation div.dtsr-creation-form div.dtsr-form-row div.dtsr-input{width:75%}div.dtsr-confirmation div.dtsr-creation-form div.dtsr-form-row div.dtsr-input div.dtsr-check-label,div.dtsr-creation div.dtsr-creation-form div.dtsr-form-row div.dtsr-input div.dtsr-check-label{margin-bottom:.5em}div.dtsr-confirmation div.dtsr-creation-form div.dtsr-form-row div.dtsr-input div.dtsr-check-label input,div.dtsr-creation div.dtsr-creation-form div.dtsr-form-row div.dtsr-input div.dtsr-check-label input{margin-right:.5em}div.dtsr-confirmation div.dtsr-confirmation-text,div.dtsr-creation div.dtsr-confirmation-text{text-align:left}div.dtsr-confirmation div.dtsr-confirmation-text label.dtsr-name-label,div.dtsr-creation div.dtsr-confirmation-text label.dtsr-name-label{width:auto;display:inline-block;text-align:right;padding-right:15px}div.dtsr-confirmation div.dtsr-confirmation-text input.dtsr-name-input,div.dtsr-creation div.dtsr-confirmation-text input.dtsr-name-input{width:66.6%;display:inline-block}div.dtsr-confirmation div.dtsr-modal-foot,div.dtsr-creation div.dtsr-modal-foot{text-align:right;padding-top:10px}div.dtsr-confirmation span.dtsr-modal-error,div.dtsr-creation span.dtsr-modal-error{color:red;font-size:.9em}div.dtsr-creation{top:10%}div.dtsr-check-row{padding-top:0px}div.dtsr-popover-close{position:absolute;top:10px;right:10px;width:22px;height:22px;text-align:center;border-radius:3px;cursor:pointer;z-index:12}div.dtsr-background{z-index:2002;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.7);background:radial-gradient(ellipse farthest-corner at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%)}div.dt-button-collection h3{text-align:center;margin-top:4px;margin-bottom:8px;font-size:1.5em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}div.dt-button-collection span.dtsr-emptyStates{border-radius:5px;display:inline-block;line-height:1.6em;white-space:nowrap;text-align:center;vertical-align:middle;width:100%;padding-bottom:7px;padding-top:3px}html.dark div.dtsr-confirmation,html.dark div.dtsr-creation,html[data-bs-theme=dark] div.dtsr-confirmation,html[data-bs-theme=dark] div.dtsr-creation{background-color:rgb(33, 37, 41);border:1px solid rgba(255, 255, 255, 0.15)}html.dark div.dtsr-confirmation button,html.dark div.dtsr-creation button,html[data-bs-theme=dark] div.dtsr-confirmation button,html[data-bs-theme=dark] div.dtsr-creation button{color:inherit;border:1px solid rgba(255, 255, 255, 0.175);background-color:rgb(47, 52, 56)}html.dark div.dtsr-confirmation button:hover,html.dark div.dtsr-creation button:hover,html[data-bs-theme=dark] div.dtsr-confirmation button:hover,html[data-bs-theme=dark] div.dtsr-creation button:hover{background-color:rgb(64, 69, 73)}input.dtsr-input{display:inline-block;width:auto;margin-left:3px}div.dtsr-creation-form div.dtsr-form-row label.dtsr-name-label{width:33.3%;display:inline-block;text-align:left !important;padding-right:15px;padding-left:15px}div.dtsr-creation-form div.dtsr-form-row input.dtsr-name-input{width:66.6%;display:inline-block}div.dtsr-confirmation-text{margin-top:1.5em}div.dtsr-confirmation-text label.dtsr-name-label{width:33.3%;display:inline-block;text-align:left !important;padding-right:15px;padding-left:15px}div.dtsr-confirmation-text input.dtsr-name-input{width:66.6%;display:inline-block}
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment