update footer BS height & enhnace custom split bill BS styles

This commit is contained in:
2025-12-28 10:34:13 +03:00
parent b261f3508f
commit 85636630e3
18 changed files with 203 additions and 162 deletions

View File

@@ -74,7 +74,8 @@ interface CartState {
totalServices: number;
hiddenServices: number;
visibleServices: number;
}
fee: number;
}
// localStorage keys
export const CART_STORAGE_KEYS = {
@@ -198,6 +199,7 @@ const initialState: CartState = {
totalServices: 8,
hiddenServices: 0,
visibleServices: 0,
fee: 0,
};
const orderSlice = createSlice({
@@ -209,6 +211,7 @@ const orderSlice = createSlice({
},
updateRestaurant(state, action: PayloadAction<Partial<RestaurantDetails>>) {
state.restaurant = action.payload;
state.fee = Number(action.payload.delivery_fees || 0);
state.visibleServices = [
action.payload.dineIn,
action.payload.delivery,