{"id":3955,"date":"2024-06-28T07:33:57","date_gmt":"2024-06-28T07:33:57","guid":{"rendered":"https:\/\/louisthai.com\/?page_id=3955"},"modified":"2025-06-30T12:59:15","modified_gmt":"2025-06-30T04:59:15","slug":"life-calculator","status":"publish","type":"page","link":"https:\/\/louisthai.com\/hk\/life-calculator\/","title":{"rendered":"Life Calculator"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"3955\" class=\"elementor elementor-3955\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-988c520 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"988c520\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-67426c4\" data-id=\"67426c4\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3261ecd elementor-widget elementor-widget-shortcode\" data-id=\"3261ecd\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">    <div class=\"louisthai-calculator-wrapper\">\n        <h2>Life Calculator Form<\/h2>\n        \n        <form id=\"louisthaiForm\" class=\"louisthai-form\" action=\"\">\n            <!-- Case Progress Status -->\n            <div class=\"form-section\">\n                <h3>Case Progress Status<\/h3>\n                <select name=\"case_status\" required>\n                    <option value=\"\">Select Status<\/option>\n                    <option value=\"Review\">Review<\/option>\n                    <option value=\"Keep In View\">Keep In View<\/option>\n                    <option value=\"Need Consult\">Need Consult<\/option>\n                <\/select>\n            <\/div>\n\n            <!-- General Information -->\n            <div class=\"form-section\">\n                <h3>General Information<\/h3>\n                <div class=\"form-row\">\n                    <label for=\"client_name\">Client Name:<\/label>\n                    <input type=\"text\" id=\"client_name\" name=\"client_name\" required>\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"dob\">Birth Date (MY):<\/label>\n                    <input type=\"date\" id=\"dob\" name=\"birth_date\" required>\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"birth_time\">Birth Time (MY):<\/label>\n                    <input type=\"time\" id=\"birth_time\" name=\"birth_time\" required>\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"birth_date_th\">Birth Date (TH):<\/label>\n                    <input type=\"text\" id=\"birth_date_th\" name=\"birth_date_th\">\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"birth_time_th\">Birth Time (TH):<\/label>\n                    <input type=\"text\" id=\"birth_time_th\" name=\"birth_time_th\">\n                <\/div>\n            <\/div>\n\n            <!-- Demographic -->\n            <div class=\"form-section\">\n                <h3>Demographic<\/h3>\n                <div class=\"form-row\">\n                    <label for=\"age\">Age:<\/label>\n                    <input type=\"number\" id=\"age\" name=\"age\" required>\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"gender\">Gender:<\/label>\n                    <select id=\"gender\" name=\"gender\" required>\n                        <option value=\"\">Select Gender<\/option>\n                        <option value=\"Male\">Male<\/option>\n                        <option value=\"Female\">Female<\/option>\n                    <\/select>\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"contact_no\">Contact No:<\/label>\n                    <input type=\"tel\" id=\"contact_no\" name=\"contact_no\" required>\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"region\">Region:<\/label>\n                    <input type=\"text\" id=\"region\" name=\"region\">\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"occupation\">Occupation:<\/label>\n                    <input type=\"text\" id=\"occupation\" name=\"occupation\">\n                <\/div>\n            <\/div>\n\n            <!-- Marketing Strategy -->\n            <div class=\"form-section\">\n                <h3>Marketing Strategy<\/h3>\n                <div class=\"form-row\">\n                    <label>Marketing Strategy:<\/label>\n                    <div class=\"checkbox-group\">\n                        <label><input type=\"checkbox\" name=\"marketing_strategy[]\" value=\"RC\"> RC<\/label>\n                        <label><input type=\"checkbox\" name=\"marketing_strategy[]\" value=\"FIF\"> FIF<\/label>\n                        <label><input type=\"checkbox\" name=\"marketing_strategy[]\" value=\"AD\"> AD<\/label>\n                        <label><input type=\"checkbox\" name=\"marketing_strategy[]\" value=\"SEO\"> SEO<\/label>\n                        <label><input type=\"checkbox\" name=\"marketing_strategy[]\" value=\"F\"> F<\/label>\n                        <label><input type=\"checkbox\" name=\"marketing_strategy[]\" value=\"RV\"> RV<\/label>\n                    <\/div>\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"referred_by\">Referred By:<\/label>\n                    <input type=\"text\" id=\"referred_by\" name=\"referred_by\">\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"relation\">Relation:<\/label>\n                    <input type=\"text\" id=\"relation\" name=\"relation\">\n                <\/div>\n            <\/div>\n\n            <!-- Payment & Service Details -->\n            <div class=\"form-section\">\n                <h3>Payment & Service Details<\/h3>\n                <div class=\"form-row\">\n                    <label for=\"payment_status\">Payment Status:<\/label>\n                    <select id=\"payment_status\" name=\"payment_status\" required>\n                        <option value=\"\">Select Status<\/option>\n                        <option value=\"Pending\">Pending<\/option>\n                        <option value=\"Completed\">Completed<\/option>\n                        <option value=\"Partial\">Partial<\/option>\n                    <\/select>\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"payment_price\">Payment Price (MYR):<\/label>\n                    <input type=\"number\" id=\"payment_price\" name=\"payment_price\" step=\"0.01\" required>\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"warranty_plan\">Warranty Plan:<\/label>\n                    <select id=\"warranty_plan\" name=\"warranty_plan\" required>\n                        <option value=\"\">Select Plan<\/option>\n                        <option value=\"7D\">7 Days<\/option>\n                        <option value=\"30D\">30 Days<\/option>\n                        <option value=\"37D\">37 Days<\/option>\n                        <option value=\"60D\">60 Days<\/option>\n                        <option value=\"67D\">67 Days<\/option>\n                        <option value=\"180D\">180 Days<\/option>\n                        <option value=\"210D\">210 Days<\/option>\n                    <\/select>\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"service_plan\">Service Plan:<\/label>\n                    <select id=\"service_plan\" name=\"service_plan\" required>\n                        <option value=\"\">Select Plan<\/option>\n                        <option value=\"i-PERSONAL PREMIUM\">i-PERSONAL PREMIUM<\/option>\n                        <option value=\"i-PERSONAL FLEXI\">i-PERSONAL FLEXI<\/option>\n                        <option value=\"i-INDIVIDUAL\">i-INDIVIDUAL<\/option>\n                        <option value=\"i-JUNIOR\">i-JUNIOR<\/option>\n                        <option value=\"CORPORATE\">CORPORATE<\/option>\n                    <\/select>\n                <\/div>\n            <\/div>\n\n            <!-- Additional Details -->\n            <div class=\"form-section\">\n                <h3>Additional Details<\/h3>\n                <div class=\"form-row\">\n                    <label for=\"service_code\">Service Code:<\/label>\n                    <input type=\"text\" id=\"service_code\" name=\"service_code\" required>\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"service\">Service:<\/label>\n                    <input type=\"text\" id=\"service\" name=\"service\">\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"booking_date\">Booking Date:<\/label>\n                    <input type=\"date\" id=\"booking_date\" name=\"booking_date\" required>\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"appointment_time\">Appointment Time:<\/label>\n                    <input type=\"time\" id=\"appointment_time\" name=\"appointment_time\" required>\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"served_by\">Served By:<\/label>\n                    <input type=\"text\" id=\"served_by\" name=\"served_by\" value=\"WONG SHEE YEE, LOUIS\" readonly>\n                <\/div>\n            <\/div>\n\n            <!-- Assessment -->\n            <div class=\"form-section\">\n                <h3>Assessment<\/h3>\n                <div class=\"form-row\">\n                    <label for=\"attitude_score\">Attitude Score:<\/label>\n                    <input type=\"number\" id=\"attitude_score\" name=\"attitude_score\" min=\"0\" max=\"100\" required>\n                <\/div>\n                \n                <div class=\"form-row\">\n                    <label for=\"remarks\">Remarks:<\/label>\n                    <textarea id=\"remarks\" name=\"remarks\" rows=\"4\"><\/textarea>\n                <\/div>\n            <\/div>\n\n            <!-- Table Generation -->\n            <div class=\"form-section\">\n                <button type=\"button\" onclick=\"generateTable()\" class=\"generate-button\">Generate Table<\/button>\n                <div id=\"tableContainer\"><\/div>\n            <\/div>\n\n            <button type=\"submit\" class=\"submit-button\">Save & Generate PDF<\/button>\n        <input type=\"hidden\" name=\"trp-form-language\" value=\"hk\"\/><\/form>\n    <\/div>\n    <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","_joinchat":[],"footnotes":""},"class_list":["post-3955","page","type-page","status-publish","hentry","entry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/louisthai.com\/hk\/wp-json\/wp\/v2\/pages\/3955","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/louisthai.com\/hk\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/louisthai.com\/hk\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/louisthai.com\/hk\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/louisthai.com\/hk\/wp-json\/wp\/v2\/comments?post=3955"}],"version-history":[{"count":8,"href":"https:\/\/louisthai.com\/hk\/wp-json\/wp\/v2\/pages\/3955\/revisions"}],"predecessor-version":[{"id":6768,"href":"https:\/\/louisthai.com\/hk\/wp-json\/wp\/v2\/pages\/3955\/revisions\/6768"}],"wp:attachment":[{"href":"https:\/\/louisthai.com\/hk\/wp-json\/wp\/v2\/media?parent=3955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}