diff --git a/Trenser.VehicleServiceSystem/Trenser.VehicleServiceSystem/views/MenuHelper.h b/Trenser.VehicleServiceSystem/Trenser.VehicleServiceSystem/views/MenuHelper.h index 372b003..83720c0 100644 --- a/Trenser.VehicleServiceSystem/Trenser.VehicleServiceSystem/views/MenuHelper.h +++ b/Trenser.VehicleServiceSystem/Trenser.VehicleServiceSystem/views/MenuHelper.h @@ -736,7 +736,7 @@ inline std::string selectJobCardToUpdate(util::Map& util::Map incompleteJobCards; if (assignedJobCards.getSize() == 0) { - std::cout << "No jobs available.\n\n"; + std::cout << "\nNo jobs available.\n\n"; return ""; } int currentIndex = 1; @@ -744,12 +744,12 @@ inline std::string selectJobCardToUpdate(util::Map& if (selectedJobStatusType == util::ServiceJobStatus::STARTED) { util::clear(); - std::cout << "Select a job to update to Inprogress\n"; + std::cout << "Select a job to mark as In Progress\n"; } else if (selectedJobStatusType == util::ServiceJobStatus::IN_PROGRESS) { util::clear(); - std::cout << "Select a job to update to Completed\n"; + std::cout << "Select a job to mark as Completed\n"; } else { @@ -780,7 +780,7 @@ inline std::string selectJobCardToUpdate(util::Map& incompleteJobCards.insert(currentIndex++, currentJobCard); } } - std::cout << "Select the Job Card to Update (Index): "; + std::cout << "Enter the job index to update: "; util::read(choice); int selectedJobCardIndex = incompleteJobCards.find(choice); if (selectedJobCardIndex != -1) diff --git a/Trenser.VehicleServiceSystem/Trenser.VehicleServiceSystem/views/TechnicianMenu.cpp b/Trenser.VehicleServiceSystem/Trenser.VehicleServiceSystem/views/TechnicianMenu.cpp index 5d125cc..8ff3e12 100644 --- a/Trenser.VehicleServiceSystem/Trenser.VehicleServiceSystem/views/TechnicianMenu.cpp +++ b/Trenser.VehicleServiceSystem/Trenser.VehicleServiceSystem/views/TechnicianMenu.cpp @@ -121,7 +121,7 @@ void TechnicianMenu::updateJobStatus() std::string selectedJobID; util::ServiceJobStatus selectedJobStatus = util::ServiceJobStatus::PENDING; util::Map assignedJobCards = m_controller.getJobCardsByUser(); - std::cout << "Select the type of job you want to update\n1.Started\n2.Inprogress\nChoice: "; + std::cout << "Select the type of job you want to update:\n1.Started\n2.In Progress\nChoice: "; util::read(choice); if (choice == 1) {