{"id":7318,"date":"2025-02-16T17:17:33","date_gmt":"2025-02-16T17:17:33","guid":{"rendered":"https:\/\/myenglish360.com\/sales-portal\/"},"modified":"2025-02-16T17:17:33","modified_gmt":"2025-02-16T17:17:33","slug":"sales-portal","status":"publish","type":"page","link":"https:\/\/myenglish360.com\/en\/sales-portal\/","title":{"rendered":"Sales Portal"},"content":{"rendered":"<style>\n\/* Wrapper to center the form vertically and horizontally *\/\n.credimax-page-wrapper {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    min-height: 100vh;\n}\n\n\/* Modern UI styling for the form container *\/\n.credimax-form-container {\n    max-width: 600px;\n    width: 100%;\n    margin: 1rem;\n    padding: 1.5rem;\n    background: #ffffff;\n    border-radius: 8px;\n    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);\n    font-family: sans-serif;\n    direction: ltr;\n    text-align: left;\n}\n\n.credimax-form-container h2 {\n    text-align: center;\n    margin-bottom: 1.5rem;\n    font-size: 1.75rem;\n    color: #333;\n}\n\n.credimax-form-group {\n    margin-bottom: 1rem;\n}\n\n.credimax-form-group label {\n    display: block;\n    margin-bottom: 0.5rem;\n    font-weight: 600;\n    color: #555;\n}\n\n.credimax-form-group input[type=\"text\"],\n.credimax-form-group input[type=\"password\"],\n.credimax-form-group input[type=\"number\"],\n.credimax-form-group textarea {\n    width: 100%;\n    padding: 0.75rem;\n    border: 1px solid #ccc;\n    border-radius: 4px;\n    font-size: 1rem;\n    transition: border-color 0.3s ease;\n}\n\n.credimax-form-group input:focus,\n.credimax-form-group textarea:focus {\n    outline: none;\n    border-color: #0073aa;\n    box-shadow: 0 0 4px rgba(0, 115, 170, 0.3);\n}\n\n.credimax-form-submit {\n    text-align: center;\n    margin-top: 1.5rem;\n}\n\n.credimax-form-submit button {\n    background: #0073aa;\n    color: #fff;\n    border: none;\n    padding: 0.75rem 1.5rem;\n    font-size: 1rem;\n    border-radius: 4px;\n    cursor: pointer;\n    transition: background 0.3s ease;\n}\n\n.credimax-form-submit button:hover {\n    background: #005a8d;\n}\n\n.credimax-success,\n.credimax-error {\n    text-align: center;\n    padding: 1rem;\n    border-radius: 4px;\n    margin-bottom: 1rem;\n}\n\n.credimax-success {\n    background: #dff0d8;\n    color: #3c763d;\n}\n\n.credimax-error {\n    background: #f2dede;\n    color: #a94442;\n}\n<\/style>\n\n<div class=\"credimax-page-wrapper\">\n    <div class=\"credimax-form-container\">\n        <h2>Create Payment Link<\/h2>\n                        <form method=\"post\">\n            <input type=\"hidden\" id=\"credimax_create_link_nonce\" name=\"credimax_create_link_nonce\" value=\"8a8a999335\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/en\/wp-json\/wp\/v2\/pages\/7318\" \/>\n                        <div class=\"credimax-form-group\">\n                <label for=\"sales_portal_password\"><strong>Portal Password:<\/strong><\/label>\n                <input type=\"password\" name=\"sales_portal_password\" id=\"sales_portal_password\"\n                    placeholder=\"Enter Portal Password\">\n            <\/div>\n            \n            <div class=\"credimax-form-group\">\n                <label for=\"customer_name\"><strong>Name (Payment Title):<\/strong><\/label>\n                <input type=\"text\" name=\"customer_name\" id=\"customer_name\"\n                    value=\"\"\n                    required>\n            <\/div>\n\n            <div class=\"credimax-form-group\">\n                <label for=\"payment_amount\"><strong>Amount:<\/strong><\/label>\n                <input type=\"number\" step=\"0.001\" name=\"payment_amount\" id=\"payment_amount\"\n                    value=\"\"\n                    required>\n            <\/div>\n\n            <div class=\"credimax-form-group\">\n                <label for=\"payment_currency\"><strong>Currency:<\/strong><\/label>\n                <input type=\"text\" name=\"payment_currency\" id=\"payment_currency\" placeholder=\"BHD\"\n                    value=\"\">\n                <small>Leave blank to use default currency.<\/small>\n            <\/div>\n\n            <div class=\"credimax-form-group\">\n                <label for=\"payment_description\"><strong>Description:<\/strong><\/label>\n                <textarea name=\"payment_description\" id=\"payment_description\"\n                    rows=\"4\"><\/textarea>\n            <\/div>\n\n            <div class=\"credimax-form-submit\">\n                <button type=\"submit\">Create Payment Link<\/button>\n            <\/div>\n        <\/form>\n    <\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-7318","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/myenglish360.com\/en\/wp-json\/wp\/v2\/pages\/7318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myenglish360.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/myenglish360.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/myenglish360.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myenglish360.com\/en\/wp-json\/wp\/v2\/comments?post=7318"}],"version-history":[{"count":0,"href":"https:\/\/myenglish360.com\/en\/wp-json\/wp\/v2\/pages\/7318\/revisions"}],"wp:attachment":[{"href":"https:\/\/myenglish360.com\/en\/wp-json\/wp\/v2\/media?parent=7318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}