card year
This commit is contained in:
@@ -88,6 +88,7 @@ export class SessionDataProviderService {
|
||||
|
||||
session_contructed:boolean = false;
|
||||
|
||||
|
||||
getMonths(){
|
||||
// return ["January","February","March","April","May","June","July",
|
||||
// "August","September","October","November","December"];
|
||||
@@ -107,6 +108,15 @@ export class SessionDataProviderService {
|
||||
];
|
||||
}
|
||||
|
||||
getCardExpirationYears(){
|
||||
var currY = new Date().getFullYear();
|
||||
var arrY = [];
|
||||
|
||||
for(var i=1; i<=10; i++) {
|
||||
arrY.push(currY+i);
|
||||
}
|
||||
return arrY;
|
||||
}
|
||||
durationArray = [
|
||||
{ duration: 1, name: "1 day" },
|
||||
{ duration: 2, name: "2 days" },
|
||||
|
||||
Reference in New Issue
Block a user