Update Order
This commit is contained in:
parent
8e9c14b860
commit
721235e6fe
@ -424,6 +424,10 @@ func (s *OrderServiceImpl) SplitBill(ctx context.Context, req *models.SplitBillR
|
||||
return nil, fmt.Errorf("failed to split bill: %w", err)
|
||||
}
|
||||
|
||||
if err := s.handleTableReleaseOnPayment(ctx, req.OrderID); err != nil {
|
||||
fmt.Printf("Warning: failed to handle table release for order %s after split bill: %v\n", req.OrderID, err)
|
||||
}
|
||||
|
||||
return response, nil
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user