Activity Plan List

Activity Plan List

<% var i = 1; list.forEach(function(data) { %> <% i++; }) %>
# Title Plan For Status Action
#<%= i %> <%= data.title %> <% if(data.plan_for == '<20'){ %> Less than 20 years <% } %> <% if(data.plan_for == '20-30'){ %> Between 20-30 years <% } %> <% if(data.plan_for == '30-40'){ %> Between 31-40 years <% } %> <% if(data.plan_for == '40-50'){ %> Between 41-50 years <% } %> <% if(data.plan_for == '50-60'){ %> Between 51-60 years <% } %> <% if(data.plan_for == '>60'){ %> More than 60 years <% } %> <% if(data.plan_for == 'cardiac_problem'){ %> Cardiac Problem <% } %> <% if(data.plan_for == 'lung_problem'){ %> Lung Problem <% } %> <% if(data.plan_for == '1'){ %> Given birth in last 1 year <% } %> <%= data.status %> Edit Delete Activity PlanItem List
<% if (listCount > 0) { %>
Showing <% if (((currentPage - 1) * pageSize) + 1 == listCount) { %> <%= listCount %> <% } else { %> <%= ((currentPage - 1) * pageSize) + 1 %> to <%= currentPage == pageCount ? listCount : (currentPage * pageSize) %> <% } %> of <%= listCount %> entries
<% if (currentPage > 1) { %> <% } else { %> <% } %> <% for (var i = 1; i <= pageCount; i++) { %> <% if (i >= currentPage - 2 && i <= currentPage + 2) { %> <% } %> <% } %> <% if (currentPage < pageCount) { %> <% } else { %> <% } %>
<% } %>