Merge pull request 'Fix #286 Plan Expire not open issue' (#287) from March-3-deployment into main

Reviewed-on: Pozomind/pozo-retail-app#287
This commit is contained in:
karthikalakshmi 2026-03-19 09:38:51 +05:30
commit d5f4bacc9f
1 changed files with 9 additions and 1 deletions

View File

@ -749,7 +749,6 @@ export const UserDataBasedOnBranchId = createAsyncThunk(
export const getPreferenceData = createAsyncThunk( export const getPreferenceData = createAsyncThunk(
'BookingData/getPreferenceData', 'BookingData/getPreferenceData',
async ({ CompId, BranchId, AppId, UserId }) => { async ({ CompId, BranchId, AppId, UserId }) => {
// debugger
if ( if (
CompId != null && CompId != null &&
CompId != undefined && CompId != undefined &&
@ -2161,6 +2160,15 @@ const BookingData = createSlice({
state.getmultipleSearchDatas = []; state.getmultipleSearchDatas = [];
} }
}); });
builder.addCase(getAppSubscriptionDate.fulfilled, (state, action) => {
if (action?.payload?.data?.statusCode === 1) {
state.AppExpDateData =
action?.payload?.data?.data?.[0]|| {};
} else {
state.AppExpDateData = {};
}
});
}, },
}); });