From 8f9f14239e258ce0b2afc6b82b55cda3da17e81f Mon Sep 17 00:00:00 2001
From: Daniel Herrero <dherrero@alfatecsistemas.es>
Date: Wed, 17 Jan 2018 09:00:41 +0100
Subject: [PATCH] ficha cliente muestra los campos vacios

---
 client/client/src/descriptor/descriptor.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/client/client/src/descriptor/descriptor.html b/client/client/src/descriptor/descriptor.html
index b0daabe8ad..bf1a993376 100644
--- a/client/client/src/descriptor/descriptor.html
+++ b/client/client/src/descriptor/descriptor.html
@@ -5,11 +5,11 @@
         </vn-auto>
         <vn-auto pad-medium>
             <vn-vertical>
-                <vn-horizontal ng-repeat="(field, title) in $ctrl.fieldsToShow" ng-if="$ctrl.client[field]">
+                <vn-horizontal ng-repeat="(field, title) in $ctrl.fieldsToShow">
                     <strong vn-auto>{{::title}}:</strong>
                     <vn-auto margin-small-left>
-                        <span ng-if="field.includes('credit')">{{$ctrl.client[field] | number:2}} €</span>
-                        <span ng-if="!field.includes('credit')">{{::$ctrl.client[field]}}</span>
+                        <span ng-if="field.includes('credit')">{{$ctrl.client[field] || 0 | number:2}} €</span>
+                        <span ng-if="!field.includes('credit')">{{$ctrl.client[field]}}</span>
                     </vn-auto>
                 </vn-horizontal>
             </vn-vertical>