This commit is contained in:
2025-12-13 11:14:18 +03:30
parent 3eb6b889a4
commit c25a5afe01
80 changed files with 440 additions and 190 deletions
+1 -5
View File
@@ -613,11 +613,7 @@ export class CartService {
/**
* Set table number for cart
*/
async setTableNumber(
userId: string,
restaurantId: string,
setTableNumberDto: SetTableNumberDto,
): Promise<Cart> {
async setTableNumber(userId: string, restaurantId: string, setTableNumberDto: SetTableNumberDto): Promise<Cart> {
const cart = await this.findOneOrFail(userId, restaurantId);
// If delivery method is set, validate that table number is required for DineIn