Added DineIn Preference
This commit is contained in:
parent
b92f2fdb80
commit
727f042abe
|
|
@ -94,6 +94,7 @@ const PreferenceList = ({ setting = false }) => {
|
|||
...(allSettingsMap['parking']?.value === 'Y' ? ['parking'] : []),
|
||||
...(allSettingsMap['offer']?.value === 'Y' ? ['offer'] : []),
|
||||
],
|
||||
chairlevel: allSettingsMap['chairlevel']?.value === 'Y',
|
||||
stockselection: allSettingsMap['stockselection']?.value === 'Y',
|
||||
weightasquantity: allSettingsMap['weightasquantity']?.value === 'Y',
|
||||
expiredselection: allSettingsMap['expiredselection']?.value === 'Y',
|
||||
|
|
@ -369,6 +370,7 @@ const PreferenceList = ({ setting = false }) => {
|
|||
searchfocus: values.searchfocus,
|
||||
addproductcard: values.addproductcard,
|
||||
stockselection: values.stockselection,
|
||||
chairlevel: values.chairlevel,
|
||||
weightasquantity: values.weightasquantity,
|
||||
expiredselection: values.expiredselection,
|
||||
'sales mode': values?.['salesmode'],
|
||||
|
|
@ -893,7 +895,7 @@ const userDropData = async () => {
|
|||
</Checkbox.Group>
|
||||
</Form.Item>
|
||||
)}
|
||||
|
||||
{(allSettingsMap['dinein'] !== undefined && dinePreference) && renderCheckbox('chairlevel', 'Enable Dine In Chair Level Serve?')}
|
||||
{renderCheckbox('stockselection', 'Enable stock selection?')}
|
||||
{renderCheckbox('weightasquantity', 'Use Weight as Quantity?')}
|
||||
{renderCheckbox('expiredselection', 'Show product expiry date?')}
|
||||
|
|
|
|||
Loading…
Reference in New Issue