From 60e923217d7ec38828811075746aadbfac0ca33b Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 14 May 2017 20:22:26 +0300 Subject: [PATCH] Fix for invoicing tasks --- resources/views/invoices/edit.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/invoices/edit.blade.php b/resources/views/invoices/edit.blade.php index 97505d1bcf31..721dfa056a4e 100644 --- a/resources/views/invoices/edit.blade.php +++ b/resources/views/invoices/edit.blade.php @@ -909,7 +909,7 @@ @if (isset($tasks) && $tasks) // move the blank invoice line item to the end var blank = model.invoice().invoice_items.pop(); - var tasks = {!! $tasks !!}; + var tasks = {!! json_encode($tasks) !!}; for (var i=0; i