44 lines
1.4 KiB
Text
44 lines
1.4 KiB
Text
<h1>Meine Bestellgruppe</h1>
|
|
<div class="left_column">
|
|
<div class="box_title"><h2><%=h @ordergroup.name %></h2></div>
|
|
<div class="column_content">
|
|
<p>
|
|
<b>Beschreibung:</b> <%=h @ordergroup.description %>
|
|
</p>
|
|
<p>
|
|
<b>Verfügbares Guthaben:</b> <%= number_to_currency(@ordergroup.get_available_funds()) %>
|
|
</p>
|
|
<h2>Personen</h2>
|
|
<ul style="list-style-type:decimal;">
|
|
<% for membership in @ordergroup.memberships -%>
|
|
<li><%= membership.user.nick -%></li>
|
|
<% end -%>
|
|
</ul>
|
|
<%= remote_link_to('Person einladen', :url => new_invite_path(:id => @ordergroup)) %>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="right_column">
|
|
<div class="box_title">
|
|
<h2>Kontoauszug</h2>
|
|
</div>
|
|
<div class="column_content">
|
|
<p>
|
|
<form name="sform" action="" style="display:inline;">
|
|
<label for="financial_transaction_note">Filter für Notizen: </label>
|
|
<%= text_field_tag("query", params['query'], :size => 10 ) %>
|
|
</form>
|
|
</p>
|
|
<%= observe_field 'query', :frequency => 2,
|
|
:before => "Element.show('loader')",
|
|
:success => "Element.hide('loader')",
|
|
:url => {:action => 'ordergroup'},
|
|
:with => 'query',
|
|
:update => 'transactions' %>
|
|
<div id="transactions">
|
|
<%= render :partial => "/finance/transactions/list" %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="edit_box" style="display:none"></div>
|
|
|