diff --git a/app/controllers/InvoiceController.php b/app/controllers/InvoiceController.php index 7117a797e0..0a93c4bf81 100755 --- a/app/controllers/InvoiceController.php +++ b/app/controllers/InvoiceController.php @@ -388,10 +388,11 @@ class InvoiceController extends \BaseController { $invoice = Invoice::with('invoice_items')->scope($publicId)->firstOrFail(); $clone = Invoice::createNew(); - foreach (['client_id', 'discount', 'invoice_date', 'due_date', 'is_recurring', 'frequency_id', 'start_date', 'end_date', 'terms'] as $field) + $clone->balance = $invoice->amount; + foreach (['client_id', 'discount', 'invoice_date', 'due_date', 'is_recurring', 'frequency_id', 'start_date', 'end_date', 'terms', 'public_notes', 'invoice_design_id', 'tax_name', 'tax_rate', 'amount'] as $field) { $clone->$field = $invoice->$field; - } + } if (!$clone->is_recurring) { diff --git a/app/routes.php b/app/routes.php index 3b79be97f8..6dd40fcea0 100755 --- a/app/routes.php +++ b/app/routes.php @@ -159,7 +159,15 @@ HTML::macro('image_data', function($imagePath) { HTML::macro('breadcrumbs', function() { $str = '