Sha256: 15856b5f7a7ec0f72a7badbb128976aceef214dea56c1857cec6396af7eb3881

Contents?: true

Size: 819 Bytes

Versions: 1

Compression:

Stored size: 819 Bytes

Contents

<div class="container">
  <center>
    <h1>Income Statement</h1>

    <%= form_tag({:action => 'income_statement'}, {:method => :get, :class => 'form-inline'}) do%>
      <div class="form-group">
      <%= label_tag :from_date, nil, class: 'sr-only'%>
      <%= date_field_tag :from_date, @from_date, :class => 'form-control', :placeholder => "Date" %>
      </div>
      <div class="form-group">
      <%= label_tag :to_date, nil, class: 'sr-only'%>
      <%= date_field_tag :to_date, @to_date, :class => 'form-control', :placeholder => "Date" %>
      </div>
      <button type="submit" class="btn btn-default">Get Report</button>
    <% end %>
  </center>

  <br>

  <%= render 'account', :name => "Revenues", :accounts => @revenues %>
  <%= render 'account', :name => "Expenses", :accounts => @expenses %>


</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
plutus-0.17 app/views/plutus/reports/income_statement.html.erb