diff --git a/modules/ppcp-button/resources/js/modules/Entity/BookingProduct.js b/modules/ppcp-button/resources/js/modules/Entity/BookingProduct.js index 36e16a4cd..4245bcb6c 100644 --- a/modules/ppcp-button/resources/js/modules/Entity/BookingProduct.js +++ b/modules/ppcp-button/resources/js/modules/Entity/BookingProduct.js @@ -3,16 +3,14 @@ import Product from "./Product"; class BookingProduct extends Product { constructor(id, quantity, booking, extra) { - super(id, quantity, null); + super(id, quantity, null, extra); this.booking = booking; - this.extra = extra; } data() { return { ...super.data(), - booking: this.booking, - extra: this.extra + booking: this.booking } } }