dolibarr  13.0.2
index.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
3  * Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
4  * Copyright (C) 2004-2020 Laurent Destailleur <eldy@users.sourceforge.net>
5  * Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.com>
6  * Copyright (C) 2019 Nicolas ZABOURI <info@inovea-conseil.com>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <https://www.gnu.org/licenses/>.
20  */
21 
28 require '../main.inc.php';
29 require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
30 require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent_type.class.php';
31 require_once DOL_DOCUMENT_ROOT.'/adherents/class/subscription.class.php';
32 
33 $hookmanager = new HookManager($db);
34 
35 // Initialize technical object to manage hooks. Note that conf->hooks_modules contains array
36 $hookmanager->initHooks(array('membersindex'));
37 
38 // Load translation files required by the page
39 $langs->loadLangs(array("companies", "members"));
40 
41 // Security check
42 $result = restrictedArea($user, 'adherent');
43 
44 
45 /*
46  * View
47  */
48 
49 llxHeader('', $langs->trans("Members"), 'EN:Module_Foundations|FR:Module_Adh&eacute;rents|ES:M&oacute;dulo_Miembros');
50 
51 $staticmember = new Adherent($db);
52 $statictype = new AdherentType($db);
53 $subscriptionstatic = new Subscription($db);
54 
55 print load_fiche_titre($langs->trans("MembersArea"), '', 'members');
56 
57 $Adherents = array();
58 $AdherentsAValider = array();
59 $MemberUpToDate = array();
60 $AdherentsResilies = array();
61 
62 $AdherentType = array();
63 
64 // Type of membership
65 $sql = "SELECT t.rowid, t.libelle as label, t.subscription,";
66 $sql .= " d.statut, count(d.rowid) as somme";
67 $sql .= " FROM ".MAIN_DB_PREFIX."adherent_type as t";
68 $sql .= " LEFT JOIN ".MAIN_DB_PREFIX."adherent as d";
69 $sql .= " ON t.rowid = d.fk_adherent_type";
70 $sql .= " AND d.entity IN (".getEntity('adherent').")";
71 $sql .= " WHERE t.entity IN (".getEntity('member_type').")";
72 $sql .= " GROUP BY t.rowid, t.libelle, t.subscription, d.statut";
73 
74 dol_syslog("index.php::select nb of members per type", LOG_DEBUG);
75 $result = $db->query($sql);
76 if ($result) {
77  $num = $db->num_rows($result);
78  $i = 0;
79  while ($i < $num) {
80  $objp = $db->fetch_object($result);
81 
82  $adhtype = new AdherentType($db);
83  $adhtype->id = $objp->rowid;
84  $adhtype->subscription = $objp->subscription;
85  $adhtype->label = $objp->label;
86  $AdherentType[$objp->rowid] = $adhtype;
87 
88  if ($objp->statut == -1) { $MemberToValidate[$objp->rowid] = $objp->somme; }
89  if ($objp->statut == 1) { $MembersValidated[$objp->rowid] = $objp->somme; }
90  if ($objp->statut == 0) { $MembersResiliated[$objp->rowid] = $objp->somme; }
91 
92  $i++;
93  }
94  $db->free($result);
95 }
96 
97 $now = dol_now();
98 
99 // Members up to date list
100 // current rule: uptodate = the end date is in future whatever is type
101 // old rule: uptodate = if type does not need payment, that end date is null, if type need payment that end date is in future)
102 $sql = "SELECT count(*) as somme , d.fk_adherent_type";
103 $sql .= " FROM ".MAIN_DB_PREFIX."adherent as d, ".MAIN_DB_PREFIX."adherent_type as t";
104 $sql .= " WHERE d.entity IN (".getEntity('adherent').")";
105 $sql .= " AND d.statut = 1 AND (d.datefin >= '".$db->idate($now)."' OR t.subscription = 0)";
106 $sql .= " AND t.rowid = d.fk_adherent_type";
107 $sql .= " GROUP BY d.fk_adherent_type";
108 
109 dol_syslog("index.php::select nb of uptodate members by type", LOG_DEBUG);
110 $result = $db->query($sql);
111 if ($result) {
112  $num = $db->num_rows($result);
113  $i = 0;
114  while ($i < $num) {
115  $objp = $db->fetch_object($result);
116  $MemberUpToDate[$objp->fk_adherent_type] = $objp->somme;
117  $i++;
118  }
119  $db->free();
120 }
121 
122 
123 print '<div class="fichecenter"><div class="fichethirdleft">';
124 
125 
126 if (!empty($conf->global->MAIN_SEARCH_FORM_ON_HOME_AREAS)) { // This is useless due to the global search combo
127  // Search contact/address
128  if (!empty($conf->adherent->enabled) && $user->rights->adherent->lire) {
129  $listofsearchfields['search_member'] = array('text'=>'Member');
130  }
131 
132  if (count($listofsearchfields)) {
133  print '<form method="post" action="'.DOL_URL_ROOT.'/core/search.php">';
134  print '<input type="hidden" name="token" value="'.newToken().'">';
135  print '<div class="div-table-responsive-no-min">';
136  print '<table class="noborder nohover centpercent">';
137  $i = 0;
138  foreach ($listofsearchfields as $key => $value) {
139  if ($i == 0) print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("Search").'</td></tr>';
140  print '<tr class="oddeven">';
141  print '<td class="nowrap"><label for="'.$key.'">'.$langs->trans($value["text"]).'</label>:</td><td><input type="text" class="flat inputsearch" name="'.$key.'" id="'.$key.'" size="18"></td>';
142  if ($i == 0) print '<td rowspan="'.count($listofsearchfields).'"><input type="submit" value="'.$langs->trans("Search").'" class="button"></td>';
143  print '</tr>';
144  $i++;
145  }
146  print '</table>';
147  print '</div>';
148  print '</form>';
149  print '<br>';
150  }
151 }
152 
153 
154 /*
155  * Statistics
156  */
157 
158 if ($conf->use_javascript_ajax) {
159  print '<div class="div-table-responsive-no-min">';
160  print '<table class="noborder nohover centpercent">';
161  print '<tr class="liste_titre"><th colspan="2">'.$langs->trans("Statistics").'</th></tr>';
162  print '<tr><td class="center" colspan="2">';
163 
164  $SommeA = 0;
165  $SommeB = 0;
166  $SommeC = 0;
167  $SommeD = 0;
168  $total = 0;
169  $dataval = array();
170  $i = 0;
171  foreach ($AdherentType as $key => $adhtype) {
172  $dataval['draft'][] = array($i, isset($MemberToValidate[$key]) ? $MemberToValidate[$key] : 0);
173  $dataval['notuptodate'][] = array($i, isset($MembersValidated[$key]) ? $MembersValidated[$key] - (isset($MemberUpToDate[$key]) ? $MemberUpToDate[$key] : 0) : 0);
174  $dataval['uptodate'][] = array($i, isset($MemberUpToDate[$key]) ? $MemberUpToDate[$key] : 0);
175  $dataval['resiliated'][] = array($i, isset($MembersResiliated[$key]) ? $MembersResiliated[$key] : 0);
176  $SommeA += isset($MemberToValidate[$key]) ? $MemberToValidate[$key] : 0;
177  $SommeB += isset($MembersValidated[$key]) ? $MembersValidated[$key] - (isset($MemberUpToDate[$key]) ? $MemberUpToDate[$key] : 0) : 0;
178  $SommeC += isset($MemberUpToDate[$key]) ? $MemberUpToDate[$key] : 0;
179  $SommeD += isset($MembersResiliated[$key]) ? $MembersResiliated[$key] : 0;
180  $i++;
181  }
182  $total = $SommeA + $SommeB + $SommeC + $SommeD;
183  $dataseries = array();
184  $dataseries[] = array($langs->transnoentitiesnoconv("OutOfDate"), round($SommeB));
185  $dataseries[] = array($langs->transnoentitiesnoconv("UpToDate"), round($SommeC));
186  $dataseries[] = array($langs->transnoentitiesnoconv("MembersStatusResiliated"), round($SommeD));
187  $dataseries[] = array($langs->transnoentitiesnoconv("MembersStatusToValid"), round($SommeA));
188 
189  include_once DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/theme_vars.inc.php';
190 
191  include_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php';
192  $dolgraph = new DolGraph();
193  $dolgraph->SetData($dataseries);
194  $dolgraph->SetDataColor(array($badgeStatus1, $badgeStatus4, $badgeStatus6, '-'.$badgeStatus0));
195  $dolgraph->setShowLegend(2);
196  $dolgraph->setShowPercent(1);
197  $dolgraph->SetType(array('pie'));
198  $dolgraph->setHeight('200');
199  $dolgraph->draw('idgraphstatus');
200  print $dolgraph->show($total ? 0 : 1);
201 
202  print '</td></tr>';
203  print '<tr class="liste_total"><td>'.$langs->trans("Total").'</td><td class="right">';
204  print $SommeA + $SommeB + $SommeC + $SommeD;
205  print '</td></tr>';
206  print '</table>';
207  print '</div>';
208 }
209 
210 print '<br>';
211 
212 // List of subscription by year
213 $Total = array();
214 $Number = array();
215 $tot = 0;
216 $numb = 0;
217 
218 $sql = "SELECT c.subscription, c.dateadh as dateh";
219 $sql .= " FROM ".MAIN_DB_PREFIX."adherent as d, ".MAIN_DB_PREFIX."subscription as c";
220 $sql .= " WHERE d.entity IN (".getEntity('adherent').")";
221 $sql .= " AND d.rowid = c.fk_adherent";
222 
223 
224 $result = $db->query($sql);
225 if ($result) {
226  $num = $db->num_rows($result);
227  $i = 0;
228  while ($i < $num) {
229  $objp = $db->fetch_object($result);
230  $year = dol_print_date($db->jdate($objp->dateh), "%Y");
231  $Total[$year] = (isset($Total[$year]) ? $Total[$year] : 0) + $objp->subscription;
232  $Number[$year] = (isset($Number[$year]) ? $Number[$year] : 0) + 1;
233  $tot += $objp->subscription;
234  $numb += 1;
235  $i++;
236  }
237 }
238 
239 print '<div class="div-table-responsive-no-min">';
240 print '<table class="noborder centpercent">';
241 print '<tr class="liste_titre">';
242 print '<th>'.$langs->trans("Year").'</th>';
243 print '<th class="right">'.$langs->trans("Subscriptions").'</th>';
244 print '<th class="right">'.$langs->trans("AmountTotal").'</th>';
245 print '<th class="right">'.$langs->trans("AmountAverage").'</th>';
246 print "</tr>\n";
247 
248 krsort($Total);
249 $i = 0;
250 foreach ($Total as $key=>$value) {
251  if ($i >= 8) {
252  print '<tr class="oddeven">';
253  print "<td>...</td>";
254  print "<td class=\"right\"></td>";
255  print "<td class=\"right\"></td>";
256  print "<td class=\"right\"></td>";
257  print "</tr>\n";
258  break;
259  }
260  print '<tr class="oddeven">';
261  print "<td><a href=\"./subscription/list.php?date_select=$key\">$key</a></td>";
262  print "<td class=\"right\">".$Number[$key]."</td>";
263  print "<td class=\"right\">".price($value)."</td>";
264  print "<td class=\"right\">".price(price2num($value / $Number[$key], 'MT'))."</td>";
265  print "</tr>\n";
266  $i++;
267 }
268 
269 // Total
270 print '<tr class="liste_total">';
271 print '<td>'.$langs->trans("Total").'</td>';
272 print "<td class=\"right\">".$numb."</td>";
273 print '<td class="right">'.price($tot)."</td>";
274 print "<td class=\"right\">".price(price2num($numb > 0 ? ($tot / $numb) : 0, 'MT'))."</td>";
275 print "</tr>\n";
276 print "</table></div>";
277 print "<br>\n";
278 
279 
280 print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
281 
282 /*
283  * Latest modified members
284  */
285 $max = $conf->global->MAIN_SIZE_SHORTLIST_LIMIT;
286 
287 $sql = "SELECT a.rowid, a.statut as status, a.lastname, a.firstname, a.societe as company, a.fk_soc,";
288 $sql .= " a.gender, a.email, a.photo, a.morphy,";
289 $sql .= " a.tms as datem, a.datefin as date_end_subscription,";
290 $sql .= " ta.rowid as typeid, ta.libelle as label, ta.subscription as need_subscription";
291 $sql .= " FROM ".MAIN_DB_PREFIX."adherent as a, ".MAIN_DB_PREFIX."adherent_type as ta";
292 $sql .= " WHERE a.entity IN (".getEntity('adherent').")";
293 $sql .= " AND a.fk_adherent_type = ta.rowid";
294 $sql .= $db->order("a.tms", "DESC");
295 $sql .= $db->plimit($max, 0);
296 
297 $resql = $db->query($sql);
298 if ($resql) {
299  print '<div class="div-table-responsive-no-min">';
300  print '<table class="noborder centpercent">';
301  print '<tr class="liste_titre">';
302  print '<th colspan="4">'.$langs->trans("LastMembersModified", $max).'</th></tr>';
303 
304  $num = $db->num_rows($resql);
305  if ($num) {
306  $i = 0;
307  while ($i < $num) {
308  $obj = $db->fetch_object($resql);
309 
310  $staticmember->id = $obj->rowid;
311  $staticmember->ref = $obj->rowid;
312  $staticmember->lastname = $obj->lastname;
313  $staticmember->firstname = $obj->firstname;
314  $staticmember->gender = $obj->gender;
315  $staticmember->email = $obj->email;
316  $staticmember->photo = $obj->photo;
317  $staticmember->morphy = $obj->morphy;
318  $staticmember->statut = $obj->status;
319  $staticmember->need_subscription = $obj->need_subscription;
320  $staticmember->datefin = $db->jdate($obj->date_end_subscription);
321  if (!empty($obj->fk_soc)) {
322  $staticmember->fk_soc = $obj->fk_soc;
323  $staticmember->fetch_thirdparty();
324  $staticmember->name = $staticmember->thirdparty->name;
325  } else {
326  $staticmember->name = $obj->company;
327  }
328 
329  $statictype->id = $obj->typeid;
330  $statictype->label = $obj->label;
331  $statictype->subscription = $obj->need_subscription;
332 
333  print '<tr class="oddeven">';
334  print '<td class="nowraponall">'.$staticmember->getNomUrl(-1, 32).'</td>';
335  print '<td>'.$statictype->getNomUrl(1, 32).'</td>';
336  print '<td>'.dol_print_date($db->jdate($obj->datem), 'dayhour').'</td>';
337  print '<td class="right">'.$staticmember->getLibStatut(3).'</td>';
338  print '</tr>';
339  $i++;
340  }
341  }
342  print "</table></div>";
343  print "<br>";
344 } else {
345  dol_print_error($db);
346 }
347 
348 
349 /*
350  * Last modified subscriptions
351  */
352 $max = $conf->global->MAIN_SIZE_SHORTLIST_LIMIT;
353 
354 $sql = "SELECT a.rowid, a.statut as status, a.lastname, a.firstname, a.societe as company, a.fk_soc,";
355 $sql .= " a.gender, a.email, a.photo, a.morphy,";
356 $sql .= " a.datefin as date_end_subscription,";
357 $sql .= " ta.rowid as typeid, ta.libelle as label, ta.subscription as need_subscription,";
358 $sql .= " c.rowid as cid, c.tms as datem, c.datec as datec, c.dateadh as date_start, c.datef as date_end, c.subscription";
359 $sql .= " FROM ".MAIN_DB_PREFIX."adherent as a, ".MAIN_DB_PREFIX."adherent_type as ta, ".MAIN_DB_PREFIX."subscription as c";
360 $sql .= " WHERE a.entity IN (".getEntity('adherent').")";
361 $sql .= " AND a.fk_adherent_type = ta.rowid";
362 $sql .= " AND c.fk_adherent = a.rowid";
363 $sql .= $db->order("c.tms", "DESC");
364 $sql .= $db->plimit($max, 0);
365 
366 $resql = $db->query($sql);
367 if ($resql) {
368  print '<div class="div-table-responsive-no-min">';
369  print '<table class="noborder centpercent">';
370  print '<tr class="liste_titre">';
371  print '<th colspan="5">'.$langs->trans("LastSubscriptionsModified", $max).'</th></tr>';
372 
373  $num = $db->num_rows($resql);
374  if ($num) {
375  $i = 0;
376  while ($i < $num) {
377  $obj = $db->fetch_object($resql);
378 
379  $staticmember->id = $obj->rowid;
380  $staticmember->ref = $obj->rowid;
381  $staticmember->lastname = $obj->lastname;
382  $staticmember->firstname = $obj->firstname;
383  $staticmember->gender = $obj->gender;
384  $staticmember->email = $obj->email;
385  $staticmember->photo = $obj->photo;
386  $staticmember->morphy = $obj->morphy;
387  $staticmember->statut = $obj->status;
388  $staticmember->need_subscription = $obj->need_subscription;
389  $staticmember->datefin = $db->jdate($obj->date_end_subscription);
390  if (!empty($obj->fk_soc)) {
391  $staticmember->fk_soc = $obj->fk_soc;
392  $staticmember->fetch_thirdparty();
393  $staticmember->name = $staticmember->thirdparty->name;
394  } else {
395  $staticmember->name = $obj->company;
396  }
397 
398  $subscriptionstatic->id = $obj->cid;
399  $subscriptionstatic->ref = $obj->cid;
400 
401  print '<tr class="oddeven">';
402  print '<td class="nowraponall">'.$subscriptionstatic->getNomUrl(1).'</td>';
403  print '<td class="nowraponall">'.$staticmember->getNomUrl(-1, 32, 'subscription').'</td>';
404  print '<td class="nowraponall">'.get_date_range($db->jdate($obj->date_start), $db->jdate($obj->date_end)).'</td>';
405  print '<td class="right">'.price($obj->subscription).'</td>';
406  //print '<td class="right">'.$staticmember->LibStatut($obj->statut,($obj->subscription=='yes'?1:0),$db->jdate($obj->date_end_subscription),5).'</td>';
407  print '<td class="right nowraponall">'.dol_print_date($db->jdate($obj->datem ? $obj->datem : $obj->datec), 'dayhour').'</td>';
408  print '</tr>';
409  $i++;
410  }
411  }
412  print "</table></div>";
413  print "<br>";
414 } else {
415  dol_print_error($db);
416 }
417 
418 
419 // Summary of members by type
420 print '<div class="div-table-responsive-no-min">';
421 print '<table class="noborder centpercent">';
422 print '<tr class="liste_titre">';
423 print '<th>'.$langs->trans("MembersTypes").'</th>';
424 print '<th class=right>'.$langs->trans("MembersStatusToValid").'</th>';
425 print '<th class=right>'.$langs->trans("OutOfDate").'</th>';
426 print '<th class=right>'.$langs->trans("UpToDate").'</th>';
427 print '<th class=right>'.$langs->trans("MembersStatusResiliated").'</th>';
428 print "</tr>\n";
429 
430 foreach ($AdherentType as $key => $adhtype) {
431  print '<tr class="oddeven">';
432  print '<td>'.$adhtype->getNomUrl(1, dol_size(32)).'</td>';
433  print '<td class="right">'.(isset($MemberToValidate[$key]) && $MemberToValidate[$key] > 0 ? $MemberToValidate[$key] : '').' '.$staticmember->LibStatut(-1, $adhtype->subscription, 0, 3).'</td>';
434  print '<td class="right">'.(isset($MembersValidated[$key]) && ($MembersValidated[$key] - (isset($MemberUpToDate[$key]) ? $MemberUpToDate[$key] : 0) > 0) ? $MembersValidated[$key] - (isset($MemberUpToDate[$key]) ? $MemberUpToDate[$key] : 0) : '').' '.$staticmember->LibStatut(1, $adhtype->subscription, 0, 3).'</td>';
435  print '<td class="right">'.(isset($MemberUpToDate[$key]) && $MemberUpToDate[$key] > 0 ? $MemberUpToDate[$key] : '').' '.$staticmember->LibStatut(1, $adhtype->subscription, $now, 3).'</td>';
436  print '<td class="right">'.(isset($MembersResiliated[$key]) && $MembersResiliated[$key] > 0 ? $MembersResiliated[$key] : '').' '.$staticmember->LibStatut(0, $adhtype->subscription, 0, 3).'</td>';
437  print "</tr>\n";
438 }
439 print '<tr class="liste_total">';
440 print '<td class="liste_total">'.$langs->trans("Total").'</td>';
441 print '<td class="liste_total right">'.$SommeA.' '.$staticmember->LibStatut(-1, $adhtype->subscription, 0, 3).'</td>';
442 print '<td class="liste_total right">'.$SommeB.' '.$staticmember->LibStatut(1, $adhtype->subscription, 0, 3).'</td>';
443 print '<td class="liste_total right">'.$SommeC.' '.$staticmember->LibStatut(1, $adhtype->subscription, $now, 3).'</td>';
444 print '<td class="liste_total right">'.$SommeD.' '.$staticmember->LibStatut(0, $adhtype->subscription, 0, 3).'</td>';
445 print '</tr>';
446 
447 print "</table>\n";
448 print "</div>";
449 
450 print '</div></div></div>';
451 
452 $parameters = array('user' => $user);
453 $reshook = $hookmanager->executeHooks('dashboardMembers', $parameters, $object); // Note that $action and $object may have been modified by hook
454 
455 // End of page
456 llxFooter();
457 $db->close();
dol_now($mode= 'auto')
Return date for now.
llxHeader()
Empty header.
Definition: wrapper.php:45
Class to manage hooks.
load_fiche_titre($titre, $morehtmlright= '', $picto= 'generic', $pictoisfullpath=0, $id= '', $morecssontable= '', $morehtmlcenter= '')
Load a title with picto.
price2num($amount, $rounding= '', $option=0)
Function that return a number with universal decimal format (decimal separator is &#39;...
dol_size($size, $type= '')
Optimize a size for some browsers (phone, smarphone, ...)
dol_syslog($message, $level=LOG_INFO, $ident=0, $suffixinfilename= '', $restricttologhandler= '', $logcontext=null)
Write log message into outputs.
Class to manage members of a foundation.
restrictedArea($user, $features, $objectid=0, $tableandshare= '', $feature2= '', $dbt_keyfield= 'fk_soc', $dbt_select= 'rowid', $isdraft=0)
Check permissions of a user to show a page and an object.
Class to manage members type.
Class to manage subscriptions of foundation members.
print
Draft customers invoices.
Definition: index.php:89
dol_print_date($time, $format= '', $tzoutput= 'auto', $outputlangs= '', $encodetooutput=false)
Output date in a string format according to outputlangs (or langs if not defined).
Class to build graphs.
if(!empty($conf->facture->enabled)&&$user->rights->facture->lire) if((!empty($conf->fournisseur->enabled)&&empty($conf->global->MAIN_USE_NEW_SUPPLIERMOD)||!empty($conf->supplier_invoice->enabled))&&$user->rights->fournisseur->facture->lire) if(!empty($conf->don->enabled)&&$user->rights->don->lire) if(!empty($conf->tax->enabled)&&$user->rights->tax->charges->lire) if(!empty($conf->facture->enabled)&&!empty($conf->commande->enabled)&&$user->rights->commande->lire &&empty($conf->global->WORKFLOW_DISABLE_CREATE_INVOICE_FROM_ORDER)) if(!empty($conf->facture->enabled)&&$user->rights->facture->lire) if((!empty($conf->fournisseur->enabled)&&empty($conf->global->MAIN_USE_NEW_SUPPLIERMOD)||!empty($conf->supplier_invoice->enabled))&&$user->rights->fournisseur->facture->lire) $resql
Social contributions to pay.
Definition: index.php:1232
dol_print_error($db= '', $error= '', $errors=null)
Displays error message system with all the information to facilitate the diagnosis and the escalation...
llxFooter()
Empty footer.
Definition: wrapper.php:59