[open-ils-commits] r8866 -
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Mar 5 12:37:43 EST 2008
Author: erickson
Date: 2008-03-05 12:05:21 -0500 (Wed, 05 Mar 2008)
New Revision: 8866
Added:
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_sources.html
Log:
have to commit to repair the name change
Copied: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_sources.html (from rev 8864, branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_fund_source.html)
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_sources.html (rev 0)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_sources.html 2008-03-05 17:05:21 UTC (rev 8866)
@@ -0,0 +1,40 @@
+# -*- coding: utf-8 -*-
+<%inherit file='../base.html'/>
+<%namespace file='../../common/widgets.html' name='widget'/>
+<%def name="page_title()">${_('View Funding Source')}</%def>
+<%def name="block_content()">
+
+<% source = c.oils.acq.funding_source.value %>
+
+<div id='oils-acq-list-header' class='container'>
+ <div id='oils-acq-list-header-label'>${source.name()}</div>
+ <div id='oils-acq-list-header-actions'>
+ <a href='${c.oils.acq.prefix.value}/funding_source/create_credit?${c.oils.acq.funding_source_id.cgi_name}=${source.id()}'>${_('Add Credit')}</a>
+ </div>
+</div>
+
+<table class='oils-admin-table'>
+ <tbody>
+ <tr>
+ <td class='oils-admin-label'>${_('Funding Source Owner')}</td>
+ <td>${source.owner().name()}</td>
+ </tr>
+ <tr>
+ <td class='oils-admin-label'>${_('Funding Source Currency Type')}</td>
+ <td>${source.currency_type()}</td>
+ </tr>
+ <tr>
+ <td class='oils-admin-label'>${_('Funding Source Credit Total')}</td>
+ <td>${source.summary()['credit_total']}</td>
+ </tr>
+ <tr>
+ <td class='oils-admin-label'>${_('Funding Source Allocation Total')}</td>
+ <td>${source.summary()['allocation_total']}</td>
+ </tr>
+ <tr>
+ <td class='oils-admin-label'>${_('Funding Source Balance')}</td>
+ <td>${source.summary()['balance']}</td>
+ </tr>
+ </tbody>
+</table>
+</%def>
More information about the open-ils-commits
mailing list