67 lines
1.4 KiB
Plaintext
67 lines
1.4 KiB
Plaintext
|
|
<%
|
|||
|
|
Include("intro.inc");
|
|||
|
|
%>
|
|||
|
|
|
|||
|
|
D<EFBFBD>tail d'un emprunteur:
|
|||
|
|
<p />
|
|||
|
|
|
|||
|
|
<div class="Data">
|
|||
|
|
<table class="Data">
|
|||
|
|
<tr><td align="left">
|
|||
|
|
<%
|
|||
|
|
Request("SELECT * FROM clients.xml
|
|||
|
|
WHERE (ClientId = $id)");
|
|||
|
|
Display("templates/clientdetails.tpl");
|
|||
|
|
%>
|
|||
|
|
</td></tr>
|
|||
|
|
</table>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<p />Bo<42>tes emprunt<6E>es non encore ramen<65>es:
|
|||
|
|
|
|||
|
|
<div class="Data">
|
|||
|
|
<table class="Data">
|
|||
|
|
<tr>
|
|||
|
|
<th>Bo<42>te</th>
|
|||
|
|
<th>Date d'emprunt</th>
|
|||
|
|
<th>Date de p<>remption</th>
|
|||
|
|
</tr>
|
|||
|
|
<%
|
|||
|
|
Request("SELECT * FROM boxes.xml, loans.xml, loans_box.xml
|
|||
|
|
WHERE (LoanId = LBLoan) AND (LBBox = BoxId) AND (LoanClient = $id) AND (LoanReturn IS NULL)
|
|||
|
|
ORDER BY Date(LoanDeparture) DESC ");
|
|||
|
|
Display("templates/clientnonreturn.tpl");
|
|||
|
|
DisplayEmpty("templates/clientnonreturnempty.tpl");
|
|||
|
|
%>
|
|||
|
|
</table>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<p />Derni<6E>res bo<62>tes emprunt<6E>es: (<a href="client_loans.xhs?id=<%echo("$id")%>">Tous ses emprunts</a>)
|
|||
|
|
|
|||
|
|
|
|||
|
|
<div class="Data">
|
|||
|
|
<table class="Data">
|
|||
|
|
<tr>
|
|||
|
|
<th>Bo<42>te</th>
|
|||
|
|
<th>Date d'emprunt</th>
|
|||
|
|
<th>Date de p<>remption</th>
|
|||
|
|
</tr>
|
|||
|
|
<%
|
|||
|
|
Request("SELECT * FROM boxes.xml, loans.xml, loans_box.xml
|
|||
|
|
WHERE (LoanId = LBLoan) AND (LBBox = BoxId) AND (LoanClient = $id)
|
|||
|
|
ORDER BY Date(LoanDeparture) DESC
|
|||
|
|
LIMIT 10");
|
|||
|
|
Display("templates/clientnonreturn.tpl");
|
|||
|
|
DisplayEmpty("templates/clientnonreturnempty.tpl");
|
|||
|
|
%>
|
|||
|
|
</table>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<p />
|
|||
|
|
|
|||
|
|
<%
|
|||
|
|
Include("outro.inc");
|
|||
|
|
%>
|