source: trunk/client/inc/hpdf5/spipu/html2pdf/examples/res/example07b.php

Last change on this file was 347, checked in by roby, 4 years ago

Aggiornamento per compatibilità con php7.4

File size: 8.1 KB
RevLine 
[347]1<page orientation="paysage" >
2 <bookmark title="Document" level="0" ></bookmark>
3 <a name="document_reprise"></a>
4 <table cellspacing="0" style="width: 100%;">
5 <tr>
6 <td style="width: 10%;">
7 <img style="width: 100%" src="./res/logo.gif" alt="Logo Html2Pdf" >
8 </td>
9 <td style="width: 80%; text-align: center; text-decoration: underline; font-weight: bold; font-size: 20pt;">
10 <span style="font-size: 10pt"><br></span>
11 ACCORD DE RETOUR
12 </td>
13 <td style="width: 10%;">
14 </td>
15 </tr>
16 </table>
17 <table cellspacing="0" style="width: 100%;">
18 <tr>
19 <td style="width: 55% ">
20 <table cellspacing="0" style="width: 100%; border: solid 2px #000000; ">
21 <tr>
22 <td style="width: 100%; font-size: 12pt;">
23 <span style="font-size: 15pt; font-weight: bold;">ADRESSE DE RETOUR<br></span>
24 <br>
25 <b>Entrepot des Bois</b><br>
26 sur une grande route<br>
27 00000 - Spipu Ville<br>
28 <br>
29 Date : <?php echo date('d/m/Y'); ?><br>
30 Dossier suivi par <b>Mle Jesuis CELIBATAIRE</b><br>
31 Tel : 33 (0) 1 00 00 00 00<br>
32 Email : on_va@chez.moi<br>
33 </td>
34 </tr>
35 </table>
36 <br>&nbsp;
37 </td>
38 <td style="width: 4%"></td>
39 <td style="width: 37% ">
40 <table cellspacing="0" style="width: 100%; border: solid 2px #000000; font-size: 12pt;">
41 <tr><td style="width: 40%;">Référence : </td><td style="width: 60%;">71326</td></tr>
42 <tr><td style="width: 40%;">Client : </td><td style="width: 60%;">M. Albert Dupont</td></tr>
43 <tr><td style="width: 40%;">Adresse : </td><td style="width: 60%;">Résidence perdue<br>1, rue sans nom<br>00 000 - Pas de Ville</td></tr>
44 <tr><td style="width: 40%;">TEL : </td><td style="width: 60%;">33 (0) 1 00 00 00 00</td></tr>
45 <tr><td style="width: 40%;">FAX : </td><td style="width: 60%;">33 (0) 1 00 00 00 01</td></tr>
46 <tr><td style="width: 40%;">Code Client : </td><td style="width: 60%;">00C4520100A</td></tr>
47 </table>
48 <table cellspacing="0" style="width: 100%; border: solid 2px #000000">
49 <tr>
50 <th style="width: 40%;">Motif de la Reprise</th>
51 <td style="width: 60%;">Produit non Conforme</td>
52 </tr>
53 </table>
54 <br>
55 </td>
56 <td style="width: 4%"></td>
57 </tr>
58 <tr>
59 <td style="width:55%;">
60 <table cellspacing="0" style="padding: 1px; width: 100%; border: solid 2px #000000; font-size: 11pt; ">
61 <tr>
62 <th style="width: 100%; text-align: center; border: solid 1px #000000;" colspan="4">
63 Partie réservée à Spipu Corp
64 </th>
65 </tr>
66 <tr>
67 <th style="width: 100%; text-align: center; border: solid 1px #000000;" colspan="4">
68 QUANTITE PREVUE AU CHARGEMENT
69 </th>
70 </tr>
71 <tr>
72 <th style="width: 15%; border: solid 1px #000000;">Produit</th>
73 <th style="width: 55%; border: solid 1px #000000;">Designation</th>
74 <th style="width: 15%; border: solid 1px #000000;">Neuf</th>
75 <th style="width: 15%; border: solid 1px #000000;">Abîmé</th>
76 </tr>
77<?php
78$i=0;
79foreach ($produits as $produit) {
80 $i++;
81?>
82 <tr>
83 <td style="width: 15%; border: solid 1px #000000;"><?php echo $produit[0]; ?></td>
84 <td style="width: 55%; border: solid 1px #000000;text-align: left;"><?php echo $produit[1]; ?></td>
85 <td style="width: 15%; border: solid 1px #000000;"><?php echo $produit[4]; ?></td>
86 <td style="width: 15%; border: solid 1px #000000;"><?php echo $produit[2]-$produit[4]; ?></td>
87 </tr>
88
89<?php
90}
91for ($i; $i<12; $i++) {
92?>
93 <tr>
94 <td style="width: 15%; border: solid 1px #000000;">&nbsp;</td>
95 <td style="width: 55%; border: solid 1px #000000;">&nbsp;</td>
96 <td style="width: 15%; border: solid 1px #000000;">&nbsp;</td>
97 <td style="width: 15%; border: solid 1px #000000;">&nbsp;</td>
98 </tr>
99<?php
100}
101?>
102 </table>
103 <br>
104 <table cellspacing="0" style="width: 100%; text-align: left; font-size: 8pt">
105 <tr>
106 <td style="width: 100%">
107 <b><u>Conditions des Retours</u></b><br>
108 1 - il faut des conditions<br>
109 2 - encore des conditions<br>
110 3 - toujours des conditions<br>
111 </td>
112 </tr>
113 </table>
114 <br>
115 <table cellspacing="0" style="width: 100%; border: solid 2px #000000; text-align: center; font-size: 10pt">
116 <tr>
117 <td style="width: 30%"></td>
118 <td style="width: 40%">ACCORD SOCIETE</td>
119 <td style="width: 30%"></td>
120 </tr>
121 <tr>
122 <td style="width: 30%"><br><br>M. XX</td>
123 <td style="width: 40%"></td>
124 <td style="width: 30%"><br><br>Mme XY</td>
125 </tr>
126 </table>
127 </td>
128 <td style="width: 4%"></td>
129 <td style="width: 37%;">
130 <table cellspacing="0" style="padding: 1px; width: 100%; border: solid 2px #000000; font-size: 11pt; ">
131 <tr>
132 <th style="width: 100%; text-align: center; border: solid 1px #000000;" colspan="2">
133 Partie réservée à l'entrepÎt
134 </th>
135 </tr>
136 <tr>
137 <th style="width: 100%; text-align: center; border: solid 1px #000000;" colspan="2">
138 QUANTITE PREVUE AU CHARGEMENT
139 </th>
140 </tr>
141 <tr>
142 <th style="width: 50%; border: solid 1px #000000;">Produit neuf </th>
143 <th style="width: 50%; border: solid 1px #000000;">Produit à reconditionner </th>
144 </tr>
145<?php
146for ($i=0; $i<12; $i++) {
147?>
148 <tr>
149 <td style="width: 50%; border: solid 1px #000000;">&nbsp;</td>
150 <td style="width: 50%; border: solid 1px #000000;">&nbsp;</td>
151 </tr>
152<?php
153}
154?>
155 </table>
156 <br>
157 <table cellspacing="0" style="width: 100%; border: solid 2px #000000; text-align: left; font-size: 10pt">
158 <tr>
159 <th style="width: 30%;">
160 Commentaire<br>
161 Retour :<br>
162 &nbsp;<br>
163 &nbsp;<br>
164 </th>
165 <td style="width: 70%;">
166 </td>
167 </tr>
168 </table>
169 <br>
170 <br>
171 <span style="font-size: 13pt"><b><u>A COLLER IMPERATIVEMENT SUR LES COLIS</u></b></span>
172 </td>
173 <td style="width: 4%"></td>
174 </tr>
175 </table>
176</page>
Note: See TracBrowser for help on using the repository browser.