From d451dfc6f585b3ea8bdf2a5cb835070a8c69cb7e Mon Sep 17 00:00:00 2001 From: Javi Gallego Date: Wed, 30 Nov 2016 13:26:17 +0100 Subject: [PATCH] =?UTF-8?q?cambios=20pedro=20miercoles=20ma=C3=B1ana?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- @salix/crud/src/client/basic-data/index.js | 14 +++++++------- @salix/crud/src/client/fiscal-data/index.html | 8 +++----- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/@salix/crud/src/client/basic-data/index.js b/@salix/crud/src/client/basic-data/index.js index 75d59cc17..cae0df0f6 100644 --- a/@salix/crud/src/client/basic-data/index.js +++ b/@salix/crud/src/client/basic-data/index.js @@ -4,13 +4,13 @@ import {module} from '../../module'; export const NAME = 'vnClientBasicData'; export const COMPONENT = { template: template, - controller: function ($http) { - this.submit = function () { - $http.post('/client/api/Clients', this.model).then ( - (json) => console.log (json.statusText), - (json) => console.error (json.data.error.message) + controller: function($http) { + this.submit = function() { + $http.post('/client/api/Clients', this.model).then( + json => console.log(json.statusText), + json => console.error(json.data.error.message) ); - }; - }, + }; + } }; module.component(NAME, COMPONENT); diff --git a/@salix/crud/src/client/fiscal-data/index.html b/@salix/crud/src/client/fiscal-data/index.html index d4307346d..8db1f43d0 100644 --- a/@salix/crud/src/client/fiscal-data/index.html +++ b/@salix/crud/src/client/fiscal-data/index.html @@ -1,10 +1,9 @@ -
- +

Datos fiscales y de facturaciĆ³n


- + - + @@ -48,5 +47,4 @@ - \ No newline at end of file