revised ui 2

This commit is contained in:
zino
2021-05-17 18:56:49 +02:00
parent fe19226a4c
commit 5a78e909b2
4 changed files with 7 additions and 13 deletions

View File

@@ -1,8 +1,8 @@
import * as XMLHelper from "./xmlhelper";
import { config } from "./config";
import * as I from "../types/types";
import * as UI from "./ui";
import * as Events from "./events";
import * as CartButtons from "./cartButtons";
export function addItem(inSeatObj: I.JSCSelectedSeat): void {
const color: string = `#${XMLHelper.getVenuePricescalePropertyByPricescaleID("color", inSeatObj.data.seatsObj.id[0])}`;
@@ -38,7 +38,7 @@ export function changedDropdownBuyerType(inSelect: HTMLSelectElement, inSeatObj:
config.state.selectedSeatsArr[index][2] = buyerTypeCode;
calcOverallPrice();
UI.setBtnCartText();
CartButtons.setBtnCartText();
const url = XMLHelper.generateCheckoutUrl();
Events.addRedirectCheckout(url);