have to commit to repair the name change
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 5 Mar 2008 17:05:21 +0000 (17:05 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 5 Mar 2008 17:05:21 +0000 (17:05 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@8866 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_sources.html [new file with mode: 0644]

diff --git a/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_sources.html b/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/view_funding_sources.html
new file mode 100644 (file)
index 0000000..2a19d9f
--- /dev/null
@@ -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>