dolibarr  16.0.5
supplier_payment.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) 2015 Juanjo Menent <jmenent@2byte.es>
3  * Copyright (C) 2016 Laurent Destailleur <eldy@users.sourceforge.net>
4  * Copyright (C) 2020 Maxime DEMAREST <maxime@indelog.fr>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program. If not, see <https://www.gnu.org/licenses/>.
18  */
19 
26 require '../main.inc.php';
27 require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
28 require_once DOL_DOCUMENT_ROOT.'/core/lib/fourn.lib.php';
29 require_once DOL_DOCUMENT_ROOT.'/fourn/class/paiementfourn.class.php';
30 
31 // Load translation files required by the page
32 $langs->loadLangs(array("admin", "errors", "other", "bills", "orders"));
33 
34 if (!$user->admin) {
36 }
37 
38 $action = GETPOST('action', 'aZ09');
39 $value = GETPOST('value', 'alpha');
40 $modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php
41 
42 $label = GETPOST('label', 'alpha');
43 $scandir = GETPOST('scandir', 'alpha');
44 $type = 'supplier_payment';
45 
46 
47 /*
48  * Actions
49  */
50 
51 include DOL_DOCUMENT_ROOT.'/core/actions_setmoduleoptions.inc.php';
52 
53 if ($action == 'updateMask') {
54  $maskconstsupplierpayment = GETPOST('maskconstsupplierpayment', 'alpha');
55  $masksupplierpayment = GETPOST('masksupplierpayment', 'alpha');
56  if ($maskconstsupplierpayment) {
57  $res = dolibarr_set_const($db, $maskconstsupplierpayment, $masksupplierpayment, 'chaine', 0, '', $conf->entity);
58  }
59 
60  if (!($res > 0)) {
61  $error++;
62  }
63 
64  if (!$error) {
65  setEventMessages($langs->trans("SetupSaved"), null, 'mesgs');
66  } else {
67  setEventMessages($langs->trans("Error"), null, 'errors');
68  }
69 } elseif ($action == 'setmod') {
70  dolibarr_set_const($db, "SUPPLIER_PAYMENT_ADDON", $value, 'chaine', 0, '', $conf->entity);
71 } elseif ($action == 'set') {
72  // Activate a model
73  $ret = addDocumentModel($value, $type, $label, $scandir);
74 } elseif ($action == 'del') {
75  $ret = delDocumentModel($value, $type);
76  if ($ret > 0) {
77  if ($conf->global->FACTURE_ADDON_PDF == "$value") {
78  dolibarr_del_const($db, 'SUPPLIER_PAYMENT_ADDON_PDF', $conf->entity);
79  }
80  }
81 } elseif ($action == 'setdoc') {
82  // Set default model
83  if (dolibarr_set_const($db, "SUPPLIER_PAYMENT_ADDON_PDF", $value, 'chaine', 0, '', $conf->entity)) {
84  // La constante qui a ete lue en avant du nouveau set
85  // on passe donc par une variable pour avoir un affichage coherent
86  $conf->global->FACTURE_ADDON_PDF = $value;
87  }
88 
89  // On active le modele
90  $ret = delDocumentModel($value, $type);
91  if ($ret > 0) {
92  $ret = addDocumentModel($value, $type, $label, $scandir);
93  }
94 } elseif ($action == 'unsetdoc') {
95  dolibarr_del_const($db, "SUPPLIER_PAYMENT_ADDON_PDF", $conf->entity);
96 } elseif ($action == 'specimen') {
97  $modele = GETPOST('module', 'alpha');
98 
99  $paiementFourn = new PaiementFourn($db);
100  $paiementFourn->initAsSpecimen();
101 
102  // Search template files
103  $file = ''; $classname = ''; $filefound = 0;
104  $dirmodels = array_merge(array('/'), (array) $conf->modules_parts['models']);
105  foreach ($dirmodels as $reldir) {
106  $file = dol_buildpath($reldir."core/modules/supplier_payment/doc/pdf_".$modele.".modules.php", 0);
107  if (file_exists($file)) {
108  $filefound = 1;
109  $classname = "pdf_".$modele;
110  break;
111  }
112  }
113 
114  if ($filefound) {
115  require_once $file;
116 
117  $module = new $classname($db);
118 
119  if ($module->write_file($paiementFourn, $langs) > 0) {
120  header("Location: ".DOL_URL_ROOT."/document.php?modulepart=supplier_payment&file=SPECIMEN.pdf");
121  return;
122  } else {
123  setEventMessages($module->error, $module->errors, 'errors');
124  dol_syslog($module->error, LOG_ERR);
125  }
126  } else {
127  setEventMessages($langs->trans("ErrorModuleNotFound"), null, 'errors');
128  dol_syslog($langs->trans("ErrorModuleNotFound"), LOG_ERR);
129  }
130 } elseif ($action == 'setparams') {
131  $res = dolibarr_set_const($db, "PAYMENTS_FOURN_REPORT_GROUP_BY_MOD", GETPOST('PAYMENTS_FOURN_REPORT_GROUP_BY_MOD', 'int'), 'chaine', 0, '', $conf->entity);
132  if (!($res > 0)) {
133  $error++;
134  }
135 
136  if ($error) {
137  setEventMessages($langs->trans("Error"), null, 'errors');
138  }
139  if (!$error) {
140  setEventMessages($langs->trans("SetupSaved"), null, 'mesgs');
141  }
142 }
143 
144 /*
145  * View
146  */
147 
148 $dirmodels = array_merge(array('/'), (array) $conf->modules_parts['models']);
149 
150 llxHeader("", $langs->trans("SupplierPaymentSetup"), 'EN:Supplier_Payment_Configuration|FR:Configuration_module_paiement_fournisseur');
151 
152 $form = new Form($db);
153 
154 
155 $linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1">'.$langs->trans("BackToModuleList").'</a>';
156 print load_fiche_titre($langs->trans("SupplierPaymentSetup"), $linkback, 'title_setup');
157 
158 print "<br>";
159 
161 print dol_get_fiche_head($head, 'supplierpayment', $langs->trans("Suppliers"), -1, 'company');
162 
163 /*
164  * Numbering module
165  */
166 
167 if (empty($conf->global->SUPPLIER_PAYMENT_ADDON)) {
168  $conf->global->SUPPLIER_PAYMENT_ADDON = 'mod_supplier_payment_bronan';
169 }
170 
171 print load_fiche_titre($langs->trans("PaymentsNumberingModule"), '', '');
172 
173 // Load array def with activated templates
174 $def = array();
175 $sql = "SELECT nom";
176 $sql .= " FROM ".MAIN_DB_PREFIX."document_model";
177 $sql .= " WHERE type = '".$db->escape($type)."'";
178 $sql .= " AND entity = ".$conf->entity;
179 $resql = $db->query($sql);
180 if ($resql) {
181  $i = 0;
182  $num_rows = $db->num_rows($resql);
183  while ($i < $num_rows) {
184  $array = $db->fetch_array($resql);
185  array_push($def, $array[0]);
186  $i++;
187  }
188 } else {
189  dol_print_error($db);
190 }
191 
192 print '<table class="noborder centpercent">';
193 print '<tr class="liste_titre">';
194 print '<td>'.$langs->trans("Name").'</td>';
195 print '<td>'.$langs->trans("Description").'</td>';
196 print '<td class="nowrap">'.$langs->trans("Example").'</td>';
197 print '<td align="center" width="60">'.$langs->trans("Status").'</td>';
198 print '<td align="center" width="16">'.$langs->trans("ShortInfo").'</td>';
199 print '</tr>'."\n";
200 
201 clearstatcache();
202 
203 foreach ($dirmodels as $reldir) {
204  $dir = dol_buildpath($reldir."core/modules/supplier_payment/");
205  if (is_dir($dir)) {
206  $handle = opendir($dir);
207  if (is_resource($handle)) {
208  while (($file = readdir($handle)) !== false) {
209  if (!is_dir($dir.$file) || (substr($file, 0, 1) <> '.' && substr($file, 0, 3) <> 'CVS')) {
210  $filebis = $file;
211  $classname = preg_replace('/\.php$/', '', $file);
212  // For compatibility
213  if (!is_file($dir.$filebis)) {
214  $filebis = $file."/".$file.".modules.php";
215  $classname = "mod_supplier_payment_".$file;
216  }
217  // Check if there is a filter on country
218  preg_match('/\-(.*)_(.*)$/', $classname, $reg);
219  if (!empty($reg[2]) && $reg[2] != strtoupper($mysoc->country_code)) {
220  continue;
221  }
222 
223  $classname = preg_replace('/\-.*$/', '', $classname);
224  if (!class_exists($classname) && is_readable($dir.$filebis) && (preg_match('/mod_/', $filebis) || preg_match('/mod_/', $classname)) && substr($filebis, dol_strlen($filebis) - 3, 3) == 'php') {
225  // Charging the numbering class
226  require_once $dir.$filebis;
227 
228  $module = new $classname($db);
229 
230  // Show modules according to features level
231  if ($module->version == 'development' && $conf->global->MAIN_FEATURES_LEVEL < 2) {
232  continue;
233  }
234  if ($module->version == 'experimental' && $conf->global->MAIN_FEATURES_LEVEL < 1) {
235  continue;
236  }
237 
238  if ($module->isEnabled()) {
239  print '<tr class="oddeven"><td width="100">';
240  echo preg_replace('/\-.*$/', '', preg_replace('/mod_supplier_payment_/', '', preg_replace('/\.php$/', '', $file)));
241  print "</td><td>\n";
242 
243  print $module->info();
244 
245  print '</td>';
246 
247  // Show example of numbering module
248  print '<td class="nowrap">';
249  $tmp = $module->getExample();
250  if (preg_match('/^Error/', $tmp)) {
251  $langs->load("errors");
252  print '<div class="error">'.$langs->trans($tmp).'</div>';
253  } elseif ($tmp == 'NotConfigured') {
254  print '<span class="opacitymedium">'.$langs->trans($tmp).'</span>';
255  } else {
256  print $tmp;
257  }
258  print '</td>'."\n";
259 
260  print '<td class="center">';
261  //print "> ".$conf->global->SUPPLIER_PAYMENT_ADDON." - ".$file;
262  if ($conf->global->SUPPLIER_PAYMENT_ADDON == $file || $conf->global->SUPPLIER_PAYMENT_ADDON.'.php' == $file) {
263  print img_picto($langs->trans("Activated"), 'switch_on');
264  } else {
265  print '<a class="reposition" href="'.$_SERVER["PHP_SELF"].'?action=setmod&token='.newToken().'&value='.preg_replace('/\.php$/', '', $file).'&scandir='.$module->scandir.'&label='.urlencode($module->name).'" alt="'.$langs->trans("Default").'">'.img_picto($langs->trans("Disabled"), 'switch_off').'</a>';
266  }
267  print '</td>';
268 
269  $payment = new PaiementFourn($db);
270  $payment->initAsSpecimen();
271 
272  // Example
273  $htmltooltip = '';
274  $htmltooltip .= ''.$langs->trans("Version").': <b>'.$module->getVersion().'</b><br>';
275  $nextval = $module->getNextValue($mysoc, $payment);
276  if ("$nextval" != $langs->trans("NotAvailable")) { // Keep " on nextval
277  $htmltooltip .= $langs->trans("NextValue").': ';
278  if ($nextval) {
279  if (preg_match('/^Error/', $nextval) || $nextval == 'NotConfigured') {
280  $nextval = $langs->trans($nextval);
281  }
282  $htmltooltip .= $nextval.'<br>';
283  } else {
284  $htmltooltip .= $langs->trans($module->error).'<br>';
285  }
286  }
287 
288  print '<td class="center">';
289  print $form->textwithpicto('', $htmltooltip, 1, 0);
290 
291  if ($conf->global->PAYMENT_ADDON.'.php' == $file) { // If module is the one used, we show existing errors
292  if (!empty($module->error)) {
293  dol_htmloutput_mesg($module->error, '', 'error', 1);
294  }
295  }
296 
297  print '</td>';
298 
299  print "</tr>\n";
300  }
301  }
302  }
303  }
304  closedir($handle);
305  }
306  }
307 }
308 
309 print '</table>';
310 
311 
312 /*
313  * Document templates generators
314  */
315 print '<br>';
316 print load_fiche_titre($langs->trans("PaymentsPDFModules"), '', '');
317 
318 print '<table class="noborder centpercent">'."\n";
319 print '<tr class="liste_titre">'."\n";
320 print '<td width="100">'.$langs->trans("Name").'</td>'."\n";
321 print '<td>'.$langs->trans("Description").'</td>'."\n";
322 print '<td align="center" width="60">'.$langs->trans("Status").'</td>'."\n";
323 print '<td align="center" width="60">'.$langs->trans("Default").'</td>'."\n";
324 print '<td align="center" width="40">'.$langs->trans("ShortInfo").'</td>';
325 print '<td align="center" width="40">'.$langs->trans("Preview").'</td>';
326 print '</tr>'."\n";
327 
328 clearstatcache();
329 
330 foreach ($dirmodels as $reldir) {
331  $realpath = $reldir."core/modules/supplier_payment/doc";
332  $dir = dol_buildpath($realpath);
333 
334  if (is_dir($dir)) {
335  $handle = opendir($dir);
336 
337 
338  if (is_resource($handle)) {
339  while (($file = readdir($handle)) !== false) {
340  if (preg_match('/\.modules\.php$/i', $file) && preg_match('/^(pdf_|doc_)/', $file)) {
341  $name = substr($file, 4, dol_strlen($file) - 16);
342  $classname = substr($file, 0, dol_strlen($file) - 12);
343 
344  require_once $dir.'/'.$file;
345  $module = new $classname($db, new PaiementFourn($db));
346 
347  print "<tr class=\"oddeven\">\n";
348  print "<td>";
349  print (empty($module->name) ? $name : $module->name);
350  print "</td>\n";
351  print "<td>\n";
352  require_once $dir.'/'.$file;
353  $module = new $classname($db, $specimenthirdparty);
354  if (method_exists($module, 'info')) {
355  print $module->info($langs);
356  } else {
357  print $module->description;
358  }
359 
360  print "</td>\n";
361 
362  // Active
363  if (in_array($name, $def)) {
364  print '<td class="center">'."\n";
365  //if ($conf->global->SUPPLIER_PAYMENT_ADDON_PDF != "$name")
366  //{
367  // Even if choice is the default value, we allow to disable it: For supplier invoice, we accept to have no doc generation at all
368  print '<a href="'.$_SERVER["PHP_SELF"].'?action=del&amp;value='.$name.'&amp;scandir='.$module->scandir.'&amp;label='.urlencode($module->name).'&amp;type=SUPPLIER_PAYMENT">';
369  print img_picto($langs->trans("Enabled"), 'switch_on');
370  print '</a>';
371  /*}
372  else
373  {
374  print img_picto($langs->trans("Enabled"),'switch_on');
375  }*/
376  print "</td>";
377  } else {
378  print '<td class="center">'."\n";
379  print '<a href="'.$_SERVER["PHP_SELF"].'?action=set&token='.newToken().'&value='.urlencode($name).'&scandir='.urlencode($module->scandir).'&label='.urlencode($module->name).'&type=SUPPLIER_PAYMENT">'.img_picto($langs->trans("Disabled"), 'switch_off').'</a>';
380  print "</td>";
381  }
382 
383  // Default
384  print '<td class="center">';
385  if ($conf->global->SUPPLIER_PAYMENT_ADDON_PDF == "$name") {
386  //print img_picto($langs->trans("Default"),'on');
387  // Even if choice is the default value, we allow to disable it: For supplier invoice, we accept to have no doc generation at all
388  print '<a href="'.$_SERVER["PHP_SELF"].'?action=unsetdoc&token='.newToken().'&value='.urlencode($name).'&scandir='.urlencode($module->scandir).'&label='.urlencode($module->name).'&type=SUPPLIER_PAYMENT"" alt="'.$langs->trans("Disable").'">'.img_picto($langs->trans("Enabled"), 'on').'</a>';
389  } else {
390  print '<a href="'.$_SERVER["PHP_SELF"].'?action=setdoc&token='.newToken().'&value='.urlencode($name).'&scandir='.urlencode($module->scandir).'&label='.urlencode($module->name).'&type=SUPPLIER_PAYMENT"" alt="'.$langs->trans("Default").'">'.img_picto($langs->trans("Disabled"), 'off').'</a>';
391  }
392  print '</td>';
393 
394  // Info
395  $htmltooltip = ''.$langs->trans("Name").': '.$module->name;
396  $htmltooltip .= '<br>'.$langs->trans("Type").': '.($module->type ? $module->type : $langs->trans("Unknown"));
397  $htmltooltip .= '<br>'.$langs->trans("Width").'/'.$langs->trans("Height").': '.$module->page_largeur.'/'.$module->page_hauteur;
398  $htmltooltip .= '<br>'.$langs->trans("Path").': '.preg_replace('/^\//', '', $realpath).'/'.$file;
399 
400  $htmltooltip .= '<br><br><u>'.$langs->trans("FeaturesSupported").':</u>';
401  $htmltooltip .= '<br>'.$langs->trans("Logo").': '.yn($module->option_logo, 1, 1);
402  print '<td class="center">';
403  print $form->textwithpicto('', $htmltooltip, 1, 0);
404  print '</td>';
405  print '<td class="center">';
406  print '<a href="'.$_SERVER["PHP_SELF"].'?action=specimen&amp;module='.$name.'">'.img_object($langs->trans("Preview"), 'pdf').'</a>';
407  print '</td>';
408 
409  print "</tr>\n";
410  }
411  }
412 
413  closedir($handle);
414  }
415  }
416 }
417 
418 print '</table>';
419 
420 /*
421  * Other Options
422  */
423 
424 print "<br>";
425 
426 print load_fiche_titre($langs->trans("OtherOptions"), '', '');
427 
428 print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
429 print '<input type="hidden" name="token" value="'.newToken().'" />';
430 print '<input type="hidden" name="action" value="setparams" />';
431 
432 print '<div class="div-table-responsive-no-min">';
433 print '<table class="noborder centpercent">';
434 print '<tr class="liste_titre">';
435 print '<td>'.$langs->trans("Parameter").'</td>';
436 print '<td align="center" width="60">'.$langs->trans("Value").'</td>';
437 print '<td width="80">&nbsp;</td>';
438 print "</tr>\n";
439 
440 // Allow to group payments by mod in rapports
441 print '<tr class="oddeven"><td>';
442 print $langs->trans("GroupPaymentsByModOnReports");
443 print '</td><td width="60" align="center">';
444 print $form->selectyesno("PAYMENTS_FOURN_REPORT_GROUP_BY_MOD", $conf->global->PAYMENTS_FOURN_REPORT_GROUP_BY_MOD, 1);
445 print '</td><td class="right">';
446 print "</td></tr>\n";
447 
448 print '</table>';
449 
450 print dol_get_fiche_end();
451 
452 print '<br>';
453 print '<div class="center">';
454 print '<input type="submit" class="button button-edit" value="'.$langs->trans("Modify").'" />';
455 print '</div>';
456 print '<br>';
457 
458 print '</form>';
459 
460 // End of page
461 llxFooter();
462 $db->close();
yn
yn($yesno, $case=1, $color=0)
Return yes or no in current language.
Definition: functions.lib.php:6491
llxFooter
llxFooter()
Empty footer.
Definition: wrapper.php:73
dolibarr_del_const
dolibarr_del_const($db, $name, $entity=1)
Delete a constant.
Definition: admin.lib.php:552
load_fiche_titre
load_fiche_titre($titre, $morehtmlright='', $picto='generic', $pictoisfullpath=0, $id='', $morecssontable='', $morehtmlcenter='')
Load a title with picto.
Definition: functions.lib.php:5204
GETPOST
GETPOST($paramname, $check='alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.
Definition: functions.lib.php:484
dol_print_error
dol_print_error($db='', $error='', $errors=null)
Displays error message system with all the information to facilitate the diagnosis and the escalation...
Definition: functions.lib.php:4844
dol_buildpath
dol_buildpath($path, $type=0, $returnemptyifnotfound=0)
Return path of url or filesystem.
Definition: functions.lib.php:1062
$form
if($cancel &&! $id) if($action=='add' &&! $cancel) if($action=='delete') if($id) $form
Actions.
Definition: card.php:142
img_picto
img_picto($titlealt, $picto, $moreatt='', $pictoisfullpath=false, $srconly=0, $notitle=0, $alt='', $morecss='', $marginleftonlyshort=2)
Show picto whatever it's its name (generic function)
Definition: functions.lib.php:3880
delDocumentModel
delDocumentModel($name, $type)
Delete document model used by doc generator.
Definition: admin.lib.php:1894
dol_syslog
dol_syslog($message, $level=LOG_INFO, $ident=0, $suffixinfilename='', $restricttologhandler='', $logcontext=null)
Write log message into outputs.
Definition: functions.lib.php:1603
dol_get_fiche_head
dol_get_fiche_head($links=array(), $active='', $title='', $notab=0, $picto='', $pictoisfullpath=0, $morehtmlright='', $morecss='', $limittoshow=0, $moretabssuffix='')
Show tabs of a record.
Definition: functions.lib.php:1822
dol_strlen
dol_strlen($string, $stringencoding='UTF-8')
Make a strlen call.
Definition: functions.lib.php:3747
newToken
newToken()
Return the value of token currently saved into session with name 'newtoken'.
Definition: functions.lib.php:10878
dol_get_fiche_end
dol_get_fiche_end($notab=0)
Return tab footer of a card.
Definition: functions.lib.php:2018
dol_htmloutput_mesg
dol_htmloutput_mesg($mesgstring='', $mesgarray=array(), $style='ok', $keepembedded=0)
Print formated messages to output (Used to show messages on html output).
Definition: functions.lib.php:8299
supplierorder_admin_prepare_head
supplierorder_admin_prepare_head()
Return array head with list of tabs to view object informations.
Definition: fourn.lib.php:241
dolibarr_set_const
dolibarr_set_const($db, $name, $value, $type='chaine', $visible=0, $note='', $entity=1)
Insert a parameter (key,value) into database (delete old key then insert it again).
Definition: admin.lib.php:627
PaiementFourn
Class to manage payments for supplier invoices.
Definition: paiementfourn.class.php:37
addDocumentModel
addDocumentModel($name, $type, $label='', $description='')
Add document model used by doc generator.
Definition: admin.lib.php:1863
Form
Class to manage generation of HTML components Only common components must be here.
Definition: html.form.class.php:52
img_object
img_object($titlealt, $picto, $moreatt='', $pictoisfullpath=false, $srconly=0, $notitle=0)
Show a picto called object_picto (generic function)
Definition: functions.lib.php:4211
$resql
if(isModEnabled('facture') &&!empty($user->rights->facture->lire)) if((isModEnabled('fournisseur') &&empty($conf->global->MAIN_USE_NEW_SUPPLIERMOD) && $user->rights->fournisseur->facture->lire)||(isModEnabled('supplier_invoice') && $user->rights->supplier_invoice->lire)) if(isModEnabled('don') &&!empty($user->rights->don->lire)) if(isModEnabled('tax') &&!empty($user->rights->tax->charges->lire)) if(isModEnabled('facture') &&isModEnabled('commande') && $user->rights->commande->lire &&empty($conf->global->WORKFLOW_DISABLE_CREATE_INVOICE_FROM_ORDER)) $resql
Social contributions to pay.
Definition: index.php:742
setEventMessages
setEventMessages($mesg, $mesgs, $style='mesgs', $messagekey='')
Set event messages in dol_events session object.
Definition: functions.lib.php:8137
accessforbidden
accessforbidden($message='', $printheader=1, $printfooter=1, $showonlymessage=0, $params=null)
Show a message to say access is forbidden and stop program Calling this function terminate execution ...
Definition: security.lib.php:933
llxHeader
if(!defined('NOREQUIRESOC')) if(!defined('NOREQUIRETRAN')) if(!defined('NOCSRFCHECK')) if(!defined('NOTOKENRENEWAL')) if(!defined('NOREQUIREMENU')) if(!defined('NOREQUIREHTML')) if(!defined('NOREQUIREAJAX')) llxHeader()
Empty header.
Definition: wrapper.php:59