From 78d2d749fb9e28246a5d8dd977a6de33d8ebcddb Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 9 Dec 2013 11:38:49 +0200 Subject: [PATCH] Bug fixes --- app/commands/SendRecurringInvoices.php | 69 +++++++++++++++++++ app/controllers/ClientController.php | 7 +- app/controllers/CreditController.php | 9 ++- app/controllers/InvoiceController.php | 40 ++++++++--- app/controllers/PaymentController.php | 9 ++- ...11_05_180133_confide_setup_users_table.php | 6 +- app/libraries/utils.php | 17 +---- app/models/Invoice.php | 5 ++ app/routes.php | 16 ++++- app/start/artisan.php | 2 + app/views/clients/show.blade.php | 31 ++++++--- app/views/header.blade.php | 11 +++ app/views/invoices/edit.blade.php | 48 +++++++++++-- app/views/payments/edit.blade.php | 7 +- 14 files changed, 222 insertions(+), 55 deletions(-) create mode 100755 app/commands/SendRecurringInvoices.php diff --git a/app/commands/SendRecurringInvoices.php b/app/commands/SendRecurringInvoices.php new file mode 100755 index 000000000000..96657aa7e606 --- /dev/null +++ b/app/commands/SendRecurringInvoices.php @@ -0,0 +1,69 @@ +info('Running SendRecurringInvoices...'); + + $this->info('Done'); + } + + /** + * Get the console command arguments. + * + * @return array + */ + protected function getArguments() + { + return array( + //array('example', InputArgument::REQUIRED, 'An example argument.'), + ); + } + + /** + * Get the console command options. + * + * @return array + */ + protected function getOptions() + { + return array( + //array('example', null, InputOption::VALUE_OPTIONAL, 'An example option.', null), + ); + } + +} \ No newline at end of file diff --git a/app/controllers/ClientController.php b/app/controllers/ClientController.php index 5473ee8a5326..6fe3133cf378 100755 --- a/app/controllers/ClientController.php +++ b/app/controllers/ClientController.php @@ -44,8 +44,11 @@ class ClientController extends \BaseController { Select