banners to 4

This commit is contained in:
CHIEFSOFT\ameye
2024-02-26 06:41:20 -05:00
parent 1c0250fce1
commit bec305a92e
+15 -13
View File
@@ -61,7 +61,7 @@ var banners = {
"style": "style1", "style": "style1",
"text": "Pending", "text": "Pending",
"description": "Waiting for you to get started", "description": "Waiting for you to get started",
"action": "thisaction" "action": "mytask"
} }
}, },
"current": { "current": {
@@ -84,16 +84,6 @@ var banners = {
"action": "familymarket" "action": "familymarket"
} }
}, },
"another1task": {
"banner": {
"image": "https://www.wrenchboard.com/assets/images/apps/banners/recommend-banner.jpg",
"icon": "bannerimage.icon",
"style": "style4",
"text": "Dummy for now",
"description": "dummy dummy dummy",
"action": "thisaction"
}
},
"pastdue": { "pastdue": {
"banner": { "banner": {
"image": "https://www.wrenchboard.com/assets/images/apps/banners/recommend-banner.jpg", "image": "https://www.wrenchboard.com/assets/images/apps/banners/recommend-banner.jpg",
@@ -101,13 +91,25 @@ var banners = {
"style": "style5", "style": "style5",
"text": "Past Due", "text": "Past Due",
"description": "Ask for more time if past due", "description": "Ask for more time if past due",
"action": "thisaction" "action": "mytask"
} }
} }
}; };
// "another1task": {
// "banner": {
// "image": "https://www.wrenchboard.com/assets/images/apps/banners/recommend-banner.jpg",
// "icon": "bannerimage.icon",
// "style": "style4",
// "text": "Dummy for now",
// "description": "dummy dummy dummy",
// "action": "thisaction"
// }
// },
let resultItem ={ let resultItem ={
"result": bannerArray, "result": bannerArray,
"total_record": 5 "total_record": 4
} }
next(null, resultItem ); // pass control to the next handler next(null, resultItem ); // pass control to the next handler