Sha256: 93d7ba5bd2a508d4d9836f89edb8be7abbab5859d7f9bad2e1db125821304c5d

Contents?: true

Size: 1.12 KB

Versions: 6

Compression:

Stored size: 1.12 KB

Contents

<%# Document payment fields %>

<div class="control-group">	
	<%= f.label :account_id, I18n.t('attributes.invoice.account_id')%>
	<%= f.collection_select :account_id, @accounts, :id, :name %>
</div>
<% if document.instance_of? InvoiceBar::Invoice or document.instance_of? InvoiceBar::InvoiceTemplate %>
	<div class="control-group">
	  <%= f.label :payment_identification_number, I18n.t('attributes.invoice.payment_identification_number') %>
	  <%= f.text_field :payment_identification_number, placeholder: I18n.t('attributes.invoice.payment_identification_number'), class: 'optional' %>
	</div>
<% end %>
<div class="control-group">
  <%= f.label :issue_date, I18n.t('attributes.invoice.issue_date') %>
  <%= f.text_field :issue_date, placeholder: I18n.t('attributes.invoice.issue_date'), class: 'datepicker' %>
</div>
<% if document.instance_of? InvoiceBar::Invoice or document.instance_of? InvoiceBar::InvoiceTemplate %>
	<div class="control-group">
	  <%= f.label :due_date, I18n.t('attributes.invoice.due_date') %>
	  <%= f.text_field :due_date, placeholder: I18n.t('attributes.invoice.due_date'), class: 'datepicker' %>
	</div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

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