From a16f8b29c2c7069894e70d2f21e9a86852ba0837 Mon Sep 17 00:00:00 2001 From: jgallego Date: Fri, 24 Nov 2017 07:39:05 +0100 Subject: [PATCH] vnCard con nuevo formato --- client/client/src/card/card.js | 1 - client/client/src/card/style.css | 3 --- client/client/src/descriptor/descriptor.html | 25 ++++++++++++-------- client/client/src/locale/es.json | 3 ++- 4 files changed, 17 insertions(+), 15 deletions(-) delete mode 100644 client/client/src/card/style.css diff --git a/client/client/src/card/card.js b/client/client/src/card/card.js index b21c3f636..9660ce3ce 100644 --- a/client/client/src/card/card.js +++ b/client/client/src/card/card.js @@ -1,5 +1,4 @@ import ngModule from '../module'; -import './style.css'; export default class Controller { constructor() { diff --git a/client/client/src/card/style.css b/client/client/src/card/style.css deleted file mode 100644 index 30d68e782..000000000 --- a/client/client/src/card/style.css +++ /dev/null @@ -1,3 +0,0 @@ -vn-descriptor { - font-family: vn-font-bold; -} \ No newline at end of file diff --git a/client/client/src/descriptor/descriptor.html b/client/client/src/descriptor/descriptor.html index 3157cf570..1139ffa8f 100644 --- a/client/client/src/descriptor/descriptor.html +++ b/client/client/src/descriptor/descriptor.html @@ -1,14 +1,19 @@ - - + + - person + person - -
{{::$ctrl.client.id}}
-
{{$ctrl.client.name}}
-
{{$ctrl.client.phone}}
-
-
-
+
+ + {{$ctrl.client.name}} + Client id: {{$ctrl.client.id}} + Mobile: {{$ctrl.client.mobile | phone}} + Salesperson: cesteban + Credit: {{($ctrl.client.credit | number:0) + " €"}} +
diff --git a/client/client/src/locale/es.json b/client/client/src/locale/es.json index ae0e1a52a..3e3e631ea 100644 --- a/client/client/src/locale/es.json +++ b/client/client/src/locale/es.json @@ -12,5 +12,6 @@ "Province": "Provincia", "Save": "Guardar", "Pay method" : "Forma de pago", - "Address": "Consignatario" + "Address": "Consignatario", + "Credit": "Crédito" }