Moved financial_transaction into the new finance-namespace.
This commit is contained in:
parent
1d85b880f2
commit
c282cae79c
19 changed files with 167 additions and 153 deletions
25
app/views/finance/transactions/list.html.erb
Normal file
25
app/views/finance/transactions/list.html.erb
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<% title "Kontoauszug für #{@group.name}" %>
|
||||
|
||||
<p>
|
||||
<b>Kontostand: <%= number_to_currency(@group.account_balance) -%></b>
|
||||
<span style="color:grey">(zuletzt aktualisiert vor <%= distance_of_time_in_words(Time.now, @group.account_updated) -%>)</span>
|
||||
</p>
|
||||
<div class="left_column" style="width:100%">
|
||||
<div class="box_title"><h2>Überweisungen</h2></div>
|
||||
<div class="column_content">
|
||||
<form name="sform" action="" style="display:inline;">
|
||||
<label for="financial_transaction_note">in Notizen suchen: </label>
|
||||
<%= text_field_tag("query", params['query'], :size => 10 ) %>
|
||||
</form>
|
||||
<%= observe_field 'query', :frequency => 2,
|
||||
:before => "Element.show('loader')",
|
||||
:success => "Element.hide('loader')",
|
||||
:url => {:action => 'list'},
|
||||
:with => 'query' %>
|
||||
<div id="table">
|
||||
<%= render :partial => "list" %>
|
||||
</div>
|
||||
<p><%= link_to 'Neue Transaktion', :action => 'new', :id => @group %></p>
|
||||
</div>
|
||||
<%= link_to 'Gruppenübersicht', :action => 'index' %>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue