projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c8ff961
)
[2343] Fix currency not showing in aqbudgets
author
Jean-André Santoni
<jeanandre.santoni@biblibre.com>
Wed, 2 Dec 2009 14:31:15 +0000
(15:31 +0100)
committer
Henri-Damien LAURENT
<henridamien.laurent@biblibre.com>
Thu, 28 Jan 2010 14:11:43 +0000
(15:11 +0100)
admin/aqbudgets.pl
patch
|
blob
|
history
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tmpl
patch
|
blob
|
history
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl
patch
|
blob
|
history
diff --git
a/admin/aqbudgets.pl
b/admin/aqbudgets.pl
index
c74d1d2
..
01bfdbc
100755
(executable)
--- a/
admin/aqbudgets.pl
+++ b/
admin/aqbudgets.pl
@@
-50,6
+50,9
@@
my ($template, $borrowernumber, $cookie, $staffflags ) = get_template_and_user(
}
);
}
);
+my $cur = GetCurrency();
+$template->param( cur => $cur->{symbol} );
+
my $op = $input->param('op');
# see if the user want to see all budgets or only owned ones
my $op = $input->param('op');
# see if the user want to see all budgets or only owned ones
diff --git
a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tmpl
b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tmpl
index
c226f7c
..
d0b592f
100644
(file)
--- a/
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tmpl
+++ b/
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tmpl
@@
-253,7
+253,7
@@
<!-- DEFAULT display budget periods list -->
<!-- TMPL_IF name="else" -->
<h2>Root budgets administration</h2>
<!-- DEFAULT display budget periods list -->
<!-- TMPL_IF name="else" -->
<h2>Root budgets administration</h2>
- <
!-- TMPL_IF name="cur" --><b>Currency = <!-- TMPL_VAR name="cur" --></b><!-- /TMPL_IF --
>
+ <
p><!-- TMPL_IF name="cur" --><b>Currency = <!-- TMPL_VAR name="cur" --></b><!-- /TMPL_IF --></p
>
<table id="periodsh">
<thead>
<tr>
<table id="periodsh">
<thead>
<tr>
diff --git
a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl
b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl
index
3e567b2
..
f520d08
100644
(file)
--- a/
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl
+++ b/
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tmpl
@@
-219,7
+219,7
@@
</tbody>
</table>
</tbody>
</table>
-<
p><b>Currency = <!-- TMPL_VAR NAME="cur" --> <!-- TMPL_VAR NAME="cur_format" --></b></p
>
+<
!-- TMPL_IF name="cur" --><p><b>Currency = <!-- TMPL_VAR NAME="cur" --> <!-- TMPL_VAR NAME="cur_format" --></b></p><!-- /TMPL_IF --
>
<!-- TMPL_IF NAME="pagination_bar" --><div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div><!-- /TMPL_IF -->
<!-- /TMPL_IF --> <!-- else -->
<!-- TMPL_IF NAME="pagination_bar" --><div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div><!-- /TMPL_IF -->
<!-- /TMPL_IF --> <!-- else -->