Website Summary Files Commits Branches @commit @diff @stats
path: root / src / VenueConsoleUI.cpp
diff options
context:
space:
mode:
Commit25203c91f6cf4ec6928331d08106c499388544f8 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 15:34:07 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 15:34:07 +0300
Files63537e76e9e02d120dd369d41e7fe153ce3d0434 /src/VenueConsoleUI.cpp
FMI-OOP-P1_TicketSystem-25203c91f6cf4ec6928331d08106c499388544f8.tar
FMI-OOP-P1_TicketSystem-25203c91f6cf4ec6928331d08106c499388544f8.tar.gz
FMI-OOP-P1_TicketSystem-25203c91f6cf4ec6928331d08106c499388544f8.zip
Parentd17938181b6cc1cbf2b76c2e9dd47cc7136d269e (diff)
Autocommit at 05.05.2022 @ 15:34
1 files changed, 2 insertions, 2 deletions
-rw-r--r--src/VenueConsoleUI.cpp4
diff --git a/src/VenueConsoleUI.cpp b/src/VenueConsoleUI.cpp
index b3bdc11..6ab494b 100644
--- a/src/VenueConsoleUI.cpp
+++ b/src/VenueConsoleUI.cpp
@@ -41,8 +41,8 @@ void command_freeSeats() {
inputLineBox("Enter event name: ", name, MAX_LINE_WIDTH);
DateTime dt;
inputBox("Enter event date and time: ", &dt);
- printSuccess("Number of free seats: ");
- print()
+ print("Number of free seats: ");
+ printLine(v->get_es().queryFreeSeats(name, dt));
}
void command_reserveTicket() {