Merged in fix/refactor-currency-display (pull request #3434)
fix(SW-3616): Handle EuroBonus point type everywhere * Add tests to formatPrice * formatPrice * More work replacing config with api points type * More work replacing config with api points type * More fixing with currency * maybe actually fixed it * Fix MyStay * Clean up * Fix comments * Merge branch 'master' into fix/refactor-currency-display * Fix calculateTotalPrice for EB points + SF points + cash Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { CurrencyEnum } from "@scandic-hotels/common/constants/currency"
|
||||
import type { PointType } from "@scandic-hotels/common/constants/pointType"
|
||||
|
||||
interface TPrice {
|
||||
additionalPrice?: number
|
||||
@@ -6,6 +7,7 @@ interface TPrice {
|
||||
currency: CurrencyEnum
|
||||
price: number
|
||||
regularPrice?: number
|
||||
pointsType?: PointType | null
|
||||
}
|
||||
|
||||
export interface Price {
|
||||
|
||||
@@ -57,7 +57,6 @@ export interface MyStayState {
|
||||
refId: string
|
||||
rooms: Room[]
|
||||
savedCreditCards: CreditCard[] | null
|
||||
totalPoints: number
|
||||
totalPrice: string
|
||||
isPastBooking: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user