<% @totalCustomers = @totalCustomers.to_i >0 ? @totalCustomers : session[:total_customers] @totalPCreditTod = @totalPCreditTod.to_i >0 ? @totalPCreditTod : session[:total_pendingcredt] %>