Merged in feat/SW-1719-strikethrough-rates (pull request #2266)
Feat/SW-1719 strikethrough rates * feat(SW-1719): Strikethrough rate if logged in on regular rate cards * feat(SW-1719): Strikethrough rate if logged in on rate summary * feat(SW-1719): Strikethrough rate if logged in on mobile rate summary * feat(SW-1719): Strikethrough rate if logged in on enter details * feat(SW-1719): Strikethrough rate support for multiple rooms * feat(SW-1719): booking receipt fixes on confirmation page * feat(SW-1719): improve initial total price calculation * feat: harmonize enter details total price to use one and the same function Approved-by: Michael Zetterberg
This commit is contained in:
committed by
Michael Zetterberg
parent
e1ede52014
commit
85acd3453d
@@ -34,13 +34,13 @@ export const Default: Story = {
|
||||
paymentTerm: 'PAY NOW',
|
||||
rate: {
|
||||
label: 'Standard Price',
|
||||
price: '198',
|
||||
unit: 'EUR/NIGHT',
|
||||
price: '1980',
|
||||
unit: 'SEK/NIGHT',
|
||||
},
|
||||
memberRate: {
|
||||
label: 'Member Price',
|
||||
price: '190',
|
||||
unit: 'EUR/NIGHT',
|
||||
price: '1900',
|
||||
unit: 'SEK/NIGHT',
|
||||
},
|
||||
approximateRate: {
|
||||
price: '198',
|
||||
@@ -49,8 +49,8 @@ export const Default: Story = {
|
||||
},
|
||||
omnibusRate: {
|
||||
label: 'Lowest past price (last 30 days)',
|
||||
price: '169',
|
||||
unit: 'EUR',
|
||||
price: '1690',
|
||||
unit: 'SEK/NIGHT',
|
||||
},
|
||||
rateTermDetails: [
|
||||
{
|
||||
@@ -70,13 +70,13 @@ export const Selected: Story = {
|
||||
paymentTerm: 'PAY NOW',
|
||||
rate: {
|
||||
label: 'Standard Price',
|
||||
price: '198',
|
||||
unit: 'EUR/NIGHT',
|
||||
price: '1980',
|
||||
unit: 'SEK/NIGHT',
|
||||
},
|
||||
memberRate: {
|
||||
label: 'Member Price',
|
||||
price: '190',
|
||||
unit: 'EUR/NIGHT',
|
||||
price: '1900',
|
||||
unit: 'SEK/NIGHT',
|
||||
},
|
||||
approximateRate: {
|
||||
price: '198',
|
||||
@@ -92,7 +92,7 @@ export const Selected: Story = {
|
||||
},
|
||||
}
|
||||
|
||||
export const HidePublicRate: Story = {
|
||||
export const MemberRateActive: Story = {
|
||||
args: {
|
||||
name: 'regular',
|
||||
value: 'regular',
|
||||
@@ -100,20 +100,20 @@ export const HidePublicRate: Story = {
|
||||
paymentTerm: 'PAY NOW',
|
||||
rate: {
|
||||
label: 'Standard Price',
|
||||
price: '198',
|
||||
unit: 'EUR/NIGHT',
|
||||
price: '1980',
|
||||
unit: 'SEK',
|
||||
},
|
||||
memberRate: {
|
||||
label: 'Member Price',
|
||||
price: '190',
|
||||
unit: 'EUR/NIGHT',
|
||||
price: '1900',
|
||||
unit: 'SEK/NIGHT',
|
||||
},
|
||||
approximateRate: {
|
||||
price: '198',
|
||||
price: '190',
|
||||
label: 'Approx.',
|
||||
unit: 'EUR',
|
||||
},
|
||||
hidePublicRate: true,
|
||||
isMemberRateActive: true,
|
||||
rateTermDetails: [
|
||||
{
|
||||
title: 'Rate definition 1',
|
||||
|
||||
Reference in New Issue
Block a user