</div>
<ng-container *ngIf="args.where_process == 1">
<div class="row mt-2">
- <div class="col-lg-4"><label i18n>Approval Code</label></div>
+ <div class="col-lg-4"><label i18n>Credit Card Number</label></div>
<div class="col-lg-8">
<input type="text" class="form-control"
- required [(ngModel)]="args.approval_code"/>
+ required [(ngModel)]="args.number"/>
</div>
</div>
</ng-container>
required [(ngModel)]="args.expire_year"/>
</div>
</div>
+ <div class="row mt-2">
+ <div class="col-lg-4"><label i18n>Approval Code</label></div>
+ <div class="col-lg-8">
+ <input type="text" class="form-control"
+ required [(ngModel)]="args.approval_code"/>
+ </div>
+ </div>
</ng-container>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-success" [disabled]="!saveable()"
- (click)="submit(args)" i18n>Submit</button>
+ (click)="close(args)" i18n>Submit</button>
<button type="button" class="btn btn-warning"
(click)="close()" i18n>Cancel</button>
</div>
if (processor && processor !== 'Stripe') {
this.supportsExternal = true;
this.args.where_process = 1;
+ } else {
+ this.args.where_process = 0;
}
});
});
return Boolean(this.args.expire_month) && Boolean(this.args.expire_year);
}
-
-
- submit() {
- }
}