{"id":1955,"date":"2024-09-07T06:51:32","date_gmt":"2024-09-07T06:51:32","guid":{"rendered":"https:\/\/sco.gov.et\/?page_id=1955"},"modified":"2024-09-12T19:22:38","modified_gmt":"2024-09-12T19:22:38","slug":"court-fee-calaculator","status":"publish","type":"page","link":"https:\/\/sco.gov.et\/index.php\/court-fee-calaculator\/","title":{"rendered":"Court Fees Calculator"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Court Fee Calculator<\/title>\n    <style>\n        body {\n            font-family: Arial, sans-serif;\n        }\n        .container {\n            margin: 50px auto;\n            max-width: 400px;\n\t\t\tbackground-color: #a8cbee\n        }\n        label {\n            display: block;\n            margin: 10px 0 5px;\n        }\n        input, button {\n            width: 90%;\n            padding: 10px;\n            margin: 10px 0;\n        }\n        button {\n            background-color: #4CAF50;\n            color: white;\n            border: none;\n        }\n        .result {\n            font-size: 18px;\n            font-weight: bold;\n        }\n    <\/style>\n<\/head>\n<body>\n\n    <div class=\"container\">\n        <h2>Tilmaama Kaffaltii Tajaajila Abbaa Seerummaa Shallagi<\/h2>\n        <label for=\"claimAmount\">Maallaqa Tilmaama Himannoo (Qarshiidhaan) galchii::<\/label>\n        <input type=\"number\" id=\"claimAmount\" placeholder=\"Enter the claim amount\">\n\n        <button onclick=\"calculateFee()\">Calculate Fee<\/button>\n\n        <div class=\"result\" id=\"result\"><\/div>\n    <\/div>\n\n    <script>\n        \/\/ Ranges and percentages\n        const ranges = [\n            { max: 20000, rate: 0.10 },\n            { max: 40000, rate: 0.09 },\n            { max: 60000, rate: 0.08 },\n            { max: 80000, rate: 0.07 },\n            { max: 100000, rate: 0.06 },\n            { max: 200000, rate: 0.05 },\n            { max: 300000, rate: 0.049 },\n            { max: 400000, rate: 0.048 },\n            { max: 500000, rate: 0.047 },\n            { max: 600000, rate: 0.046 },\n            { max: 700000, rate: 0.045 },\n            { max: 800000, rate: 0.044 },\n            { max: 900000, rate: 0.043 },\n            { max: 1000000, rate: 0.042 },\n            { max: 2000000, rate: 0.041 },\n            { max: 3000000, rate: 0.04 },\n            { max: 4000000, rate: 0.039 },\n            { max: 5000000, rate: 0.038 },\n            { max: 6000000, rate: 0.037 },\n            { max: 7000000, rate: 0.036 },\n            { max: 8000000, rate: 0.035 },\n            { max: 9000000, rate: 0.034 },\n            { max: 10000000, rate: 0.033 },\n            { max: 20000000, rate: 0.032 },\n            { max: 30000000, rate: 0.031 },\n            { max: 40000000, rate: 0.03 },\n            { max: 50000000, rate: 0.029 },\n            { max: 60000000, rate: 0.028 },\n            { max: 70000000, rate: 0.027 },\n            { max: 80000000, rate: 0.026 },\n            { max: 90000000, rate: 0.025 },\n            { max: 100000000, rate: 0.024 },\n            { max: 200000000, rate: 0.023 },\n            { max: 300000000, rate: 0.022 },\n            { max: 400000000, rate: 0.021 },\n            { max: 500000000, rate: 0.02 },\n            { max: 600000000, rate: 0.019 },\n            { max: 700000000, rate: 0.018 },\n            { max: 800000000, rate: 0.017 },\n            { max: 900000000, rate: 0.016 },\n            { max: 1000000000, rate: 0.015 },\n            { max: 1100000000, rate: 0.014 },\n            { max: 1200000000, rate: 0.013 },\n            { max: 1400000000, rate: 0.012 },\n            { max: 1600000000, rate: 0.011 },\n            { max: Infinity, rate: 0.01 } \/\/ Else > 1.6B, 1%\n        ];\n\n        function calculateFee() {\n            const claimAmount = parseFloat(document.getElementById('claimAmount').value);\n            let totalFee = 0;\n\n            if (isNaN(claimAmount) || claimAmount <= 0) {\n                document.getElementById('result').innerText = \"Please enter a valid claim amount.\";\n                return;\n            }\n\n            let remainingAmount = claimAmount;\n            let previousMax = 0;\n\n            for (let range of ranges) {\n                if (remainingAmount > 0) {\n                    const rangeAmount = Math.min(remainingAmount, range.max - previousMax);\n                    totalFee += rangeAmount * range.rate;\n                    remainingAmount -= rangeAmount;\n                    previousMax = range.max;\n                } else {\n                    break;\n                }\n            }\n\n            document.getElementById('result').innerText = `kaffaltii Abbaa Seerummaa:: ${totalFee.toFixed(2)}`;\n        }\n    <\/script>\n\n<\/body>\n<\/html>\n\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Court Fee Calculator Tilmaama Kaffaltii Tajaajila Abbaa Seerummaa Shallagi Maallaqa Tilmaama Himannoo (Qarshiidhaan) galchii:: Calculate Fee<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1955","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sco.gov.et\/index.php\/wp-json\/wp\/v2\/pages\/1955","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sco.gov.et\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sco.gov.et\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sco.gov.et\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sco.gov.et\/index.php\/wp-json\/wp\/v2\/comments?post=1955"}],"version-history":[{"count":5,"href":"https:\/\/sco.gov.et\/index.php\/wp-json\/wp\/v2\/pages\/1955\/revisions"}],"predecessor-version":[{"id":2017,"href":"https:\/\/sco.gov.et\/index.php\/wp-json\/wp\/v2\/pages\/1955\/revisions\/2017"}],"wp:attachment":[{"href":"https:\/\/sco.gov.et\/index.php\/wp-json\/wp\/v2\/media?parent=1955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}