intorduced smap
This commit is contained in:
@@ -57,15 +57,12 @@ export function injectBookingBtn(): void {
|
||||
"width": "100%"
|
||||
});
|
||||
jQuery("#flash_seat_map_box_id").append(`
|
||||
<div class="row_space"></div>
|
||||
<div class="row_space"></div>
|
||||
<div id="containerBookingBtn">
|
||||
<button type="button" id="openSeatmap">
|
||||
<div>
|
||||
<img src="https://staging.tickets.zinomedia.de/dist/stadium.png">
|
||||
</div>
|
||||
Saalplanbuchung <br/><br/>
|
||||
<span>Suchen Sie Ihren Platz selbst aus</span>
|
||||
</button> <br/>
|
||||
<button type="button" id="foobarParent">foobarParent</button> <br/>
|
||||
<a class="continue" id="openSeatmap">
|
||||
<span>Saalplanbuchung</span>
|
||||
</a>
|
||||
<div id="dialogSeatmap" hidden="hidden"></div>
|
||||
</div>
|
||||
`);
|
||||
|
||||
@@ -35,7 +35,7 @@ export function getEventInfo(inVenueXML: I.VenueXML): I.EventInfo {
|
||||
const eventObj: I.Event = inVenueXML.event[0];
|
||||
const event = inVenueXML.event[0];
|
||||
const venue_config = inVenueXML.venue_config[0];
|
||||
const dateObj: Date = new Date(parseInt(event.year[0]), parseInt(event.month[0])-1, parseInt(event.hour[0]), parseInt(event.minute[0]));
|
||||
const dateObj: Date = new Date(parseInt(event.year[0]), parseInt(event.month[0])-1, parseInt(event.day[0]), parseInt(event.hour[0]), parseInt(event.minute[0]));
|
||||
const start: string[] = [ dateObj.toLocaleString(["de-DE"], { weekday: "long", day: "2-digit", month: "2-digit", year: "numeric", hour: "2-digit", minute: "2-digit", timeZoneName: "short" }) ];
|
||||
const weekday = [ Utils.getDayName(dateObj, "de-DE") ];
|
||||
const seats_available = sectionArr.map(item => parseInt(item.available[0])).reduce((prev, curr) => prev + curr);
|
||||
|
||||
Reference in New Issue
Block a user