dolibarr  9.0.0
extrafields_list_search_param.tpl.php
1 <?php
2 
3 // Protection to avoid direct call of template
4 if (empty($conf) || ! is_object($conf))
5 {
6  print "Error, template page can't be called as URL";
7  exit;
8 }
9 
10 // Loop to complete $param for extrafields
11 if (! empty($search_array_options)) // $extrafieldsobject is the $object->table_element like 'societe', 'socpeople', ...
12 {
13 foreach ($search_array_options as $key => $val)
14 {
15  $crit=$val;
16  $tmpkey=preg_replace('/search_options_/','',$key);
17  if ($val != '') $param.='&search_options_'.$tmpkey.'='.urlencode($val);
18 }
19 }
print
Draft customers invoices.
Definition: index.php:91