Add RuPay to list of card brands (#785)

Co-authored-by: Hinton <hinton@users.noreply.github.com>
This commit is contained in:
Sargun Vohra 2022-06-03 05:55:13 -07:00 committed by GitHub
parent 7b9826fb28
commit 28d15bfe2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 0 deletions

View File

@ -108,6 +108,7 @@ export class AddEditComponent implements OnInit {
{ name: "JCB", value: "JCB" },
{ name: "Maestro", value: "Maestro" },
{ name: "UnionPay", value: "UnionPay" },
{ name: "RuPay", value: "RuPay" },
{ name: i18nService.t("other"), value: "Other" },
];
this.cardExpMonthOptions = [

View File

@ -19,6 +19,7 @@ const cardIcons: Record<string, string> = {
JCB: "card-jcb",
Maestro: "card-maestro",
UnionPay: "card-union-pay",
RuPay: "card-ru-pay",
};
@Component({

Binary file not shown.

After

Width:  |  Height:  |  Size: 797 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 874 B

View File

@ -8,6 +8,7 @@ $card-icons: (
"maestro": $card-icons-base + "maestro-light.png",
"mastercard": $card-icons-base + "mastercard-light.png",
"union-pay": $card-icons-base + "union_pay-light.png",
"ru-pay": $card-icons-base + "ru_pay-light.png",
);
$card-icons-dark: (
@ -19,6 +20,7 @@ $card-icons-dark: (
"maestro": $card-icons-base + "maestro-dark.png",
"mastercard": $card-icons-base + "mastercard-dark.png",
"union-pay": $card-icons-base + "union_pay-dark.png",
"ru-pay": $card-icons-base + "ru_pay-dark.png",
);
.credit-card-icon {