{"id":2493,"date":"2022-08-29T06:54:30","date_gmt":"2022-08-29T06:54:30","guid":{"rendered":"http:\/\/labourdept.gov.lk\/?page_id=2493"},"modified":"2026-10-09T09:03:29","modified_gmt":"2026-10-09T09:03:29","slug":"epf-claim","status":"publish","type":"page","link":"https:\/\/labourdept.gov.lk\/si\/epf-claim\/","title":{"rendered":"\u0d87\u0dad\u0dd4\u0dbd\u0dca \u0dc0\u0db1\u0dca\u0db1"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><div class=\"vc_row wpb_row vc_row-fluid\"><div class=\"wpb_column vc_column_container vc_col-sm-12\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\n\t<div class=\"wpb_text_column wpb_content_element\" >\n\t\t<div class=\"wpb_wrapper\">\n\t\t\t        <div class=\"cb-visitor-form-container\" style=\"max-width: 400px; margin: 20px auto; padding: 25px; border: 1px solid #e2e8f0; border-radius: 8px; background: #ffffff; font-family: sans-serif;\">\n            <h3 style=\"margin-top:0; color:#1a202c; border-bottom: 2px solid #edf2f7; padding-bottom: 10px;\">Visitor Login<\/h3>\n\n            <form id=\"cb-login-form\" action=\"\">\n                <input type=\"hidden\" id=\"cb_security\" name=\"cb_security\" value=\"2c92c8baf7\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/si\/wp-json\/wp\/v2\/pages\/2493\" \/>\n                <div style=\"margin-bottom: 15px;\">\n                    <label style=\"display:block; font-weight:600; margin-bottom: 5px;\">Email, NIC, or Mobile No *<\/label>\n                    <input type=\"text\" name=\"InputNicMob\" required style=\"width: 100%; padding: 10px; border: 1px solid #cbd5e1; border-radius: 4px;\" placeholder=\"Enter credentials...\">\n                <\/div>\n\n                <div style=\"margin-bottom: 20px;\">\n                    <label style=\"display:block; font-weight:600; margin-bottom: 5px;\">Password *<\/label>\n                    <input type=\"password\" name=\"password\" required style=\"width: 100%; padding: 10px; border: 1px solid #cbd5e1; border-radius: 4px;\">\n                <\/div>\n\n                <button type=\"submit\" id=\"cb_log_btn\" style=\"background: #16a34a; color: #fff; border:none; padding: 12px 20px; border-radius: 4px; cursor: pointer; font-weight: 600; width: 100%;\">\u0d87\u0dad\u0dd4\u0dbd\u0dca \u0dc0\u0db1\u0dca\u0db1<\/button>\n          \n        <!-- Registration Redirect Link Container -->\n<div style=\"margin-top: 15px; text-align: center; font-family: sans-serif; font-size: 14px; color: #64748b;\">\n    \u0d9c\u0dd2\u0dab\u0dd4\u0db8\u0d9a\u0dca \u0db1\u0dd0\u0daf\u0dca\u0daf? \n    <a href=\"https:\/\/labourdept.gov.lk\/si\/registrer-account\/\" style=\"color: #16a34a; font-weight: 600; text-decoration: none; border-bottom: 1px dashed #16a34a;\">\n        For register go here\n    <\/a>\n<\/div>\n        \n        <input type=\"hidden\" name=\"trp-form-language\" value=\"si\"\/><\/form>\n        <\/div>\n\n        <script>\n        jQuery(document).ready(function($) {\n            $('#cb-login-form').on('submit', function(e) {\n                e.preventDefault();\n                var formData = new FormData(this);\n                formData.append('action', 'cb_login_visitor');\n                formData.append('security', $('#cb_security').val());\n\n                var btn = $('#cb_log_btn');\n                btn.prop('disabled', true).text('Authenticating...');\n\n                $.ajax({\n                    url: 'https:\/\/labourdept.gov.lk\/wp-admin\/admin-ajax.php',\n                    type: 'POST',\n                    data: formData,\n                    processData: false,\n                    contentType: false,\n                    success: function(res) {\n                        btn.prop('disabled', false).text('Login');\n                        if (res.success) {\n                            Swal.fire({\n                                title: 'Welcome Back!',\n                                text: res.data.message,\n                                icon: 'success',\n                                timer: 2000,\n                                showConfirmButton: false\n                            }).then(() => {\n                                \/\/ Redirect or reload page upon successful login\n                                 window.location.replace(\".\/e-services-2\/\"); \n                            });\n                        } else {\n                            Swal.fire('Access Denied', res.data.message, 'error');\n                        }\n                    },\n                    error: function() {\n                        btn.prop('disabled', false).text('Login');\n                        Swal.fire('Error', 'Server error occurred.', 'error');\n                    }\n                });\n            });\n        });\n        <\/script>\n        \n\n\t\t<\/div>\n\t<\/div>\n<\/div><\/div><\/div><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Visitor Login Email, NIC, or Mobile No * Password * Login Don&#8217;t have an account? For register go here<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2493","page","type-page","status-publish","hentry","description-off"],"_links":{"self":[{"href":"https:\/\/labourdept.gov.lk\/si\/wp-json\/wp\/v2\/pages\/2493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labourdept.gov.lk\/si\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/labourdept.gov.lk\/si\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/labourdept.gov.lk\/si\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labourdept.gov.lk\/si\/wp-json\/wp\/v2\/comments?post=2493"}],"version-history":[{"count":5,"href":"https:\/\/labourdept.gov.lk\/si\/wp-json\/wp\/v2\/pages\/2493\/revisions"}],"predecessor-version":[{"id":6928,"href":"https:\/\/labourdept.gov.lk\/si\/wp-json\/wp\/v2\/pages\/2493\/revisions\/6928"}],"wp:attachment":[{"href":"https:\/\/labourdept.gov.lk\/si\/wp-json\/wp\/v2\/media?parent=2493"}],"curies":[{"name":"\u0da9\u0db6\u0dca\u0dbd\u0dd2\u0dc0\u0dca\u0db4\u0dd3","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}