1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-26 03:31:34 +01:00

bank account status

This commit is contained in:
Kyle Spearrin 2017-08-13 00:48:14 -04:00
parent 45c2d3eeb8
commit e8c6183dcd

View File

@ -31,9 +31,11 @@ namespace Bit.Core.Models.Business
break;
case SourceType.BankAccount:
Type = PaymentMethodType.BankAccount;
Description = $"{source.BankAccount.BankName}, *{source.BankAccount.Last4}";
Description = $"{source.BankAccount.BankName}, *{source.BankAccount.Last4} - " +
(source.BankAccount.Status == "verified" ? "verified" :
source.BankAccount.Status == "errored" ? "invalid" :
source.BankAccount.Status == "verification_failed" ? "verification failed" : "unverified");
break;
// bitcoin?
default:
break;
}