{"id":3243,"date":"2024-05-08T16:54:21","date_gmt":"2024-05-08T16:54:21","guid":{"rendered":"https:\/\/cycacademy.net\/hr-system\/"},"modified":"2024-05-08T16:54:21","modified_gmt":"2024-05-08T16:54:21","slug":"hr-system","status":"publish","type":"page","link":"https:\/\/cycacademy.net\/en\/hr-system\/","title":{"rendered":"HR SYSTEM"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"3243\" class=\"elementor elementor-3243 elementor-141\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-218f24b rev e-flex e-con-boxed e-con e-parent\" data-id=\"218f24b\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a72b8ee hlin elementor-widget__width-initial elementor-widget elementor-widget-heading\" data-id=\"a72b8ee\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0627\u062d\u0633\u0628 \u0627\u0644\u0640 Net Salary \u0648\u0627\u0644\u0640Gross Salary \u0628\u062e\u0637\u0648\u0629 \u0648\u0627\u062d\u062f\u0629 \u0645\u0646 \u063a\u064a\u0631 \u0645\u0639\u0627\u062f\u0644\u0627\u062a \u0643\u062a\u064a\u0631<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-d770b9e rev e-flex e-con-boxed e-con e-parent\" data-id=\"d770b9e\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-674402d e-con-full e-flex e-con e-child\" data-id=\"674402d\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4263715 elementor-widget elementor-widget-html\" data-id=\"4263715\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n<meta charset=\"UTF-8\">\r\n<title>Salary Calculator<\/title>\r\n<script>\r\nfunction calculateSalaryDetails(gross) {\r\n    const extraInsurance = Math.round((gross >= 12600 ? 12600 : gross \/ 1.3) \/ 100) * 100;\r\n    const socialInsurance = extraInsurance * 0.1;\r\n    const taxableAnnual = (gross - socialInsurance - 1666.67) * 12;\r\n    let taxesAnnual;\r\n\r\n    if (taxableAnnual > 1200000) {\r\n        taxesAnnual = (taxableAnnual - 1200000) * 0.275 + 1200000 * 0.25;\r\n    } else if (taxableAnnual > 900000) {\r\n        taxesAnnual = (taxableAnnual - 400000) * 0.25 + 400000 * 0.225;\r\n    } else if (taxableAnnual > 800000) {\r\n        taxesAnnual = (taxableAnnual - 400000) * 0.25 + 200000 * 0.225 + 200000 * 0.20;\r\n    } else if (taxableAnnual > 700000) {\r\n        taxesAnnual = (taxableAnnual - 400000) * 0.25 + 200000 * 0.225 + 130000 * 0.20 + 70000 * 0.15;\r\n    } else if (taxableAnnual > 600000) {\r\n        taxesAnnual = (taxableAnnual - 400000) * 0.25 + 200000 * 0.225 + 130000 * 0.20 + 15000 * 0.15 + 55000 * 0.10;\r\n    } else if (taxableAnnual > 400000) {\r\n        taxesAnnual = (taxableAnnual - 400000) * 0.25 + 200000 * 0.225 + 130000 * 0.20 + 15000 * 0.15 + 15000 * 0.10;\r\n    } else if (taxableAnnual > 200000) {\r\n        taxesAnnual = (taxableAnnual - 200000) * 0.225 + 130000 * 0.20 + 15000 * 0.15 + 15000 * 0.10;\r\n    } else if (taxableAnnual > 70000) {\r\n        taxesAnnual = (taxableAnnual - 70000) * 0.20 + 15000 * 0.15 + 15000 * 0.10;\r\n    } else if (taxableAnnual > 55000) {\r\n        taxesAnnual = (taxableAnnual - 55000) * 0.15 + 15000 * 0.10;\r\n    } else if (taxableAnnual > 40000) {\r\n        taxesAnnual = (taxableAnnual - 40000) * 0.10;\r\n    } else {\r\n        taxesAnnual = 0; \/\/ Adjust this as needed for lower brackets\r\n    }\r\n\r\n    const taxes = taxesAnnual \/ 12;\r\n    const honorFund = gross * 0.0005;\r\n    const net = gross - taxes - socialInsurance - honorFund;\r\n\r\n    return net;\r\n}\r\n\r\ndocument.addEventListener('DOMContentLoaded', function() {\r\n    const form = document.getElementById('calcula');\r\n    form.addEventListener('submit', function(event) {\r\n        event.preventDefault();\r\n\r\n        let grossSalary = parseFloat(document.getElementById('calin').value);\r\n        if (isNaN(grossSalary)) {\r\n            alert('Please enter a valid number');\r\n            return;\r\n        }\r\n\r\n        const netSalary = calculateSalaryDetails(grossSalary);\r\n        document.getElementById('net_salary_display').innerText =  netSalary.toFixed(2);\r\n    });\r\n});\r\n<\/script>\r\n<\/head>\r\n<body>\r\n<form id=\"calcula\">\r\n    <label for=\"calin\">Enter your gross salary<\/label>\r\n    <input type=\"text\" id=\"calin\" required>\r\n    <button type=\"submit\">Calculate Net Salary<\/button>\r\n<\/form>\r\n<div id=\"net_salary_display\"><\/div>\r\n<\/body>\r\n<\/html>\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-18f0bf5 e-con-full e-flex e-con e-child\" data-id=\"18f0bf5\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-fce7003 elementor-widget elementor-widget-html\" data-id=\"fce7003\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n<meta charset=\"UTF-8\">\r\n<title>Salary Calculator Reverse<\/title>\r\n<script>\r\nfunction calculateNetSalaryFromGross(gross) {\r\n    const extraInsurance = Math.round((gross >= 12600 ? 12600 : gross \/ 1.3) \/ 100) * 100;\r\n    const socialInsurance = extraInsurance * 0.1;\r\n    const taxableAnnual = (gross - socialInsurance - 1666.67) * 12;\r\n    let taxesAnnual;\r\n\r\n    if (taxableAnnual > 1200000) {\r\n        taxesAnnual = (taxableAnnual - 1200000) * 0.275 + 1200000 * 0.25;\r\n    } else if (taxableAnnual > 900000) {\r\n        taxesAnnual = (taxableAnnual - 400000) * 0.25 + 400000 * 0.225;\r\n    } else if (taxableAnnual > 800000) {\r\n        taxesAnnual = (taxableAnnual - 400000) * 0.25 + 200000 * 0.225 + 200000 * 0.20;\r\n    } else if (taxableAnnual > 700000) {\r\n        taxesAnnual = (taxableAnnual - 400000) * 0.25 + 200000 * 0.225 + 130000 * 0.20 + 70000 * 0.15;\r\n    } else if (taxableAnnual > 600000) {\r\n        taxesAnnual = (taxableAnnual - 400000) * 0.25 + 200000 * 0.225 + 130000 * 0.20 + 15000 * 0.15 + 55000 * 0.10;\r\n    } else if (taxableAnnual > 400000) {\r\n        taxesAnnual = (taxableAnnual - 400000) * 0.25 + 200000 * 0.225 + 130000 * 0.20 + 15000 * 0.15 + 15000 * 0.10;\r\n    } else if (taxableAnnual > 200000) {\r\n        taxesAnnual = (taxableAnnual - 200000) * 0.225 + 130000 * 0.20 + 15000 * 0.15 + 15000 * 0.10;\r\n    } else if (taxableAnnual > 70000) {\r\n        taxesAnnual = (taxableAnnual - 70000) * 0.20 + 15000 * 0.15 + 15000 * 0.10;\r\n    } else if (taxableAnnual > 55000) {\r\n        taxesAnnual = (taxableAnnual - 55000) * 0.15 + 15000 * 0.10;\r\n    } else if (taxableAnnual > 40000) {\r\n        taxesAnnual = (taxableAnnual - 40000) * 0.10;\r\n    } else {\r\n        taxesAnnual = 0;\r\n    }\r\n\r\n    const taxes = taxesAnnual \/ 12;\r\n    const honorFund = gross * 0.0005;\r\n    const net = gross - taxes - socialInsurance - honorFund;\r\n\r\n    return net;\r\n}\r\n\r\nfunction findGrossSalaryFromNet(netDesired) {\r\n    let low = 0;\r\n    let high = 1000000;  \/\/ Adjust as needed based on possible salary ranges\r\n    let mid, computedNet;\r\n\r\n    while (low <= high) {\r\n        mid = (low + high) \/ 2;\r\n        computedNet = calculateNetSalaryFromGross(mid);\r\n\r\n        if (Math.abs(computedNet - netDesired) < 0.01) {\r\n            return mid;\r\n        } else if (computedNet < netDesired) {\r\n            low = mid + 0.01;\r\n        } else {\r\n            high = mid - 0.01;\r\n        }\r\n    }\r\n\r\n    return mid;  \/\/ This might need rounding or formatting depending on your needs\r\n}\r\n\r\ndocument.addEventListener('DOMContentLoaded', function() {\r\n    const form = document.getElementById('calcula2');\r\n    form.addEventListener('submit', function(event) {\r\n        event.preventDefault();\r\n\r\n        let netSalary = parseFloat(document.getElementById('calin2').value);\r\n        if (isNaN(netSalary)) {\r\n            alert('Please enter a valid number');\r\n            return;\r\n        }\r\n\r\n        const grossSalary = findGrossSalaryFromNet(netSalary);\r\n        document.getElementById('gross_salary_display').innerText =  grossSalary.toFixed(2);\r\n    });\r\n});\r\n<\/script>\r\n<\/head>\r\n<body>\r\n<form id=\"calcula2\">\r\n    <label for=\"calin2\">Enter your net salary<\/label>\r\n    <input type=\"text\" id=\"calin2\" required>\r\n    <button type=\"submit\">Calculate Gross Salary<\/button>\r\n<\/form>\r\n<div id=\"gross_salary_display\"><\/div>\r\n<\/body>\r\n<\/html>\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u0627\u062d\u0633\u0628 \u0627\u0644\u0640 Net Salary \u0648\u0627\u0644\u0640Gross Salary \u0628\u062e\u0637\u0648\u0629 \u0648\u0627\u062d\u062f\u0629 \u0645\u0646 \u063a\u064a\u0631 \u0645\u0639\u0627\u062f\u0644\u0627\u062a \u0643\u062a\u064a\u0631 Salary Calculator Enter your gross salary Calculate Net [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-3243","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/cycacademy.net\/en\/wp-json\/wp\/v2\/pages\/3243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cycacademy.net\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cycacademy.net\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cycacademy.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cycacademy.net\/en\/wp-json\/wp\/v2\/comments?post=3243"}],"version-history":[{"count":0,"href":"https:\/\/cycacademy.net\/en\/wp-json\/wp\/v2\/pages\/3243\/revisions"}],"wp:attachment":[{"href":"https:\/\/cycacademy.net\/en\/wp-json\/wp\/v2\/media?parent=3243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}