Merge pull request 'preference fix' (#225) from item-wise-limit-added into main
Reviewed-on: Pozomind/pozo-retail-app#225
This commit is contained in:
commit
57cb7e57d8
|
|
@ -120,7 +120,7 @@ const PreferenceList = () => {
|
|||
],
|
||||
scanlayout: allSettingsMap['scanlayout']?.value === 'Y',
|
||||
verifyproduct: allSettingsMap['verifyproduct']?.value === 'Y',
|
||||
imeidetails:allSettingsMap['imeidetails']?.value === 'Y',
|
||||
imeidetails: allSettingsMap['imeidetails']?.value === 'Y',
|
||||
customisedbillnumber: allSettingsMap['customisedbillnumber']?.value === 'Y',
|
||||
upiqr: allSettingsMap['upiqr']?.value === 'Y',
|
||||
lowstockreport: allSettingsMap['lowstockreport']?.value === 'Y',
|
||||
|
|
@ -325,7 +325,7 @@ const PreferenceList = () => {
|
|||
mobilea4: values.mobilea4,
|
||||
scanlayout: values.scanlayout,
|
||||
verifyproduct: values.verifyproduct,
|
||||
imeidetails:values.imeidetails,
|
||||
imeidetails: values.imeidetails,
|
||||
customisedbillnumber: values.customisedbillnumber,
|
||||
upiqr: values.upiqr,
|
||||
lowstockreport: values.lowstockreport,
|
||||
|
|
@ -555,8 +555,12 @@ const PreferenceList = () => {
|
|||
<>
|
||||
<Form.Item name="kiosktimelimittype" label="How would you like to apply the time restriction?">
|
||||
<Radio.Group onChange={() => formRef.current?.setFieldsValue({ maxtime: undefined })}>
|
||||
{allSettingsMap['minutes'] !== undefined && (
|
||||
<Radio value="minutes">Minutes</Radio>
|
||||
)}
|
||||
{allSettingsMap['hours'] !== undefined && (
|
||||
<Radio value="hours">Hours</Radio>
|
||||
)}
|
||||
</Radio.Group>
|
||||
</Form.Item>
|
||||
|
||||
|
|
@ -745,8 +749,12 @@ const PreferenceList = () => {
|
|||
<>
|
||||
<Form.Item name="quantityrestrictiontype" label="How would you like to apply the quantity restriction?">
|
||||
<Radio.Group onChange={() => formRef.current?.setFieldsValue({ maxquantity: undefined })}>
|
||||
{allSettingsMap['overalllimit'] !== undefined && (
|
||||
<Radio value="overall">Overall Order Quantity</Radio>
|
||||
)}
|
||||
{allSettingsMap['itemwiselimit'] !== undefined && (
|
||||
<Radio value="itemwise">Item-wise Quantity</Radio>
|
||||
)}
|
||||
</Radio.Group>
|
||||
</Form.Item>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue