2009-01-10 21:28:22 +01:00
|
|
|
<% title "Kontoauszug für #{@group.name}" %>
|
|
|
|
|
2009-01-06 11:49:19 +01:00
|
|
|
<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')",
|
2009-01-10 21:28:22 +01:00
|
|
|
:url => {:action => 'list'},
|
2009-01-15 12:14:01 +01:00
|
|
|
:with => 'query',
|
|
|
|
:update => 'transactions' %>
|
|
|
|
<div id="transactions">
|
|
|
|
<%= render :partial => "list" %>
|
2009-01-06 11:49:19 +01:00
|
|
|
</div>
|
2009-01-10 21:28:22 +01:00
|
|
|
<p><%= link_to 'Neue Transaktion', :action => 'new', :id => @group %></p>
|
2009-01-06 11:49:19 +01:00
|
|
|
</div>
|
2009-01-10 21:28:22 +01:00
|
|
|
<%= link_to 'Gruppenübersicht', :action => 'index' %>
|
2009-01-06 11:49:19 +01:00
|
|
|
</div>
|