Displaying 1 result from an estimated 1 matches for "right_align".
2007 Apr 04
4
Order a find using a has_many association
...>
<td><%= sales_order.sold_to %></td>
<td><%= sales_order.ship_to %></td>
<td><%= (sales_order.rep.length < 1 ? " " : sales_order.rep) %></
td>
<td><%= sales_order.description %></td>
<td class="right_align"><%= sprintf("%#1.2f", sales_order.amount) %></
td>
<td><%= sales_order.ship_date.strftime(''%m/%d/%y'') %></td>
<td><%= sales_order.latest_history.nil? ? " " :
sales_order.latest_history.route.name %><...