{
'dashboard',
'Stay on the Dashboard when you open the app?'
)}
- {renderCheckbox(
- 'shortcutkeys',
- 'Would you like to enable the shortcut keys?'
- )}
{renderCheckbox(
'autoreceivestock',
'Items received from godown. Add to stock Automatically ?'
@@ -483,44 +479,6 @@ const PreferenceList = () => {
'decimal',
'Display values with 2 decimal places throughout the app?'
)}
-
- {((allSettingsMap['dinein'] !== undefined && dinePreference) ||
- allSettingsMap['estimation'] !== undefined) && (
-
-
- {allSettingsMap['dinein'] !== undefined &&
- dinePreference && (
- Dine-In
- )}
- {allSettingsMap['estimation'] !== undefined && (
- Estimation
- )}
-
-
- )}
- {(allSettingsMap['onbilltime'] !== undefined ||
- allSettingsMap['1daybefore'] !== undefined ||
- allSettingsMap['1hourbefore'] !== undefined) && (
-
-
- {allSettingsMap['onbilltime'] !== undefined && (
- On Bill Time
- )}
- {allSettingsMap['1daybefore'] !== undefined && (
- 1 Day Before
- )}
- {allSettingsMap['1hourbefore'] !== undefined && (
- 1 Hour Before
- )}
-
-
- )}
{(allSettingsMap['onlineindividualslots'] !== undefined ||
allSettingsMap['allow individual booking'] !== undefined ||
allSettingsMap['single booking only'] !== undefined) && (
@@ -571,6 +529,26 @@ const PreferenceList = () => {
'notificationblink',
'Do you want to enable the low-stock blink notification?'
)}
+ {(allSettingsMap['onbilltime'] !== undefined ||
+ allSettingsMap['1daybefore'] !== undefined ||
+ allSettingsMap['1hourbefore'] !== undefined) && (
+
+
+ {allSettingsMap['onbilltime'] !== undefined && (
+ On Bill Time
+ )}
+ {allSettingsMap['1daybefore'] !== undefined && (
+ 1 Day Before
+ )}
+ {allSettingsMap['1hourbefore'] !== undefined && (
+ 1 Hour Before
+ )}
+
+
+ )}
{
Sales Page
{renderCheckbox('searchfocus', 'Always focus the search bar?')}
+ {renderCheckbox(
+ 'shortcutkeys',
+ 'Would you like to enable the shortcut keys?'
+ )}
{renderCheckbox(
'addproductcard',
'Would you like to remove Add Product card from sales page ?'
@@ -607,6 +589,23 @@ const PreferenceList = () => {
)}
+ {((allSettingsMap['dinein'] !== undefined && dinePreference) ||
+ allSettingsMap['estimation'] !== undefined) && (
+
+
+ {allSettingsMap['dinein'] !== undefined &&
+ dinePreference && (
+ Dine-In
+ )}
+ {allSettingsMap['estimation'] !== undefined && (
+ Estimation
+ )}
+
+
+ )}
{renderCheckbox('stockselection', 'Enable stock selection?')}
{renderCheckbox('weightasquantity', 'Use Weight as Quantity?')}
@@ -628,6 +627,7 @@ const PreferenceList = () => {
'customisedbillnumber',
'Do you Want Customised Bill Number?'
)}
+ {renderCheckbox('scanlayout', 'Do you Want Scan Layout Page?')}
{renderCheckbox('upiqr', 'Do you want to show the UPI QR code?')}
{/* {renderCheckbox('editbill', 'Do you want to edit the previously created bill?')} */}
@@ -750,7 +750,6 @@ const PreferenceList = () => {
'Do you want to include a header when printing Estimate bills?'
)}
- {renderCheckbox('scanlayout', 'Do you Want Scan Layout Page?')}
label {
+ .ant-form-item-label>label {
font-weight: 500;
color: #000000;
font-size: 16px;
@@ -62,7 +62,7 @@
.submitButton {
position: unset;
- > button {
+ >button {
width: max-content;
bottom: 30px;
}
@@ -83,7 +83,7 @@
.menu-section {
padding: 10px 0;
- > div {
+ >div {
font-family: "Poppins";
font-weight: 400;
font-size: 14px;
@@ -109,15 +109,19 @@
gap: 0;
width: 80%;
}
+
.preferences-list {
max-height: 80vh;
width: 95%;
+
.preference-headers {
font-size: 1rem;
}
- .ant-form-item-label > label {
+
+ .ant-form-item-label>label {
font-size: 14px;
}
+
.ant-checkbox-wrapper {
font-size: 13px;
}
@@ -137,7 +141,7 @@
margin: 0;
text-decoration: underline;
- > div {
+ >div {
font-size: 12px;
margin: 0;
background-color: unset;
@@ -149,13 +153,18 @@
}
}
}
+
.PreferencesBTN {
display: flex;
align-items: flex-start;
justify-content: flex-end;
width: 100%;
margin-top: 1rem;
+ position: fixed;
+ bottom: 1.3rem;
+ right: 2.5rem;
+
.primary_Button {
width: 200px !important;
}
-}
+}
\ No newline at end of file