368d9107a2
The $loggedinuser in Koha is the CODE of the logged user (result of get_user_and_template subroutine). BTW, in get_user_and_template subroutine, the TMPL_VAR loggedinuser is replaced by the NAME of the user. This is troubleshooting. so, I replace the name by the "loggedinusername" template variable. If you want to add the username somewhere, just add <TMPL_VAR name="loggedinusername"> in the template. Fixes bug #401
59 lines
1.7 KiB
Cheetah
59 lines
1.7 KiB
Cheetah
<HTML>
|
|
|
|
<!-- startmenu (member)
|
|
this includes the head-container and <body>
|
|
including this via var contradicts the separation of code and design
|
|
a solution via tmpl_include would be better -->
|
|
|
|
<TMPL_VAR NAME=startmenumember>
|
|
|
|
<!-- The manual invoice and credit buttons --> <FONT SIZE=6><em>Compte de<TMPL_VAR NAME=firstname>
|
|
<TMPL_VAR NAME=surname></em></FONT>
|
|
<P>
|
|
<a href="/cgi-bin/koha/moremember.pl?bornum=<TMPL_VAR NAME=bornum>"><image src=<TMPL_VAR name="themelang">/images/create-man-invoice.gif border=0></a>
|
|
|
|
<a href="/cgi-bin/koha/moremember.pl?bornum=<TMPL_VAR NAME=bornum>"><image src=<TMPL_VAR name="themelang">/images/create-man-credit.gif border=0></a>
|
|
<center>
|
|
<p>
|
|
|
|
<!-- The table with the account items -->
|
|
|
|
<TABLE CELLSPACING=0 CELLPADDING=5 border=1 >
|
|
|
|
<TR VALIGN=TOP>
|
|
<td bgcolor="99cc33" background="<TMPL_VAR name="themelang">/images/background-mem.gif" colspan=2><B>AMENDES
|
|
& FRAIS</b></TD>
|
|
<td bgcolor="99cc33" background="<TMPL_VAR name="themelang">/images/background-mem.gif" colspan=1><B>MONTANT</b></TD>
|
|
<td bgcolor="99cc33" background="<TMPL_VAR name="themelang">/images/background-mem.gif" colspan=1><B>SOLDE
|
|
</b></TD>
|
|
</TR>
|
|
|
|
<TMPL_LOOP NAME=accounts>
|
|
|
|
<tr VALIGN=TOP>
|
|
<td><TMPL_VAR NAME=date></td>
|
|
<td><TMPL_VAR NAME=description><TMPL_IF NAME=printtitle> <TMPL_VAR NAME=title></TMPL_IF></td>
|
|
<td><TMPL_VAR NAME=amount></td>
|
|
<td><TMPL_VAR NAME=amountoutstanding></td>
|
|
</tr>
|
|
|
|
</TMPL_LOOP>
|
|
|
|
<tr VALIGN=TOP >
|
|
<td></td>
|
|
<td colspan=2><b>Total dû</b></td>
|
|
<td><b><TMPL_VAR NAME=total></b></td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<br clear=all>
|
|
<p> </p>
|
|
|
|
<!-- endmenu (member) -->
|
|
|
|
<TMPL_VAR NAME=member>
|
|
|
|
|
|
</center></body></HTML>
|
|
|