Sha256: a010afe9cdc88752af92fc392e6d3ccd9eb4d4992c1c3e7d635a0dafc35306e3
Contents?: true
Size: 1.88 KB
Versions: 8
Compression:
Stored size: 1.88 KB
Contents
<div class="page-header"> <h1>Apply External Payment</h1> </div> <%= form_for(@external_payment, :url => { :action => :create }, :html => { :class => "form-horizontal" }) do |f| %> <%= f.hidden_field :invoice_id %> <%= f.hidden_field :account_id %> <fieldset> <div class="control-group"> <label class="control-label">Date</label> <div class="controls"> <label class="checkbox"> <%= DateTime.now.to_s(:pretty) %> </label> </div> </div> <div class="control-group"> <label class="control-label">Invoice number</label> <div class="controls"> <label class="checkbox"> <%= @invoice.invoice_number %><br/> </label> </div> </div> <div class="control-group"> <label class="control-label">Account name</label> <div class="controls"> <label class="checkbox"> <%= @account.name %><br/> <%= @account.email %> </label> </div> <div class="control-group"> <%= f.label :amount, "Amount", :class => "control-label" %> <div class="controls"> <%= f.text_field :amount, :class => 'input-small' %> <p class="help-inline"><%= @account.currency %></p> </div> </div> <div class="control-group"> <%= label_tag :reason, "Reason", :class => "control-label" %> <div class="controls"> <%= select_tag :reason, options_for_select(Kaui::ExternalPayment::SAMPLE_REASON_CODES) %> </div> </div> <div class="control-group"> <%= label_tag :comment, "Comment", :class => "control-label" %> <div class="controls"> <%= text_area_tag :comment, "", :rows => 3, :class => 'input-xlarge' %> </div> </div> <div class="form-actions"> <%= button_tag "Create payment", :class =>"btn btn-primary" %> <%= link_to 'Back', :back, :class => 'btn' %> </div> </fieldset> <% end %>
Version data entries
8 entries across 8 versions & 1 rubygems