Update Order

This commit is contained in:
Aditya Siregar 2025-08-08 22:46:55 +07:00
parent 8e9c14b860
commit 721235e6fe

View File

@ -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
}