[2343] Fix currency not showing in aqbudgets

This commit is contained in:
Jean-André Santoni 2009-12-02 15:31:15 +01:00 committed by Henri-Damien LAURENT
parent c8ff9618cd
commit e7753ce465
3 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -253,7 +253,7 @@
<!-- 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>

View File

@ -219,7 +219,7 @@
</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 -->