Preference align set
This commit is contained in:
parent
f921449432
commit
f69788cde1
|
|
@ -471,10 +471,6 @@ const PreferenceList = () => {
|
||||||
'dashboard',
|
'dashboard',
|
||||||
'Stay on the Dashboard when you open the app?'
|
'Stay on the Dashboard when you open the app?'
|
||||||
)}
|
)}
|
||||||
{renderCheckbox(
|
|
||||||
'shortcutkeys',
|
|
||||||
'Would you like to enable the shortcut keys?'
|
|
||||||
)}
|
|
||||||
{renderCheckbox(
|
{renderCheckbox(
|
||||||
'autoreceivestock',
|
'autoreceivestock',
|
||||||
'Items received from godown. Add to stock Automatically ?'
|
'Items received from godown. Add to stock Automatically ?'
|
||||||
|
|
@ -483,44 +479,6 @@ const PreferenceList = () => {
|
||||||
'decimal',
|
'decimal',
|
||||||
'Display values with 2 decimal places throughout the app?'
|
'Display values with 2 decimal places throughout the app?'
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{((allSettingsMap['dinein'] !== undefined && dinePreference) ||
|
|
||||||
allSettingsMap['estimation'] !== undefined) && (
|
|
||||||
<Form.Item
|
|
||||||
name="enabledModules"
|
|
||||||
label="Select the modules you want to enable:"
|
|
||||||
>
|
|
||||||
<Checkbox.Group>
|
|
||||||
{allSettingsMap['dinein'] !== undefined &&
|
|
||||||
dinePreference && (
|
|
||||||
<Checkbox value="dinein">Dine-In</Checkbox>
|
|
||||||
)}
|
|
||||||
{allSettingsMap['estimation'] !== undefined && (
|
|
||||||
<Checkbox value="estimation">Estimation</Checkbox>
|
|
||||||
)}
|
|
||||||
</Checkbox.Group>
|
|
||||||
</Form.Item>
|
|
||||||
)}
|
|
||||||
{(allSettingsMap['onbilltime'] !== undefined ||
|
|
||||||
allSettingsMap['1daybefore'] !== undefined ||
|
|
||||||
allSettingsMap['1hourbefore'] !== undefined) && (
|
|
||||||
<Form.Item
|
|
||||||
name="notification"
|
|
||||||
label="Choose notification timing:"
|
|
||||||
>
|
|
||||||
<Checkbox.Group>
|
|
||||||
{allSettingsMap['onbilltime'] !== undefined && (
|
|
||||||
<Checkbox value="onbilltime">On Bill Time</Checkbox>
|
|
||||||
)}
|
|
||||||
{allSettingsMap['1daybefore'] !== undefined && (
|
|
||||||
<Checkbox value="1daybefore">1 Day Before</Checkbox>
|
|
||||||
)}
|
|
||||||
{allSettingsMap['1hourbefore'] !== undefined && (
|
|
||||||
<Checkbox value="1hourbefore">1 Hour Before</Checkbox>
|
|
||||||
)}
|
|
||||||
</Checkbox.Group>
|
|
||||||
</Form.Item>
|
|
||||||
)}
|
|
||||||
{(allSettingsMap['onlineindividualslots'] !== undefined ||
|
{(allSettingsMap['onlineindividualslots'] !== undefined ||
|
||||||
allSettingsMap['allow individual booking'] !== undefined ||
|
allSettingsMap['allow individual booking'] !== undefined ||
|
||||||
allSettingsMap['single booking only'] !== undefined) && (
|
allSettingsMap['single booking only'] !== undefined) && (
|
||||||
|
|
@ -571,6 +529,26 @@ const PreferenceList = () => {
|
||||||
'notificationblink',
|
'notificationblink',
|
||||||
'Do you want to enable the low-stock blink notification?'
|
'Do you want to enable the low-stock blink notification?'
|
||||||
)}
|
)}
|
||||||
|
{(allSettingsMap['onbilltime'] !== undefined ||
|
||||||
|
allSettingsMap['1daybefore'] !== undefined ||
|
||||||
|
allSettingsMap['1hourbefore'] !== undefined) && (
|
||||||
|
<Form.Item
|
||||||
|
name="notification"
|
||||||
|
label="Choose notification timing:"
|
||||||
|
>
|
||||||
|
<Checkbox.Group>
|
||||||
|
{allSettingsMap['onbilltime'] !== undefined && (
|
||||||
|
<Checkbox value="onbilltime">On Bill Time</Checkbox>
|
||||||
|
)}
|
||||||
|
{allSettingsMap['1daybefore'] !== undefined && (
|
||||||
|
<Checkbox value="1daybefore">1 Day Before</Checkbox>
|
||||||
|
)}
|
||||||
|
{allSettingsMap['1hourbefore'] !== undefined && (
|
||||||
|
<Checkbox value="1hourbefore">1 Hour Before</Checkbox>
|
||||||
|
)}
|
||||||
|
</Checkbox.Group>
|
||||||
|
</Form.Item>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
|
@ -586,6 +564,10 @@ const PreferenceList = () => {
|
||||||
Sales Page
|
Sales Page
|
||||||
</div>
|
</div>
|
||||||
{renderCheckbox('searchfocus', 'Always focus the search bar?')}
|
{renderCheckbox('searchfocus', 'Always focus the search bar?')}
|
||||||
|
{renderCheckbox(
|
||||||
|
'shortcutkeys',
|
||||||
|
'Would you like to enable the shortcut keys?'
|
||||||
|
)}
|
||||||
{renderCheckbox(
|
{renderCheckbox(
|
||||||
'addproductcard',
|
'addproductcard',
|
||||||
'Would you like to remove Add Product card from sales page ?'
|
'Would you like to remove Add Product card from sales page ?'
|
||||||
|
|
@ -607,6 +589,23 @@ const PreferenceList = () => {
|
||||||
</Checkbox.Group>
|
</Checkbox.Group>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
)}
|
)}
|
||||||
|
{((allSettingsMap['dinein'] !== undefined && dinePreference) ||
|
||||||
|
allSettingsMap['estimation'] !== undefined) && (
|
||||||
|
<Form.Item
|
||||||
|
name="enabledModules"
|
||||||
|
label="Select the modules you want to enable:"
|
||||||
|
>
|
||||||
|
<Checkbox.Group>
|
||||||
|
{allSettingsMap['dinein'] !== undefined &&
|
||||||
|
dinePreference && (
|
||||||
|
<Checkbox value="dinein">Dine-In</Checkbox>
|
||||||
|
)}
|
||||||
|
{allSettingsMap['estimation'] !== undefined && (
|
||||||
|
<Checkbox value="estimation">Estimation</Checkbox>
|
||||||
|
)}
|
||||||
|
</Checkbox.Group>
|
||||||
|
</Form.Item>
|
||||||
|
)}
|
||||||
|
|
||||||
{renderCheckbox('stockselection', 'Enable stock selection?')}
|
{renderCheckbox('stockselection', 'Enable stock selection?')}
|
||||||
{renderCheckbox('weightasquantity', 'Use Weight as Quantity?')}
|
{renderCheckbox('weightasquantity', 'Use Weight as Quantity?')}
|
||||||
|
|
@ -628,6 +627,7 @@ const PreferenceList = () => {
|
||||||
'customisedbillnumber',
|
'customisedbillnumber',
|
||||||
'Do you Want Customised Bill Number?'
|
'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('upiqr', 'Do you want to show the UPI QR code?')}
|
||||||
{/* {renderCheckbox('editbill', 'Do you want to edit the previously created bill?')} */}
|
{/* {renderCheckbox('editbill', 'Do you want to edit the previously created bill?')} */}
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -750,7 +750,6 @@ const PreferenceList = () => {
|
||||||
'Do you want to include a header when printing Estimate bills?'
|
'Do you want to include a header when printing Estimate bills?'
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{renderCheckbox('scanlayout', 'Do you Want Scan Layout Page?')}
|
|
||||||
</div>
|
</div>
|
||||||
<div className="PreferencesBTN">
|
<div className="PreferencesBTN">
|
||||||
<Buttons
|
<Buttons
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue