function gettotal(listdata) {
let total = 0
listdata.forEach((type) => {
total = total + type
});
return total
}
function gettotal(listdata) {
let total = 0
listdata.forEach((type) => {
total = total + type
});
return total
}