Add RuPay to list of card brands (#785)
Co-authored-by: Hinton <hinton@users.noreply.github.com>
This commit is contained in:
parent
7b9826fb28
commit
28d15bfe2a
|
@ -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 = [
|
||||
|
|
|
@ -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 |
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue