fixed missing cents in price generation, cleaned seatmap css
This commit is contained in:
@@ -27,15 +27,9 @@ div.seatCharts-seat {
|
||||
border-radius: 0.2vw;
|
||||
}
|
||||
|
||||
/* div.seatCharts-seat,
|
||||
div.seatCharts-seat.available {
|
||||
border: 0.1rem solid #5c5c5c;
|
||||
} */
|
||||
|
||||
div.seatCharts-seat.selected,
|
||||
div.seatCharts-seat.focused {
|
||||
border: 0.1vw solid black;
|
||||
/* filter: brightness(2); */
|
||||
}
|
||||
|
||||
div.seatCharts-seat.selected {
|
||||
@@ -50,10 +44,6 @@ select#dropdownSeatmap {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* #loftloader-wrapper .loader-inner {
|
||||
top: 50%;
|
||||
} */
|
||||
|
||||
ul.seatCharts-legendList {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
@@ -145,12 +135,6 @@ select#dropdownLegend, select#dropdownSeatmap, .dropdownBuyerTypes {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/* .cartItemCross {
|
||||
text-align: right;
|
||||
line-height: 0;
|
||||
cursor: pointer;
|
||||
} */
|
||||
|
||||
#modalCart-overlay .uabb-overlay {
|
||||
background: white;
|
||||
}
|
||||
@@ -180,6 +164,49 @@ span.trimChar {
|
||||
font-size: 1vw;
|
||||
}
|
||||
|
||||
#btnCloseModal {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#htmlSeatmapInner {
|
||||
height: 66vh;
|
||||
}
|
||||
|
||||
#htmlSeatmapInner .fl-module-content, #htmlSeatmapInner .fl-html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#containerSeatmapInner {
|
||||
border: 1px solid black;
|
||||
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
|
||||
}
|
||||
|
||||
#modalCart-overlay {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
#bottomHTML {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#bottomHTML h6, #bottomHTML a {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
#modalCartImportantNote {
|
||||
margin: 0 0 20px 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#modalCart-overlay .uabb-modal {
|
||||
pointer-events: auto;
|
||||
width: 100% !important;
|
||||
height: 100%;
|
||||
overflow-y: scroll;
|
||||
top: 0 !important;
|
||||
transform: none !important;
|
||||
}
|
||||
|
||||
/**
|
||||
* ==============================================
|
||||
* Dot Pulse
|
||||
@@ -259,48 +286,4 @@ span.trimChar {
|
||||
100% {
|
||||
box-shadow: 10014px 0 0 -5px #5c5c5c;
|
||||
}
|
||||
}
|
||||
|
||||
#btnCloseModal {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#htmlSeatmapInner {
|
||||
/* background: grey; */
|
||||
height: 66vh;
|
||||
}
|
||||
|
||||
#htmlSeatmapInner .fl-module-content, #htmlSeatmapInner .fl-html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#containerSeatmapInner {
|
||||
border: 1px solid black;
|
||||
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
|
||||
}
|
||||
|
||||
#modalCart-overlay {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
#bottomHTML {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#bottomHTML h6, #bottomHTML a {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
#modalCartImportantNote {
|
||||
margin: 0 0 20px 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#modalCart-overlay .uabb-modal {
|
||||
pointer-events: auto;
|
||||
width: 100% !important;
|
||||
height: 100%;
|
||||
overflow-y: scroll;
|
||||
top: 0 !important;
|
||||
transform: none !important;
|
||||
}
|
||||
@@ -85,7 +85,7 @@ export function generateCheckoutUrl(): string | undefined {
|
||||
}
|
||||
|
||||
export function getPriceInEur(inPrice: string): string {
|
||||
const price: number = parseInt(inPrice);
|
||||
const price: number = parseFloat(inPrice);
|
||||
return new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' }).format(price);
|
||||
}
|
||||
|
||||
|
||||
@@ -12,13 +12,7 @@ function createCartBtnText(): string {
|
||||
|
||||
function createModalCartBtnText(): string {
|
||||
const numTickets: number = config.state.selectedSeatsArr.length;
|
||||
|
||||
return `Summe (${numTickets} Plätze) ${config.state.priceOverallEur}`;
|
||||
|
||||
// if (config.state.priceOverall !== "")
|
||||
// return `Summe (${numTickets} Plätze) €${config.state.priceOverall}`;
|
||||
// else
|
||||
// return `Summe (0 Plätze) €0,00`;
|
||||
}
|
||||
|
||||
export function showHideBtnCartLoading(inSwitch: string): void {
|
||||
|
||||
Reference in New Issue
Block a user