From 994acc50163e8b609606e2e9315f44708cd2c15d Mon Sep 17 00:00:00 2001 From: Fabian Rump Date: Wed, 14 Jun 2017 15:00:55 +0200 Subject: [PATCH] Prepaid/postpaid --- src/app/models/user.ts | 1 + src/app/templates/user-edit.html | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/src/app/models/user.ts b/src/app/models/user.ts index 05d0972..e091838 100644 --- a/src/app/models/user.ts +++ b/src/app/models/user.ts @@ -8,6 +8,7 @@ export class User extends Identifiable { @Expose() id: number; @Expose() name: string; @Expose() balance: number; + @Expose() allow_negative_balance: boolean; @Expose() @Type(() => Tag) tags: Tag[]; constructor(id: number, name: string, balance: number = 0, tags: Tag[] = [], identifiers: Identifier[] = []){ diff --git a/src/app/templates/user-edit.html b/src/app/templates/user-edit.html index fff9573..9ef7554 100644 --- a/src/app/templates/user-edit.html +++ b/src/app/templates/user-edit.html @@ -26,6 +26,17 @@

Balance

If you want to deposit or withdraw funds from this account, please use the cash point view.
+

Prepaid/Postpaid

+
+
+
+ +
+
+