From c3168e0166539197fafd3112277d0902dd2d3016 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 26 Mar 2017 13:19:07 +0300 Subject: [PATCH] Fixes for buy now clients --- resources/views/invoices/edit.blade.php | 13 ++++++++++--- resources/views/invoices/knockout.blade.php | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/resources/views/invoices/edit.blade.php b/resources/views/invoices/edit.blade.php index e5c1349bfb1a..45fed0b12e21 100644 --- a/resources/views/invoices/edit.blade.php +++ b/resources/views/invoices/edit.blade.php @@ -844,9 +844,11 @@ var client = clients[i]; clientMap[client.public_id] = client; var clientName = getClientDisplayName(client); - if (!clientName) { - continue; - } + @if (! $invoice->id) + if (!clientName) { + continue; + } + @endif for (var j=0; j{{ trans('texts.view_as_recipient') }}'; }