<% @datas.each do |data| %> <% end %>
<%=t('export_subscriptions.id')%> <%=t('export_subscriptions.customer')%> <%=t('export_subscriptions.email')%> <%=t('export_subscriptions.subscription')%> <%=t('export_subscriptions.period')%> <%=t('export_subscriptions.start_date')%> <%=t('export_subscriptions.expiration_date')%> <%=t('export_subscriptions.amount')%> <%=t('export_subscriptions.payment_method')%>
<%= data.user.id %> <%= data.user.profile.full_name %> <%= data.user.email %> <%= data.plan.human_readable_name(group: true) %> <%= t("duration.#{data.plan.interval}", count: data.plan.interval_count) %> <%= data.created_at %> <%= data.expired_at %> <%= number_to_currency(data.plan.amount / 100) %> <%= (data.stp_subscription_id.nil?)? t('export_subscriptions.local_payment') : t('export_subscriptions.online_payment') %>