From fd920748be3b6ad2bd1e60dd1f873924d2e46122 Mon Sep 17 00:00:00 2001
From: iBNu Maksum
Date: Fri, 6 Dec 2024 15:30:43 +0700
Subject: [PATCH] Urgent Fix registration logic
---
system/lan/english.json | 7 +++-
ui/ui/app-settings.tpl | 15 +++------
ui/ui/customer/register-otp.tpl | 58 +++++++++++++++------------------
ui/ui/customer/register.tpl | 47 ++++++++++++--------------
version.json | 2 +-
5 files changed, 58 insertions(+), 71 deletions(-)
diff --git a/system/lan/english.json b/system/lan/english.json
index 060d9165..d2ea4a1e 100644
--- a/system/lan/english.json
+++ b/system/lan/english.json
@@ -918,5 +918,10 @@
"Email_Address": "Email Address",
"Photo_Required": "Photo Required",
"Customer_Registration_need_to_upload_their_photo": "Customer Registration need to upload their photo",
- "Account_already_exists": "Account already exists"
+ "Account_already_exists": "Account already exists",
+ "Notify_Admin": "Notify Admin",
+ "Notify_Admin_upon_self_registration": "Notify Admin upon self registration",
+ "Registration_Mandatory_Fields": "Registration Mandatory Fields",
+ "Mikrotik_SMS_Command": "Mikrotik SMS Command",
+ "Mandatory_Fields": "Mandatory Fields"
}
\ No newline at end of file
diff --git a/ui/ui/app-settings.tpl b/ui/ui/app-settings.tpl
index 4a002bfd..59f8146e 100644
--- a/ui/ui/app-settings.tpl
+++ b/ui/ui/app-settings.tpl
@@ -385,28 +385,23 @@
-
+
-
-
+
diff --git a/ui/ui/customer/register-otp.tpl b/ui/ui/customer/register-otp.tpl
index 199eca6e..b4993a23 100644
--- a/ui/ui/customer/register-otp.tpl
+++ b/ui/ui/customer/register-otp.tpl
@@ -33,33 +33,27 @@
placeholder="{Lang::T('Verification Code')}" name="otp_code">
{if $_c['photo_register'] == 'yes'}
-
-
-
-
+
+
+
+
{/if}
- {if $_c['man_fields_fname'] neq 'no'}
-
+
- {/if}
- {if $_c['man_fields_address'] neq 'no'}
-
+
- {/if}
- {if $_c['man_fields_address'] neq 'no'}
-
+
- {if $_c['man_fields_custom'] neq 'no'}
{$customFields}
- {/if}
@@ -121,21 +115,21 @@
{if $_c['tawkto'] != ''}
-
-
-
+
+
+
{/if}
-{include file="customer/footer-public.tpl"}
+{include file="customer/footer-public.tpl"}
\ No newline at end of file
diff --git a/ui/ui/customer/register.tpl b/ui/ui/customer/register.tpl
index c34ba622..ec144d0b 100644
--- a/ui/ui/customer/register.tpl
+++ b/ui/ui/customer/register.tpl
@@ -19,57 +19,50 @@
{if $_c['photo_register'] == 'yes'}
-
-
-
-
+
+
+
+
{/if}
- {if $_c['man_fields_fname'] neq 'no'}
-
+
- {/if}
- {if $_c['man_fields_email'] neq 'no'}
-
+
- {/if}
- {if $_c['man_fields_address'] neq 'no'}
-
+
- {/if}
- {if $_c['man_fields_custom'] neq 'no'}
{$customFields}
- {/if}
@@ -108,4 +101,4 @@
-{include file="customer/footer-public.tpl"}
+{include file="customer/footer-public.tpl"}
\ No newline at end of file
diff --git a/version.json b/version.json
index e4060def..82742c92 100644
--- a/version.json
+++ b/version.json
@@ -1,3 +1,3 @@
{
- "version": "2024.12.6"
+ "version": "2024.12.6.1"
}
\ No newline at end of file