From 0d6a1e8afa4fca22901cc4a4cad3170d9d9c9cb0 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 8 Jun 2021 10:50:02 -0400 Subject: [PATCH] LP1904036 CC dialog repairs Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- .../staff/share/billing/credit-card-dialog.component.html | 13 ++++++++++--- .../app/staff/share/billing/credit-card-dialog.component.ts | 6 ++---- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/share/billing/credit-card-dialog.component.html b/Open-ILS/src/eg2/src/app/staff/share/billing/credit-card-dialog.component.html index 9176a4f6ee..d54eff2a95 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/billing/credit-card-dialog.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/billing/credit-card-dialog.component.html @@ -26,10 +26,10 @@
-
+
+ required [(ngModel)]="args.number"/>
@@ -48,6 +48,13 @@ required [(ngModel)]="args.expire_year"/> +
+
+
+ +
+
@@ -108,7 +115,7 @@ diff --git a/Open-ILS/src/eg2/src/app/staff/share/billing/credit-card-dialog.component.ts b/Open-ILS/src/eg2/src/app/staff/share/billing/credit-card-dialog.component.ts index aae575072b..512de52fa7 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/billing/credit-card-dialog.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/billing/credit-card-dialog.component.ts @@ -70,6 +70,8 @@ export class CreditCardDialogComponent if (processor && processor !== 'Stripe') { this.supportsExternal = true; this.args.where_process = 1; + } else { + this.args.where_process = 0; } }); }); @@ -84,9 +86,5 @@ export class CreditCardDialogComponent return Boolean(this.args.expire_month) && Boolean(this.args.expire_year); } - - - submit() { - } } -- 2.11.0