From 9cf72b5f0c92d901eed0b30810e4c63718e80fe0 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 3 Dec 2017 16:40:02 +0200 Subject: [PATCH] Clarify cron output --- app/Console/Commands/SendRecurringInvoices.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Console/Commands/SendRecurringInvoices.php b/app/Console/Commands/SendRecurringInvoices.php index c7d32473ee4c..b608a092055d 100644 --- a/app/Console/Commands/SendRecurringInvoices.php +++ b/app/Console/Commands/SendRecurringInvoices.php @@ -116,8 +116,10 @@ class SendRecurringInvoices extends Command try { $invoice = $this->invoiceRepo->createRecurringInvoice($recurInvoice); if ($invoice && ! $invoice->isPaid()) { - $this->info('Sending Invoice'); + $this->info('Not billed - Sending Invoice'); $this->mailer->sendInvoice($invoice); + } elseif ($invoice) { + $this->info('Successfully billed invoice'); } } catch (Exception $exception) { $this->info('Error: ' . $exception->getMessage());