diff --git a/Hotel-booking-App/src/HotelBookApp.css b/Hotel-booking-App/src/HotelBookApp.css index c156db5..bbc5cfe 100644 --- a/Hotel-booking-App/src/HotelBookApp.css +++ b/Hotel-booking-App/src/HotelBookApp.css @@ -352,6 +352,11 @@ padding-right: 3px; } +.e-arrow-styler { + font-size: 20px; + padding-right: 3px; +} + .e-price-info { text-align: right; } @@ -494,8 +499,17 @@ padding-left: 0px; } -.e-chip.e-info { +.e-chip.e-disabled.e-info { margin: 6px 6px 0px 0px; + background: #ecfeff !important; + border-color: #cffafe !important; + color: #0e7490 !important; +} + +.e-chip.e-disabled.e-success { + background: #f0fdf4 !important; + border-color: #bbf7d0 !important; + color: #15803d !important; } @import '../node_modules/@syncfusion/ej2-base/styles/tailwind3.css'; diff --git a/Hotel-booking-App/src/HotelBookApp.js b/Hotel-booking-App/src/HotelBookApp.js index b88d0c2..79cadd6 100644 --- a/Hotel-booking-App/src/HotelBookApp.js +++ b/Hotel-booking-App/src/HotelBookApp.js @@ -252,7 +252,7 @@ function HotelBookApp() { priceCollectionData.current = priceCollection; lineThroughPriceText.current.innerText = '$' + price.toFixed(2); taxedPriceText.current.innerText = '$' + priceCollection.TaxedPrice; - priceStatementText.current.innerHTML = 'includes ' + selectedRoom.DiscountPercentage + '% discount (-$' + priceCollection.DiscountAmount + ') and ' + selectedRoom.TaxPercentage + '% tax (+$' + priceCollection.TaxAmount + ')'; + priceStatementText.current.innerHTML = 'Includes ' + selectedRoom.DiscountPercentage + '% discount (-$' + priceCollection.DiscountAmount + ') and ' + selectedRoom.TaxPercentage + '% tax (+$' + priceCollection.TaxAmount + ')'; } // This method calls for navigate the user to booking page and rendering the input field with form validator @@ -409,7 +409,7 @@ function HotelBookApp() { {hotelFacilityList.map((item, index) => ( - + ))} @@ -419,7 +419,7 @@ function HotelBookApp() { {roomFacilityList.map((item, index) => ( - + ))} @@ -435,7 +435,7 @@ function HotelBookApp() { {extrasList.map((item, index) => ( - + ))} @@ -444,10 +444,11 @@ function HotelBookApp() {
${props.Price.toFixed(2)} + ${priceCollection.TaxedPrice}
- includes {props.DiscountPercentage}% discount (-${priceCollection.DiscountAmount}) and {props.TaxPercentage}% tax (+${priceCollection.TaxAmount}) + Includes {props.DiscountPercentage}% discount (-${priceCollection.DiscountAmount}) and {props.TaxPercentage}% tax (+${priceCollection.TaxAmount})
@@ -970,6 +971,7 @@ function HotelBookApp() {
lineThroughPriceText.current = e}> + taxedPriceText.current = e}>
priceStatementText.current = e}>
@@ -991,7 +993,7 @@ function HotelBookApp() { {selectedRoom.HotelFacility.split(', ').map((item, index) => ( - + ))} @@ -1001,7 +1003,7 @@ function HotelBookApp() { {selectedRoom.RoomFacility.split(', ').map((item, index) => ( - + ))}