Sha256: 9ccfcbd53bd94372906027ed1ac2f2d77ba864973c21643baa1311d27c557e1c

Contents?: true

Size: 813 Bytes

Versions: 6

Compression:

Stored size: 813 Bytes

Contents

<%# Invoice and receipt items for #show %>

<div class="item header">
	<div class="name">
		<%= t('attributes.item.name') %>
	</div>
	<div class="number">
		<%= t('attributes.item.number') %>
	</div>
	<div class="unit">
		<%= t('attributes.item.unit') %>
	</div>
	<div class="price">
		<%= t('attributes.item.price') %>
	</div>
	<div class="amount">
		<%= t('attributes.item.amount') %>
	</div>
</div>

<% items.each do |item| %>
	<div class="item">
		<div class="name">
			<%= item.name %>
		</div>
		<div class="number">
			&nbsp;<%= item.number unless item.number %>
		</div>
		<div class="unit">
			&nbsp;<%= item.unit unless item.unit %>
		</div>
		<div class="price">
			<%= formatted_amount(item.price) %>
		</div>
		<div class="amount">
			<%= formatted_amount(item.amount) %>
		</div>
	</div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
invoice_bar-0.0.6 app/views/invoice_bar/forms/_items.html.erb
invoice_bar-0.0.5 app/views/invoice_bar/forms/_items.html.erb
invoice_bar-0.0.4 app/views/invoice_bar/forms/_items.html.erb
invoice_bar-0.0.3 app/views/invoice_bar/forms/_items.html.erb
invoice_bar-0.0.2 app/views/invoice_bar/forms/_items.html.erb
invoice_bar-0.0.1 app/views/invoice_bar/forms/_items.html.erb