Merge pull request 'FIX #149 Redirect name issue' (#150) from ExtendIntegration into main

Reviewed-on: Pozomind/pozo-retail-app#150
This commit is contained in:
karthikalakshmi 2026-02-16 18:21:23 +05:30
commit 0d164b8686
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ const PlanExpireNotification = () => {
const res = await dispatch(PublicQrCodepost(postData)).unwrap();
// navigate(`${commonDirectory}invoice-details`);
if (res?.data?.statusCode == 1) {
navigate(`${commonDirectory}invoice-details/${res?.data?.ReferenceNo}`);
navigate(`${commonDirectory}invoice-detail/${res?.data?.ReferenceNo}`);
setExtendModel(false);
}
} catch (error) {

View File

@ -113,7 +113,7 @@ const ExtendSubscriptionModal = ({
const res = await dispatch(PublicQrCodepost(postData)).unwrap();
// navigate(`${commonDirectory}invoice-details`);
if (res?.data?.statusCode == 1) {
navigate(`${commonDirectory}invoice-details/${res?.data?.ReferenceNo}`);
navigate(`${commonDirectory}invoice-detail/${res?.data?.ReferenceNo}`);
setExtendModel(false)
}