| 1 | | <% for column in Order.content_columns %> |
|---|
| 2 | | <p> |
|---|
| 3 | | <b><%= column.human_name %>:</b> <%=h @order.send(column.name) %> |
|---|
| 4 | | </p> |
|---|
| 5 | | <% end %> |
|---|
| | 1 | <h2>Billing Information</h2> |
|---|
| | 2 | <b><%=h @order.first_name %> <%=h @order.last_name %></b><br /> |
|---|
| | 3 | <%=h @order.address %><br/> |
|---|
| | 4 | <%=h @order.address_2 %><br/> |
|---|
| | 5 | <%=h @order.city %> <%=h @order.state %>, <%=h @order.zip %><br/> |
|---|
| | 6 | <%=h @order.country %><br/><br/> |
|---|
| | 7 | Phone: <%=h @order.phone %><br/> |
|---|
| | 8 | Email: <%=h @order.email %> |
|---|
| | 9 | |
|---|
| | 10 | <h2>Shipping Information</h2> |
|---|
| | 11 | <b><%=h @order.first_name_shipping %> <%=h @order.last_name_shipping %></b><br /> |
|---|
| | 12 | <%=h @order.address_shipping %><br/> |
|---|
| | 13 | <%=h @order.address_2_shipping %><br/> |
|---|
| | 14 | <%=h @order.city_shipping %> <%=h @order.state_shipping %>, <%=h @order.zip_shipping %><br/> |
|---|
| | 15 | <%=h @order.country_shipping %> |
|---|
| | 16 | |
|---|
| | 17 | <h3>CC Info</h3> |
|---|
| | 18 | Num: <%=h @order.cc_num %> - <%=h @order.cc_cvv %><br/> |
|---|
| | 19 | Exp: <%=h @order.cc_exp_mm %>/<%=h @order.cc_exp_yy %> |
|---|
| | 20 | |
|---|
| | 21 | <h3>Other Info</h3> |
|---|
| | 22 | Shipping: <%=h @order.shipping %><br/> |
|---|
| | 23 | Sales Tax: <%=h @order.sales_tax %><br/> |
|---|
| | 24 | Status: <%=h @order.status %><br/> |
|---|
| | 25 | Comments: <%=h @order.comments %><br/> |
|---|
| | 26 | |
|---|