From 91edfa6ef0472506723ca29ae74f0c4c1f6a652a Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Fri, 10 Nov 2023 13:35:49 +0800 Subject: [PATCH] Fix issues found during testing. #773 --- src/Command/SetJobOrderCustNewCommand.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Command/SetJobOrderCustNewCommand.php b/src/Command/SetJobOrderCustNewCommand.php index 1e3c0d7e..8eba6b6b 100644 --- a/src/Command/SetJobOrderCustNewCommand.php +++ b/src/Command/SetJobOrderCustNewCommand.php @@ -46,6 +46,8 @@ class SetJobOrderCustNewCommand extends Command $all_jo_results = $all_query_stmt->fetchAll(); + $output->writeln('Processing job orders...'); + foreach ($all_jo_results as $jo_row) { // for each jo id, get the customer id @@ -60,6 +62,8 @@ class SetJobOrderCustNewCommand extends Command $this->updateCustNew($db, $jo_id); } + $output->writeln('All done!'); + return 0; }