Révision f481f9ee
css/print.css | ||
---|---|---|
1 |
/* |
|
1 |
</*
|
|
2 | 2 |
* @version $Id: print.css 7763 2009-01-06 18:44:50Z moyo $ |
3 | 3 |
------------------------------------------------------------------------- |
4 | 4 |
GLPI - Gestionnaire Libre de Parc Informatique |
... | ... | |
34 | 34 |
/* #################################### */ |
35 | 35 |
/* ###### general ###### */ |
36 | 36 |
/* #################################### */ |
37 |
body |
|
38 |
{ |
|
39 |
padding :5px; |
|
40 |
margin :0; |
|
41 |
font-size : 12px; |
|
42 |
background-color : #FFFFFF; |
|
43 |
color : #000000; |
|
44 |
font-family: Verdana,Arial,Helvetica,sans-serif; |
|
45 | 37 |
|
46 |
} |
|
38 |
body |
|
39 |
{ |
|
40 |
padding :5px; |
|
41 |
margin :0; |
|
42 |
background-color : #FFFFFF; |
|
43 |
color : #000000; |
|
44 |
font-family: Verdana,Arial,Helvetica,sans-serif; |
|
45 |
} |
|
47 | 46 |
|
48 | 47 |
|
49 |
div#header{ |
|
50 |
display: none; |
|
51 |
} |
|
48 |
div#header |
|
49 |
{ |
|
50 |
display: none; |
|
51 |
} |
|
52 | 52 |
|
53 |
.over_link { |
|
54 |
display: none; |
|
53 |
.over_link |
|
54 |
{ |
|
55 |
display: none; |
|
55 | 56 |
} |
56 | 57 |
|
57 | 58 |
/* #################################### */ |
... | ... | |
59 | 60 |
/* #################################### */ |
60 | 61 |
|
61 | 62 |
|
62 |
a, a:link |
|
63 |
{ |
|
64 |
font-weight: bold; |
|
65 |
text-decoration: none; |
|
66 |
color : #659900; |
|
67 |
} |
|
68 |
|
|
69 |
/* |
|
70 |
a:visited { |
|
63 |
a, a:link |
|
64 |
{ |
|
71 | 65 |
font-weight: bold; |
72 | 66 |
text-decoration: none; |
73 |
color : #659900; |
|
74 |
} |
|
75 |
*/ |
|
76 |
|
|
77 |
a:hover |
|
78 |
{ |
|
79 |
color: black; |
|
80 |
} |
|
67 |
color : #659900; |
|
68 |
} |
|
81 | 69 |
|
82 |
hr{border: 1px solid #cccccc; |
|
83 |
} |
|
70 |
hr{ |
|
71 |
border: 1px solid #cccccc; |
|
72 |
} |
|
84 | 73 |
|
85 | 74 |
|
86 | 75 |
/* #################################### */ |
87 | 76 |
/* ###### form ###### */ |
88 | 77 |
/* #################################### */ |
89 | 78 |
|
90 |
form {font-size: 12px; |
|
91 |
margin:0; |
|
92 |
padding:0; } |
|
79 |
form { |
|
80 |
margin:0; |
|
81 |
padding:0; |
|
82 |
} |
|
93 | 83 |
|
94 |
option {border:1px solid #ccc; |
|
95 |
background-color:#ffffff;} |
|
84 |
option { |
|
85 |
border:1px solid #ccc; |
|
86 |
background-color:#ffffff; |
|
87 |
} |
|
96 | 88 |
|
97 |
.submit { |
|
98 |
display:none; |
|
99 |
text-align:center;} |
|
89 |
.submit { |
|
90 |
display:none; |
|
91 |
text-align:center; |
|
92 |
} |
|
100 | 93 |
|
101 |
select { font-size: 11px;
|
|
94 |
select { |
|
102 | 95 |
} |
103 | 96 |
|
104 | 97 |
|
105 | 98 |
input.submit { |
106 |
display:none;
|
|
107 |
border:1px solid #659900;
|
|
108 |
background-color:#eeeeee;
|
|
109 |
}
|
|
110 |
|
|
99 |
display:none; |
|
100 |
border:1px solid #659900;
|
|
101 |
background-color:#eeeeee; |
|
102 |
} |
|
103 |
|
|
111 | 104 |
input.submit:hover { |
112 |
display:none;
|
|
113 |
border:1px solid #659900;
|
|
114 |
background-color:#ffffff;
|
|
115 |
}
|
|
105 |
display:none; |
|
106 |
border:1px solid #659900;
|
|
107 |
background-color:#ffffff; |
|
108 |
} |
|
116 | 109 |
|
117 | 110 |
.button { |
118 |
display:none;
|
|
119 |
border:1px solid #659900;
|
|
120 |
background-color:#eeeeee;
|
|
121 |
}
|
|
111 |
display:none; |
|
112 |
border:1px solid #659900;
|
|
113 |
background-color:#eeeeee; |
|
114 |
} |
|
122 | 115 |
|
123 | 116 |
.button:hover{ |
124 |
display:none;
|
|
125 |
border:1px solid #659900;
|
|
126 |
background-color:#ffffff;
|
|
127 |
}
|
|
117 |
display:none; |
|
118 |
border:1px solid #659900;
|
|
119 |
background-color:#ffffff; |
|
120 |
} |
|
128 | 121 |
|
129 | 122 |
|
130 | 123 |
.calendrier{ |
131 |
border:1px solid #659900; |
|
132 |
background-color:#eeeeee; |
|
133 |
vertical-align:middle; |
|
134 |
} |
|
135 |
|
|
136 |
.calendrier:hover{ |
|
137 |
border:1px solid #659900; |
|
138 |
background-color:#ffffff; |
|
139 |
} |
|
140 |
|
|
141 |
|
|
142 |
|
|
143 |
/* #################################### */ |
|
144 |
/* ###### table ###### */ |
|
145 |
/* #################################### */ |
|
146 |
table { } |
|
147 |
|
|
148 |
th { |
|
149 |
font-size: 12px; |
|
150 |
font-weight: bold; |
|
151 |
/* background-color: #FFC65D;*/ |
|
152 |
background-color: #fccc6f; |
|
153 |
vertical-align:bottom;} |
|
154 |
|
|
155 |
|
|
156 |
|
|
157 |
td { font-size: 11px;} |
|
158 |
|
|
159 |
.tab_cadre{ |
|
160 |
-moz-border-radius: 4px; |
|
161 |
border: 1px solid #cccccc; |
|
124 |
border:1px solid #659900; |
|
125 |
background-color:#eeeeee; |
|
126 |
vertical-align:middle; |
|
162 | 127 |
} |
163 | 128 |
|
164 |
.tab_cadre2{ |
|
165 |
text-align:center; |
|
166 |
-moz-border-radius: 4px; |
|
167 |
border: 1px solid #cccccc; |
|
129 |
.calendrier:hover{ |
|
130 |
border:1px solid #659900; |
|
131 |
background-color:#ffffff; |
|
168 | 132 |
} |
169 | 133 |
|
170 | 134 |
|
171 |
.tab_bg_1 { |
|
172 |
background-color: #ccccc7; |
|
173 |
|
|
135 |
/* #################################### */ |
|
136 |
/* ###### table ###### */ |
|
137 |
/* #################################### */ |
|
138 |
table { |
|
139 |
border: none; |
|
174 | 140 |
} |
175 |
.tab_bg_1_2 { |
|
176 |
background-color: #cc5555; |
|
177 | 141 |
|
142 |
.tab_cadre { |
|
143 |
border: 1px solid black; |
|
178 | 144 |
} |
179 | 145 |
|
180 |
.tab_bg_2 { |
|
181 |
background-color: #d7d7d2; |
|
182 |
|
|
146 |
th { |
|
147 |
font-weight: bold; |
|
148 |
background-color: #fccc6f; |
|
149 |
vertical-align:bottom; |
|
183 | 150 |
} |
184 |
|
|
185 |
.tab_bg_2_2 { |
|
186 |
background-color: #cc5555; |
|
151 |
|
|
152 |
td { |
|
187 | 153 |
|
188 | 154 |
} |
189 | 155 |
|
190 |
.tab_bg_3 { |
|
191 |
/*background-color: #eeeeee;*/ |
|
192 |
background-color: #e7e7e2; |
|
193 |
|
|
156 |
.tab_bg_3 tr { |
|
157 |
border-bottom: 1px solid black; |
|
194 | 158 |
} |
195 |
|
|
196 |
.tab_resa { |
|
197 |
border:1px dashed #cccccc; |
|
198 |
background-color: #d7d7d2; |
|
199 |
font-size:8px |
|
200 |
} |
|
201 |
|
|
202 |
.tab_resa:hover { |
|
203 |
|
|
204 |
background-color: #ffffff; |
|
205 |
border:1px dotted #000000; |
|
206 |
|
|
207 |
|
|
208 |
} |
|
209 | 159 |
|
210 | 160 |
|
211 |
/* #################################### */ |
|
212 |
/* ###### login ###### */ |
|
213 |
/* #################################### */ |
|
214 |
#contenulogin { |
|
215 |
/* a voir je suis pas bien sr */ |
|
216 |
/*height: 100%;*/ |
|
217 |
font-family : Verdana,Arial,Helvetica,sans-serif; |
|
218 |
font-size : 12px; |
|
219 |
/*position: relative; *//*ou absolute */ |
|
220 |
left: 50%; |
|
221 |
width: 300px; |
|
222 |
/*margin-left: -150px;*/ |
|
223 |
color :#659900; |
|
224 |
margin: 0 auto; |
|
225 |
} |
|
161 |
/* #################################### */ |
|
162 |
/* ###### login ###### */ |
|
163 |
/* #################################### */ |
|
164 |
#contenulogin { |
|
165 |
/* a voir je suis pas bien sr */ |
|
166 |
/*height: 100%;*/ |
|
167 |
font-family : Verdana,Arial,Helvetica,sans-serif; |
|
168 |
/*position: relative; *//*ou absolute */ |
|
169 |
left: 50%; |
|
170 |
width: 300px; |
|
171 |
/*margin-left: -150px;*/ |
|
172 |
color :#659900; |
|
173 |
margin: 0 auto; |
|
174 |
} |
|
226 | 175 |
|
227 | 176 |
#boxlogin { |
228 | 177 |
background-color: #FFFFFF; |
... | ... | |
242 | 191 |
|
243 | 192 |
#boxlogin legend { |
244 | 193 |
font-family:"Trebuchet MS",Verdana,Geneva,Arial,Helvetica,sans-serif; |
245 |
font-size: 16px; |
|
246 | 194 |
font-weight: 700; |
247 | 195 |
background-color: transparent; |
248 | 196 |
} |
... | ... | |
261 | 209 |
|
262 | 210 |
.sous_logo { |
263 | 211 |
font-family: arial; |
264 |
font-size: 9px; |
|
265 | 212 |
color: #eeeeee; |
266 | 213 |
text-decoration: none; |
267 | 214 |
} |
... | ... | |
293 | 240 |
|
294 | 241 |
|
295 | 242 |
.menu_title { |
296 |
font-size : 10px; |
|
297 |
|
|
298 | 243 |
color : #000000; |
299 | 244 |
font-family: Verdana,Arial,Helvetica,sans-serif; |
300 | 245 |
font-weight: bold; |
... | ... | |
303 | 248 |
|
304 | 249 |
|
305 | 250 |
.menu a { |
306 |
font-family: "Trebuchet MS", Tahoma, Arial, Helvetica, sans-serif; |
|
307 |
font-size : 11px; |
|
308 |
color : #757575; |
|
309 |
background-color: transparent; |
|
310 |
text-decoration: none; |
|
311 |
font-weight: bold; |
|
251 |
font-family: "Trebuchet MS", Tahoma, Arial, Helvetica, sans-serif; |
|
252 |
color : #757575; |
|
253 |
background-color: transparent; |
|
254 |
text-decoration: none; |
|
255 |
font-weight: bold; |
|
312 | 256 |
} |
313 | 257 |
|
314 | 258 |
.menu a:hover { |
315 |
font-family: "Trebuchet MS", Tahoma, Arial, Helvetica, sans-serif; |
|
316 |
font-size : 11px; |
|
317 |
color : #FFFFFF; |
|
318 |
text-decoration: none; |
|
319 |
border: none; |
|
320 |
font-weight:bold; |
|
321 |
background-color: #339966; |
|
259 |
font-family: "Trebuchet MS", Tahoma, Arial, Helvetica, sans-serif; |
|
260 |
color : #FFFFFF; |
|
261 |
text-decoration: none; |
|
262 |
border: none; |
|
263 |
font-weight:bold; |
|
264 |
background-color: #339966; |
|
322 | 265 |
} |
323 | 266 |
|
324 | 267 |
|
325 | 268 |
a.icon_logo img{ |
326 |
padding: 7px; |
|
327 |
margin: 1px; |
|
328 |
border: 1px solid #aaaaaa; |
|
329 |
background-color: #ffffff; |
|
330 |
-moz-border-radius: 5px; |
|
331 |
font-size : 12px; |
|
332 |
font-weight: bold; |
|
269 |
padding: 7px; |
|
270 |
margin: 1px; |
|
271 |
border: 1px solid #aaaaaa; |
|
272 |
background-color: #ffffff; |
|
273 |
-moz-border-radius: 5px; |
|
274 |
font-weig<ht: bold; |
|
333 | 275 |
} |
334 | 276 |
|
335 | 277 |
|
336 | 278 |
a.icon_logo:hover img { |
337 |
padding: 7px;
|
|
338 |
margin: 1px;
|
|
339 |
border: 1px solid #999999;
|
|
340 |
background-color: #e4e4e4;
|
|
341 |
-moz-border-radius: 5px;
|
|
279 |
padding: 7px;
|
|
280 |
margin: 1px;
|
|
281 |
border: 1px solid #999999;
|
|
282 |
background-color: #e4e4e4;
|
|
283 |
-moz-border-radius: 5px;
|
|
342 | 284 |
} |
343 | 285 |
|
344 | 286 |
|
345 | 287 |
|
346 | 288 |
|
347 | 289 |
.icon_nav { |
348 |
padding: 4px; |
|
349 |
margin: 1px; |
|
350 |
border: 1px solid #aaaaaa; |
|
351 |
background-color: #C5DAC8; |
|
352 |
-moz-border-radius: 5px; |
|
353 |
font-size : 12px; |
|
354 |
font-weight: bold; |
|
290 |
padding: 4px; |
|
291 |
margin: 1px; |
|
292 |
border: 1px solid #aaaaaa; |
|
293 |
background-color: #C5DAC8; |
|
294 |
-moz-border-radius: 5px; |
|
295 |
font-weight: bold; |
|
355 | 296 |
} |
356 | 297 |
|
357 | 298 |
|
... | ... | |
378 | 319 |
border: 1px solid #aaaaaa; |
379 | 320 |
|
380 | 321 |
-moz-border-radius: 5px; |
381 |
font-size : 9px; |
|
382 |
|
|
383 | 322 |
} |
384 | 323 |
|
385 | 324 |
|
... | ... | |
394 | 333 |
|
395 | 334 |
.icon_consol { |
396 | 335 |
font-family: "Trebuchet MS", Tahoma, Arial, Helvetica, sans-serif; |
397 |
font-size : 12px; |
|
398 | 336 |
font-weight: bold; |
399 | 337 |
padding: 4px; |
400 | 338 |
padding-right: 8px; |
... | ... | |
432 | 370 |
border: 2px outset #FFC65D; |
433 | 371 |
padding: 5px; |
434 | 372 |
margin-top: 200px; |
435 |
clear:both;
|
|
436 |
}
|
|
373 |
clear:both; |
|
374 |
} |
|
437 | 375 |
|
438 |
|
|
439 |
|
|
440 | 376 |
.copyright { |
441 |
font-size : 10px; |
|
442 |
|
|
443 | 377 |
color :#757575; |
444 | 378 |
font-family: Verdana,Arial,Helvetica,sans-serif; |
445 | 379 |
font-weight: bold; |
446 |
|
|
447 |
|
|
448 |
|
|
449 |
|
|
450 | 380 |
} |
451 | 381 |
|
452 | 382 |
|
... | ... | |
522 | 452 |
/* #################################### */ |
523 | 453 |
/* Raccourcis typo */ |
524 | 454 |
/* #################################### */ |
525 |
.verdana1 { font-family: Verdana, Arial, Sans, sans-serif; font-size: 10px; }
|
|
455 |
.verdana1 { font-family: Verdana, Arial, Sans, sans-serif; } |
|
526 | 456 |
|
527 | 457 |
/* #################################### */ |
528 | 458 |
/* ###### knowledge base / FAQ ###### */ |
... | ... | |
581 | 511 |
p.toolbar a |
582 | 512 |
{ |
583 | 513 |
|
584 |
font-size: 12px; |
|
585 | 514 |
font-family: Verdana, Arial, sans-serif; |
586 | 515 |
padding: 5px; |
587 | 516 |
margin: 2px; |
... | ... | |
615 | 544 |
|
616 | 545 |
.barre { text-decoration : line-through; } |
617 | 546 |
|
547 |
.tab_cadre { |
|
548 |
} |
|
549 |
|
|
550 |
.tab_bg_1 { |
|
551 |
} |
|
552 |
.tab_bg_1_2 { |
|
553 |
} |
|
554 |
|
|
555 |
.tab_bg_2 { |
|
556 |
} |
|
618 | 557 |
|
558 |
.tab_bg_2_2 { |
|
559 |
} |
|
619 | 560 |
|
561 |
.tab_bg_3 { |
|
562 |
} |
|
563 |
|
|
564 |
.tab_bg_4 { |
|
565 |
} |
|
566 |
|
|
567 |
.tab_bg_5 { |
|
568 |
} |
|
569 |
|
|
570 |
html { |
|
571 |
margin: 0px; |
|
572 |
font-size: 7pt; |
|
573 |
font-family: Verdana,Arial,Helvetica,sans-serif; |
|
574 |
} |
plugins/anet_epacks/front/plugin_anet_epacks.view_recap_mensuel_rvd.php | ||
---|---|---|
7 | 7 |
} |
8 | 8 |
include_once (GLPI_ROOT . "/inc/includes.php"); |
9 | 9 |
|
10 |
//Les dates en francais svp |
|
11 |
setlocale(LC_TIME, "fr_FR"); |
|
12 |
|
|
10 | 13 |
checkRight("config","w"); |
11 | 14 |
//checkSeveralRightsOr(array("config" => "w", "profile" => "w")); |
12 | 15 |
|
13 | 16 |
commonHeader("anet_epacks",$_SERVER['PHP_SELF'],"config","plugins"); |
17 |
print "<h1>Création du relevé mensuel</h1>"; |
|
14 | 18 |
|
15 |
print "<h1>Relevé mensuel de " . $_GET['year'] . "-" . $_GET['month'] . "</h1>"; |
|
19 |
$choix = ""; |
|
20 |
for($i = 2009; $i <= date("Y"); $i++) { |
|
21 |
for($j = 1; $j < 13; $j++) { |
|
22 |
$choix .= "<a href=\"" . $PHP_SELF . "?year=$i&month=$j\">$j/$i</a> :: "; |
|
23 |
} |
|
24 |
} |
|
16 | 25 |
|
17 |
print "<p>Récapitulatif pour la période : <a href=\"" . $PHP_SELF . "\">Tous</a> - <a href=\"" . $PHP_SELF . "?year=2009&month=12\">Déc. 2009</a> - <a href=\"" . $PHP_SELF . "?year=2010&month=01\">Jan 2010</a> - <a href=\"" . $PHP_SELF . "?year=2010&month=02\">Fev 2010</a> - <a href=\"" . $PHP_SELF . "?year=2010&month=03\">Mars 2010</a>.</p>";
|
|
26 |
print "<p>Choix de la période : $choix</p>";
|
|
18 | 27 |
|
19 | 28 |
global $DB; |
20 | 29 |
|
... | ... | |
26 | 35 |
LEFT JOIN glpi_entities AS g3 ON FK_client=g3.ID |
27 | 36 |
LEFT JOIN glpi_computers AS g4 ON FK_serveur=g4.ID |
28 | 37 |
WHERE creation_date>'0000-00-00' |
38 |
AND creation_date<'" . $_GET['year'] . "-" . $_GET['month'] . "-00' |
|
29 | 39 |
AND FK_clientderyxeo='" . $id . "' |
30 | 40 |
AND FK_contract>='0' |
31 | 41 |
ORDER BY activation_date"; |
... | ... | |
33 | 43 |
|
34 | 44 |
//La liste des epacks clairement hors maintenance |
35 | 45 |
|
36 |
$txt = "<table class='tab_cadre' width='100%' cellpadding='2'>\n";
|
|
46 |
$txt = "<table width='100%' cellpadding='2'>\n"; |
|
37 | 47 |
$txt .= "<tr class='tab_bg_3'> |
38 |
<td>Création</td> |
|
39 |
<td>Activation</td> |
|
40 |
<td>Activé par</td> |
|
41 |
<td>Client final</td> |
|
48 |
<td>Créat. / Activat.</td> |
|
49 |
<td>Activé</td> |
|
50 |
<td>Client</td> |
|
42 | 51 |
<td>ePack</td> |
43 |
</tr>\n"; |
|
52 |
<td>Maintenance</td> |
|
53 |
</tr style=\"border-bottom: 1px solid black;\">\n"; |
|
44 | 54 |
for($i = 0; $i < $DB->numrows($result2); $i++) { |
45 | 55 |
$data2=$DB->fetch_array($result2); |
46 | 56 |
$txt .= "<tr class='tab_bg_3'>\n"; |
47 |
$txt .= " <td>" . $data2['creation_date'] . "</td>
|
|
48 |
<td>" . $data2['activation_date'] . "</td>
|
|
49 |
<td>" . $data2['activation'] . "</td>
|
|
50 |
<td>" . $data2['client'] . " (" . $data2['serveur'] . ")</td>
|
|
51 |
<td>" . $data2['code'] . "<br><br></td>
|
|
57 |
$txt .= " <td style=\"text-align:left\" nowrap>Cré: " . strftime("%d/%m/%Y", strtotime($data2['creation_date'])) . "<br />Act: " . strftime("%d/%m/%Y", strtotime($data2['activation_date'])) . "</td>
|
|
58 |
<td valign=\"top\">" . $data2['activation'] . "</td>
|
|
59 |
<td valign=\"top\">" . $data2['client'] . " (" . $data2['serveur'] . ")</td>
|
|
60 |
<td valign=\"top\" nowrap>" . $data2['code'] . "</td>
|
|
61 |
<td nowrap></td>
|
|
52 | 62 |
</tr>\n"; |
53 | 63 |
unset($data2); |
54 | 64 |
} |
... | ... | |
57 | 67 |
</tr>\n"; |
58 | 68 |
|
59 | 69 |
$txt .= "</table>"; |
60 |
return $txt; |
|
70 |
if($i == 0) |
|
71 |
unset($txt); |
|
72 |
return $txt; |
|
61 | 73 |
} |
62 | 74 |
|
63 | 75 |
//Le tableau global pour avoir la liste des revendeurs |
... | ... | |
65 | 77 |
$query = "SELECT e.FK_clientderyxeo,g.name as clientderyxeo FROM glpi_plugin_anet_epacks AS e LEFT JOIN glpi_entities AS g ON FK_clientderyxeo=g.ID WHERE parentID='3' GROUP BY FK_clientderyxeo"; |
66 | 78 |
$result = $DB->query($query) or die($DB->error()); |
67 | 79 |
|
68 |
print "<table class='tab_cadre' width='100%' cellpadding='2'>\n"; |
|
69 |
print "<tr class='tab_bg_3'> |
|
70 |
<td>Nom</td> |
|
71 |
<td>Détails</td> |
|
72 |
<td>Documents</td> |
|
73 |
</tr>\n"; |
|
74 | 80 |
for($i = 0; $i < $DB->numrows($result); $i++) { |
81 |
|
|
75 | 82 |
$data=$DB->fetch_array($result); |
76 | 83 |
|
77 |
print "<tr class='tab_bg_3'>\n"; |
|
78 |
print " <td>" . $data['clientderyxeo'] . " </td> |
|
79 |
<td>" . rvd_get_details($data['FK_clientderyxeo']) . "</td> |
|
80 |
<td>" . $documents . "<br><br></td> |
|
84 |
/* |
|
85 |
print "<table class='tab_cadre' width='100%' cellpadding='2'>\n"; |
|
86 |
print "<tr class='tab_bg_3'> |
|
87 |
<td>Nom</td> |
|
88 |
<td>Détails</td> |
|
89 |
</tr>\n"; |
|
90 |
print "<tr class='tab_bg_3'>\n"; |
|
91 |
print " <td valign=\"top\">" . $data['clientderyxeo'] . " </td> |
|
92 |
<td valign=\"top\">" . rvd_get_details($data['FK_clientderyxeo']) . "</td> |
|
81 | 93 |
</tr>\n"; |
82 |
unset($data); |
|
94 |
*/ |
|
95 |
$txt = rvd_get_details($data['FK_clientderyxeo']); |
|
96 |
if($txt != "") { |
|
97 |
print "<p style=\"page-break-after: always\"> </p>\n"; |
|
98 |
print " <h2 style=\"text-align: left\"> Relevé mensuel (" . strftime("%B", strtotime($_GET['year'] . "/" . $_GET['month'] . "/01")) . " " . $_GET['year'] . ") pour " . $data['clientderyxeo'] . " </h2>"; |
|
99 |
print $txt; |
|
100 |
unset($data); |
|
101 |
} |
|
102 |
/* |
|
103 |
print "</table>"; |
|
104 |
*/ |
|
83 | 105 |
} |
84 |
print "<tr class='tab_bg_3'> |
|
106 |
|
|
107 |
/* |
|
108 |
print "<p style=\"page-break-after: always\"> </p>\n"; |
|
109 |
print " <h2 style=\"text-align: left\"> Synthèse du relevé mensuel de " . $_GET['month'] . "/" . $_GET['year'] . "</h2>"; |
|
110 |
print "<table> |
|
111 |
<tr class='tab_bg_3'> |
|
85 | 112 |
<td colspan=\"3\"><br />Nombre total de revendeurs: " . $i . "<br /></td> |
86 | 113 |
</tr>\n"; |
87 | 114 |
print "</table>"; |
115 |
*/ |
|
88 | 116 |
|
89 | 117 |
//Les packs attribués |
90 | 118 |
//Permet de limiter un peu l'affichage, il faudra faire un système de recherche ou pagination à terme |
Formats disponibles : Unified diff