app/views/phcmemberspro/modules/dashboards/index.html.erb in phcmemberspro-9.8.5 vs app/views/phcmemberspro/modules/dashboards/index.html.erb in phcmemberspro-9.8.6

- old
+ new

@@ -5,11 +5,11 @@ <h4 class="widget-thumb-heading"><%="MEMBER".pluralize(2) %></h4> <div class="widget-thumb-wrap"> <i class="widget-thumb-icon bg-green icon-bulb"></i> <div class="widget-thumb-body"> <span class="widget-thumb-subtitle">TOTAL ALL</span> - <span class="widget-thumb-body-stat" data-counter="counterup" data-value="<%= @member_profiles.count(:all) %>">0</span> + <span class="widget-thumb-body-stat" data-counter="counterup" data-value="<%= @member_profile.count(:all) %>">0</span> </div> </div> </div> <!-- END WIDGET THUMB --> </div> @@ -19,11 +19,11 @@ <h4 class="widget-thumb-heading"><%="LISTING".pluralize(2) %></h4> <div class="widget-thumb-wrap"> <i class="widget-thumb-icon bg-red icon-layers"></i> <div class="widget-thumb-body"> <span class="widget-thumb-subtitle">TOTAL ALL</span> - <span class="widget-thumb-body-stat" data-counter="counterup" data-value="<%= @member_profiles.listings.count(:all) %>">0</span> + <span class="widget-thumb-body-stat" data-counter="counterup" data-value="<%= @member_listing.count(:all) %>">0</span> </div> </div> </div> <!-- END WIDGET THUMB --> </div> @@ -33,11 +33,11 @@ <h4 class="widget-thumb-heading"><%="ADDRESS".pluralize(2) %></h4> <div class="widget-thumb-wrap"> <i class="widget-thumb-icon bg-purple icon-list"></i> <div class="widget-thumb-body"> <span class="widget-thumb-subtitle">ACTIVE TOTAL</span> - <span class="widget-thumb-body-stat" data-counter="counterup" data-value="<%= @member_profiles.addresses.count(:all) %>">0</span> + <span class="widget-thumb-body-stat" data-counter="counterup" data-value="<%= @member_address.count(:all) %>">0</span> </div> </div> </div> <!-- END WIDGET THUMB --> </div> @@ -47,10 +47,10 @@ <h4 class="widget-thumb-heading"><%="DIRECTORY".pluralize(2) %></h4> <div class="widget-thumb-wrap"> <i class="widget-thumb-icon bg-blue icon-bar-chart"></i> <div class="widget-thumb-body"> <span class="widget-thumb-subtitle">CATEGORY TOTAL</span> - <span class="widget-thumb-body-stat" data-counter="counterup" data-value="<%= @directory_categories.count(:all) %>">0</span> + <span class="widget-thumb-body-stat" data-counter="counterup" data-value="<%= @directory_category.count(:all) %>">0</span> </div> </div> </div> <!-- END WIDGET THUMB --> </div>