Added: Alembic for migrations
Moving from Pyramid to FastAPI
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { BehaviorSubject } from 'rxjs';
|
||||
import { Observable } from 'rxjs/internal/Observable';
|
||||
import * as math from 'mathjs';
|
||||
@ -92,7 +92,7 @@ export class BillService {
|
||||
modifiers: []
|
||||
};
|
||||
this.data.push(item);
|
||||
this.modifierCategoryService.listIsActiveOfProduct(product.id).subscribe(result => {
|
||||
this.modifierCategoryService.listForProduct(product.id).subscribe(result => {
|
||||
if (result.reduce((a: any, c: ModifierCategory) => {
|
||||
return a + c.minimum;
|
||||
}, 0)) {
|
||||
@ -111,7 +111,7 @@ export class BillService {
|
||||
top: '10vh'
|
||||
},
|
||||
data: {
|
||||
list: this.modifierCategoryService.listIsActiveOfProduct(item.productId),
|
||||
list: this.modifierCategoryService.listForProduct(item.productId),
|
||||
selected: item.modifiers
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user