Clarify cron output

This commit is contained in:
Hillel Coren 2017-12-03 16:40:02 +02:00
parent 8e37d063fa
commit 9cf72b5f0c

View File

@ -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());