From 74d6f921f299b3bf652094beef013b43e0ddfb16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Maur=C3=ADcio?= Date: Fri, 9 May 2014 09:37:31 +0000 Subject: [PATCH] =?UTF-8?q?Ficha=20Cl=C3=ADnica=20Peri=C3=B3dica?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.coded.pt/svn/SIPRP@1908 bb69d46d-e84e-40c8-a05a-06db0d633741 --- .../static/html/app/Form3/Form3View.html | 8 ++-- .../static/html/app/Form4/Form4Controller.js | 13 ++++-- .../static/html/app/Form4/Form4View.html | 44 +++++++++---------- 3 files changed, 36 insertions(+), 29 deletions(-) diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form3/Form3View.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form3/Form3View.html index 700f2539..9e4a0a59 100644 --- a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form3/Form3View.html +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form3/Form3View.html @@ -176,11 +176,11 @@
- +
- +
@@ -193,11 +193,11 @@
- +
- +
diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form4/Form4Controller.js b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form4/Form4Controller.js index 5a0580ca..263ace54 100644 --- a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form4/Form4Controller.js +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form4/Form4Controller.js @@ -103,11 +103,18 @@ $scope.editing.ficha.data_conclusao = null; } - $scope.storeFichasClinicas.upsert($scope.selected, $scope.editing, function(response, selected, editing, isNewRecord){ + //var isNewRecord = $scope.editing.ficha.id == null; + + $scope.storeFichasClinicas.upsert($scope.selected, $scope.editing, function(response, selected, editing){ + + //if(isNewRecord && response.success) + //{ + // $scope.isNewRecord = true; + //} if(response.success && complete) { - globals.plugins.hideSideMenu(); + globals.plugins.hideFloatingSideMenu(); $scope.$parent.loadModule({Controller: 'Search'}, function(className, scope, isNewModule){ @@ -116,7 +123,7 @@ } }); } - }; + }; $scope.cancel = function(){ diff --git a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form4/Form4View.html b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form4/Form4View.html index 0dc297f5..62b1dcdb 100644 --- a/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form4/Form4View.html +++ b/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/Form4/Form4View.html @@ -81,15 +81,15 @@
-
- +
+
@@ -101,7 +101,7 @@
- +
@@ -113,15 +113,15 @@
-
- +
+
@@ -134,15 +134,15 @@
-
- +
+
@@ -155,15 +155,15 @@
-
- +
+
@@ -1092,11 +1092,11 @@
- +
- +
@@ -1109,11 +1109,11 @@
- +
- +
@@ -1125,7 +1125,7 @@
- +