From 4064848242bc31a39f87af5f73ac149d8d5e0211 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Thu, 20 Jul 2017 23:34:07 +0200 Subject: [PATCH] Change account form validation for ahtorized overdraft. --- package.json | 2 ++ src/accounts/accountForm.component.ts | 8 +++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index b04d97d..6a49a13 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,8 @@ "angular-resource": "^1.6", "angular-strap": "^2.3.12", "angular-ui-notification": "^0.3", + "angular2-modal": "^3.0.1", + "angular2-notifications": "^0.7.4", "base64util": "^1.0.2", "bootbox": "^4.4.0", "bootstrap": "^3.3.7", diff --git a/src/accounts/accountForm.component.ts b/src/accounts/accountForm.component.ts index 61f9172..84f0de2 100644 --- a/src/accounts/accountForm.component.ts +++ b/src/accounts/accountForm.component.ts @@ -34,13 +34,11 @@ import { Account } from './account';
-
-
- + required max="0">
.00€
@@ -50,8 +48,8 @@ import { Account } from './account'; The authorized overdraft is required.

-

- The authorized overdraft must be equal or greater than 0. +

+ The authorized overdraft must be less than or equal to 0.