tickera-angular-components 0.0.1-dev.59 → 0.0.1-dev.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3250,10 +3250,14 @@ class TicketSelectionTotalsService {
|
|
|
3250
3250
|
productSubtotal = computed(() => {
|
|
3251
3251
|
let total = 0;
|
|
3252
3252
|
const products = this.selectionService.products();
|
|
3253
|
+
console.log('products', products);
|
|
3254
|
+
console.log('this.selectionService.productQuantities()', this.selectionService.productQuantities());
|
|
3253
3255
|
this.selectionService.productQuantities().forEach((quantity, id) => {
|
|
3254
3256
|
if (quantity > 0) {
|
|
3255
3257
|
const product = products.find((p) => p.id === id);
|
|
3258
|
+
console.log('product', product);
|
|
3256
3259
|
if (product) {
|
|
3260
|
+
console.log('product.price', product.price);
|
|
3257
3261
|
total += product.price * quantity;
|
|
3258
3262
|
}
|
|
3259
3263
|
}
|