<%= t("code") %> | <%= t("description") %> | <%= t("combine") %> | <%= t("usage_limit") %> | <%= t("expiration") %> | <%= t("calculator") %> | <%= t("action") %> | <% @coupons.each do |coupon|%>
---|---|---|---|---|---|---|
<%= coupon.code %> | <%= coupon.description %> | <%= coupon.combine %> | <%= coupon.usage_limit %> | <%= coupon.expires_at.to_s(:short_date) if coupon.expires_at %> | <%= coupon.calculator.to_s %> | <%= link_to_edit coupon %> <%= link_to_delete coupon %> |