payment option global state clear
This commit is contained in:
parent
d5f89327d1
commit
74771745f8
|
|
@ -1325,7 +1325,7 @@ function PaymentOptions() {
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const postData = {};
|
const postData = {};
|
||||||
postData['AppId'] = AppId;
|
postData['AppId'] = AppId;
|
||||||
|
|
@ -1365,6 +1365,7 @@ function PaymentOptions() {
|
||||||
UserId,
|
UserId,
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
dispatch(changeCommonPaymentOptions([]));
|
||||||
console.error('Failed to refresh payment options', err);
|
console.error('Failed to refresh payment options', err);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -1450,7 +1451,7 @@ function PaymentOptions() {
|
||||||
border: '1px solid #d4d4d4',
|
border: '1px solid #d4d4d4',
|
||||||
fontFamily: 'Poppins',
|
fontFamily: 'Poppins',
|
||||||
fontSize: '13px',
|
fontSize: '13px',
|
||||||
width:'150px'
|
width: '150px'
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{getPayAtCounterSalesDropdownOptions().map((opt) => (
|
{getPayAtCounterSalesDropdownOptions().map((opt) => (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue