@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | public $amounts = array(); // Array of amounts |
66 | 66 | |
67 | 67 | public $fk_typepayment; // Payment mode ID |
68 | - public $paymenttype; // Payment mode ID or Code. TODO Use only the code in this field. |
|
68 | + public $paymenttype; // Payment mode ID or Code. TODO Use only the code in this field. |
|
69 | 69 | |
70 | 70 | /** |
71 | 71 | * @var string Payment reference |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | // Clean parameters |
137 | 137 | |
138 | 138 | if (isset($this->fk_donation)) { |
139 | - $this->fk_donation = (int)$this->fk_donation; |
|
139 | + $this->fk_donation = (int) $this->fk_donation; |
|
140 | 140 | } |
141 | 141 | if (isset($this->amount)) { |
142 | 142 | $this->amount = trim($this->amount); |
@@ -151,13 +151,13 @@ discard block |
||
151 | 151 | $this->note_public = trim($this->note_public); |
152 | 152 | } |
153 | 153 | if (isset($this->fk_bank)) { |
154 | - $this->fk_bank = (int)$this->fk_bank; |
|
154 | + $this->fk_bank = (int) $this->fk_bank; |
|
155 | 155 | } |
156 | 156 | if (isset($this->fk_user_creat)) { |
157 | - $this->fk_user_creat = (int)$this->fk_user_creat; |
|
157 | + $this->fk_user_creat = (int) $this->fk_user_creat; |
|
158 | 158 | } |
159 | 159 | if (isset($this->fk_user_modif)) { |
160 | - $this->fk_user_modif = (int)$this->fk_user_modif; |
|
160 | + $this->fk_user_modif = (int) $this->fk_user_modif; |
|
161 | 161 | } |
162 | 162 | |
163 | 163 | // Check parameters |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | $sql .= " fk_bank=" . (isset($this->fk_bank) ? $this->fk_bank : "null") . ","; |
177 | 177 | $sql .= " fk_user_creat=" . (isset($this->fk_user_creat) ? $this->fk_user_creat : "null") . ","; |
178 | 178 | $sql .= " fk_user_modif=" . (isset($this->fk_user_modif) ? $this->fk_user_modif : "null"); |
179 | - $sql .= " WHERE rowid=" . (int)$this->id; |
|
179 | + $sql .= " WHERE rowid=" . (int) $this->id; |
|
180 | 180 | |
181 | 181 | $this->db->begin(); |
182 | 182 | |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | |
231 | 231 | if (!$error) { |
232 | 232 | $sql = "DELETE FROM " . MAIN_DB_PREFIX . "bank_url"; |
233 | - $sql .= " WHERE type='payment_donation' AND url_id=" . (int)$this->id; |
|
233 | + $sql .= " WHERE type='payment_donation' AND url_id=" . (int) $this->id; |
|
234 | 234 | |
235 | 235 | dol_syslog(get_class($this) . "::delete", LOG_DEBUG); |
236 | 236 | $resql = $this->db->query($sql); |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | |
243 | 243 | if (!$error) { |
244 | 244 | $sql = "DELETE FROM " . MAIN_DB_PREFIX . "payment_donation"; |
245 | - $sql .= " WHERE rowid=" . ((int)$this->id); |
|
245 | + $sql .= " WHERE rowid=" . ((int) $this->id); |
|
246 | 246 | |
247 | 247 | dol_syslog(get_class($this) . "::delete", LOG_DEBUG); |
248 | 248 | $resql = $this->db->query($sql); |
@@ -354,7 +354,7 @@ discard block |
||
354 | 354 | $sql .= " FROM " . MAIN_DB_PREFIX . "payment_donation as t"; |
355 | 355 | $sql .= " LEFT JOIN " . MAIN_DB_PREFIX . "c_paiement as pt ON t.fk_typepayment = pt.id"; |
356 | 356 | $sql .= ' LEFT JOIN ' . MAIN_DB_PREFIX . 'bank as b ON t.fk_bank = b.rowid'; |
357 | - $sql .= " WHERE t.rowid = " . ((int)$id); |
|
357 | + $sql .= " WHERE t.rowid = " . ((int) $id); |
|
358 | 358 | |
359 | 359 | dol_syslog(get_class($this) . "::fetch", LOG_DEBUG); |
360 | 360 | $resql = $this->db->query($sql); |
@@ -370,8 +370,8 @@ discard block |
||
370 | 370 | $this->tms = $this->db->jdate($obj->tms); |
371 | 371 | $this->datep = $this->db->jdate($obj->datep); |
372 | 372 | $this->amount = $obj->amount; |
373 | - $this->fk_typepayment = $obj->fk_typepayment; // Id on type of payent |
|
374 | - $this->paymenttype = $obj->fk_typepayment; // Id on type of payment. We should store the code into paymenttype. |
|
373 | + $this->fk_typepayment = $obj->fk_typepayment; // Id on type of payent |
|
374 | + $this->paymenttype = $obj->fk_typepayment; // Id on type of payment. We should store the code into paymenttype. |
|
375 | 375 | $this->num_payment = $obj->num_payment; |
376 | 376 | $this->note_public = $obj->note_public; |
377 | 377 | $this->fk_bank = $obj->fk_bank; |
@@ -415,14 +415,14 @@ discard block |
||
415 | 415 | |
416 | 416 | // Clean parameters |
417 | 417 | if (isset($this->chid)) { |
418 | - $this->chid = (int)$this->chid; |
|
418 | + $this->chid = (int) $this->chid; |
|
419 | 419 | } elseif (isset($this->fk_donation)) { |
420 | 420 | // NOTE : The property used in INSERT for fk_donation is not fk_donation but chid |
421 | 421 | // (keep priority to chid property) |
422 | - $this->chid = (int)$this->fk_donation; |
|
422 | + $this->chid = (int) $this->fk_donation; |
|
423 | 423 | } |
424 | 424 | if (isset($this->fk_donation)) { |
425 | - $this->fk_donation = (int)$this->fk_donation; |
|
425 | + $this->fk_donation = (int) $this->fk_donation; |
|
426 | 426 | } |
427 | 427 | if (isset($this->amount)) { |
428 | 428 | $this->amount = trim($this->amount); |
@@ -437,13 +437,13 @@ discard block |
||
437 | 437 | $this->note_public = trim($this->note_public); |
438 | 438 | } |
439 | 439 | if (isset($this->fk_bank)) { |
440 | - $this->fk_bank = (int)$this->fk_bank; |
|
440 | + $this->fk_bank = (int) $this->fk_bank; |
|
441 | 441 | } |
442 | 442 | if (isset($this->fk_user_creat)) { |
443 | - $this->fk_user_creat = (int)$this->fk_user_creat; |
|
443 | + $this->fk_user_creat = (int) $this->fk_user_creat; |
|
444 | 444 | } |
445 | 445 | if (isset($this->fk_user_modif)) { |
446 | - $this->fk_user_modif = (int)$this->fk_user_modif; |
|
446 | + $this->fk_user_modif = (int) $this->fk_user_modif; |
|
447 | 447 | } |
448 | 448 | |
449 | 449 | $totalamount = 0; |
@@ -466,18 +466,18 @@ discard block |
||
466 | 466 | $sql = "INSERT INTO " . MAIN_DB_PREFIX . "payment_donation (fk_donation, datec, datep, amount,"; |
467 | 467 | $sql .= " fk_typepayment, num_payment, note, ext_payment_id, ext_payment_site,"; |
468 | 468 | $sql .= " fk_user_creat, fk_bank)"; |
469 | - $sql .= " VALUES (" . ((int)$this->chid) . ", '" . $this->db->idate($now) . "',"; |
|
469 | + $sql .= " VALUES (" . ((int) $this->chid) . ", '" . $this->db->idate($now) . "',"; |
|
470 | 470 | $sql .= " '" . $this->db->idate($this->datep) . "',"; |
471 | - $sql .= " " . ((float)price2num($totalamount)) . ","; |
|
472 | - $sql .= " " . ((int)$this->paymenttype) . ", '" . $this->db->escape($this->num_payment) . "', '" . $this->db->escape($this->note_public) . "', "; |
|
471 | + $sql .= " " . ((float) price2num($totalamount)) . ","; |
|
472 | + $sql .= " " . ((int) $this->paymenttype) . ", '" . $this->db->escape($this->num_payment) . "', '" . $this->db->escape($this->note_public) . "', "; |
|
473 | 473 | $sql .= " " . ($this->ext_payment_id ? "'" . $this->db->escape($this->ext_payment_id) . "'" : "null") . ", " . ($this->ext_payment_site ? "'" . $this->db->escape($this->ext_payment_site) . "'" : "null") . ","; |
474 | - $sql .= " " . ((int)$user->id) . ", 0)"; |
|
474 | + $sql .= " " . ((int) $user->id) . ", 0)"; |
|
475 | 475 | |
476 | 476 | dol_syslog(get_class($this) . "::create", LOG_DEBUG); |
477 | 477 | $resql = $this->db->query($sql); |
478 | 478 | if ($resql) { |
479 | 479 | $this->id = $this->db->last_insert_id(MAIN_DB_PREFIX . "payment_donation"); |
480 | - $this->ref = (string)$this->id; |
|
480 | + $this->ref = (string) $this->id; |
|
481 | 481 | } else { |
482 | 482 | $error++; |
483 | 483 | } |
@@ -648,7 +648,7 @@ discard block |
||
648 | 648 | public function update_fk_bank($id_bank) |
649 | 649 | { |
650 | 650 | // phpcs:enable |
651 | - $sql = "UPDATE " . MAIN_DB_PREFIX . "payment_donation SET fk_bank = " . (int)$id_bank . " WHERE rowid = " . (int)$this->id; |
|
651 | + $sql = "UPDATE " . MAIN_DB_PREFIX . "payment_donation SET fk_bank = " . (int) $id_bank . " WHERE rowid = " . (int) $this->id; |
|
652 | 652 | |
653 | 653 | dol_syslog(get_class($this) . "::update_fk_bank", LOG_DEBUG); |
654 | 654 | $result = $this->db->query($sql); |
@@ -45,8 +45,8 @@ |
||
45 | 45 | public $qty; |
46 | 46 | public $dluo_qty; // deprecated, use qty |
47 | 47 | public $entrepot_id; |
48 | - public $fk_origin_stock; // rowid in llx_product_batch table (not useful) |
|
49 | - public $fk_warehouse; // warehouse ID |
|
48 | + public $fk_origin_stock; // rowid in llx_product_batch table (not useful) |
|
49 | + public $fk_warehouse; // warehouse ID |
|
50 | 50 | public $fk_expeditiondet; |
51 | 51 | |
52 | 52 |
@@ -203,11 +203,11 @@ |
||
203 | 203 | $shipmentline = new ExpeditionLigne($this->db); |
204 | 204 | |
205 | 205 | $shipmentline->entrepot_id = $line['entrepot_id']; |
206 | - $shipmentline->fk_element = $line['fk_element'] ?? $line['origin_id']; // example: order id. this->origin is 'commande' |
|
207 | - $shipmentline->origin_line_id = $line['fk_elementdet'] ?? $line['origin_line_id']; // example: order id |
|
208 | - $shipmentline->fk_elementdet = $line['fk_elementdet'] ?? $line['origin_line_id']; // example: order line id |
|
209 | - $shipmentline->origin_type = $line['element_type'] ?? $line['origin_type']; // example 'commande' or 'order' |
|
210 | - $shipmentline->element_type = $line['element_type'] ?? $line['origin_type']; // example 'commande' or 'order' |
|
206 | + $shipmentline->fk_element = $line['fk_element'] ?? $line['origin_id']; // example: order id. this->origin is 'commande' |
|
207 | + $shipmentline->origin_line_id = $line['fk_elementdet'] ?? $line['origin_line_id']; // example: order id |
|
208 | + $shipmentline->fk_elementdet = $line['fk_elementdet'] ?? $line['origin_line_id']; // example: order line id |
|
209 | + $shipmentline->origin_type = $line['element_type'] ?? $line['origin_type']; // example 'commande' or 'order' |
|
210 | + $shipmentline->element_type = $line['element_type'] ?? $line['origin_type']; // example 'commande' or 'order' |
|
211 | 211 | $shipmentline->qty = $line['qty']; |
212 | 212 | $shipmentline->rang = $line['rang']; |
213 | 213 | $shipmentline->array_options = $line['array_options']; |
@@ -481,7 +481,7 @@ |
||
481 | 481 | $object->fetch($obj->rowid); |
482 | 482 | $object->id = $obj->rowid; |
483 | 483 | |
484 | - $action = 'anonymize'; // TODO Offer also action "delete" in setup of module |
|
484 | + $action = 'anonymize'; // TODO Offer also action "delete" in setup of module |
|
485 | 485 | |
486 | 486 | if ($action == 'anonymize') { |
487 | 487 | if ($object->isObjectUsed($obj->rowid) == 0) { // If object to clean is used |
@@ -376,7 +376,7 @@ |
||
376 | 376 | if (is_numeric($ValueField) && $ValueField > 0) { |
377 | 377 | $szFilterQuery = " " . $NameField . " = " . ((float) $ValueField); |
378 | 378 | } else { |
379 | - $szFilterQuery = " 1=1"; // Test always true |
|
379 | + $szFilterQuery = " 1=1"; // Test always true |
|
380 | 380 | } |
381 | 381 | break; |
382 | 382 | case 'Status': |
@@ -320,7 +320,7 @@ |
||
320 | 320 | $this->duration = $obj->duree; |
321 | 321 | $this->socid = $obj->fk_soc; |
322 | 322 | $this->status = $obj->status; |
323 | - $this->statut = $obj->status; // deprecated |
|
323 | + $this->statut = $obj->status; // deprecated |
|
324 | 324 | $this->fk_project = $obj->fk_projet; |
325 | 325 | $this->fk_contrat = $obj->fk_contrat; |
326 | 326 | $this->note_private = $obj->note_private; |
@@ -52,19 +52,19 @@ discard block |
||
52 | 52 | */ |
53 | 53 | public $fk_fichinter; |
54 | 54 | |
55 | - public $desc; // Description ligne |
|
55 | + public $desc; // Description ligne |
|
56 | 56 | |
57 | 57 | /** |
58 | 58 | * @var int Date of intervention |
59 | 59 | */ |
60 | - public $date; // Date intervention |
|
60 | + public $date; // Date intervention |
|
61 | 61 | /** |
62 | 62 | * @var int Date of intervention |
63 | 63 | * @deprecated |
64 | 64 | */ |
65 | - public $datei; // Date intervention |
|
65 | + public $datei; // Date intervention |
|
66 | 66 | |
67 | - public $duration; // Duration of intervention |
|
67 | + public $duration; // Duration of intervention |
|
68 | 68 | public $rang = 0; |
69 | 69 | public $tva_tx; |
70 | 70 | |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | $this->id = $objp->rowid; |
123 | 123 | $this->fk_fichinter = $objp->fk_fichinter; |
124 | 124 | $this->date = $this->db->jdate($objp->date); |
125 | - $this->datei = $this->db->jdate($objp->date); // For backward compatibility |
|
125 | + $this->datei = $this->db->jdate($objp->date); // For backward compatibility |
|
126 | 126 | $this->desc = $objp->description; |
127 | 127 | $this->duration = $objp->duree; |
128 | 128 | $this->rang = $objp->rang; |
@@ -199,12 +199,12 @@ discard block |
||
199 | 199 | /** |
200 | 200 | * No signature |
201 | 201 | */ |
202 | - const STATUS_NO_SIGNATURE = 0; |
|
202 | + const STATUS_NO_SIGNATURE = 0; |
|
203 | 203 | |
204 | 204 | /** |
205 | 205 | * Signed by sender |
206 | 206 | */ |
207 | - const STATUS_SIGNED_SENDER = 1; |
|
207 | + const STATUS_SIGNED_SENDER = 1; |
|
208 | 208 | |
209 | 209 | /** |
210 | 210 | * Signed by receiver |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | /** |
215 | 215 | * Signed by all |
216 | 216 | */ |
217 | - const STATUS_SIGNED_ALL = 9; // To handle future kind of signature (ex: tripartite contract) |
|
217 | + const STATUS_SIGNED_ALL = 9; // To handle future kind of signature (ex: tripartite contract) |
|
218 | 218 | |
219 | 219 | |
220 | 220 | /** |
@@ -1406,7 +1406,7 @@ discard block |
||
1406 | 1406 | $line->fk_fichinter = $fichinterid; |
1407 | 1407 | $line->desc = $desc; |
1408 | 1408 | $line->date = $date_intervention; |
1409 | - $line->datei = $date_intervention; // For backward compatibility |
|
1409 | + $line->datei = $date_intervention; // For backward compatibility |
|
1410 | 1410 | $line->duration = $duration; |
1411 | 1411 | |
1412 | 1412 | if (is_array($array_options) && count($array_options) > 0) { |
@@ -1503,7 +1503,7 @@ discard block |
||
1503 | 1503 | //For invoicing we calculing hours |
1504 | 1504 | $line->qty = round($objp->duree / 3600, 2); |
1505 | 1505 | $line->date = $this->db->jdate($objp->date); |
1506 | - $line->datei = $this->db->jdate($objp->date); // For backward compatibility |
|
1506 | + $line->datei = $this->db->jdate($objp->date); // For backward compatibility |
|
1507 | 1507 | $line->rang = $objp->rang; |
1508 | 1508 | $line->product_type = 1; |
1509 | 1509 | $line->fetch_optionals(); |
@@ -163,16 +163,16 @@ |
||
163 | 163 | 'label' => array('type' => 'varchar(128)', 'label' => 'Label', 'enabled' => 1, 'position' => 30, 'notnull' => 0, 'visible' => -1, 'searchall' => 1, 'css' => 'minwidth300', 'cssview' => 'wordbreak', 'help' => "Help text", 'showoncombobox' => 2, 'validate' => 1, 'comment' => "contains hash of file content"), |
164 | 164 | 'share' => array('type' => 'varchar(128)', 'label' => 'Share', 'enabled' => 1, 'position' => 40, 'notnull' => 0, 'visible' => -1, 'searchall' => 1, 'css' => 'minwidth300', 'cssview' => 'wordbreak', 'help' => "Help text", 'showoncombobox' => 2, 'validate' => 1, 'comment' => "contains hash for file sharing"), |
165 | 165 | 'entity' => array('type' => 'integer', 'label' => 'Entity', 'default' => '1', 'enabled' => 1, 'visible' => -2, 'notnull' => -1, 'position' => 50, 'index' => 1), |
166 | - 'filepath' => array('type' => 'varchar(255)', 'label' => 'FilePath', 'enabled' => 1, 'position' => 60, 'notnull' => 0, 'visible' => 0, 'searchall' => 0, 'css' => 'minwidth300', 'cssview' => 'wordbreak', 'help' => "Help text", 'showoncombobox' => 2, 'validate' => 1,'comment' => "relative to dolibarr document dir. Example module/def"), |
|
167 | - 'filename' => array('type' => 'varchar(255)', 'label' => 'FileName', 'enabled' => 1, 'position' => 70, 'notnull' => 0, 'visible' => 1, 'searchall' => 1, 'css' => 'minwidth300', 'cssview' => 'wordbreak', 'help' => "Help text", 'showoncombobox' => 2, 'validate' => 1,'comment' => "file name only without any directory"), |
|
168 | - 'src_object_type' => array('type' => 'varchar(64)', 'label' => 'SourceType', 'enabled' => 1, 'position' => 80, 'notnull' => 0, 'visible' => 0, 'searchall' => 1, 'css' => 'minwidth300', 'cssview' => 'wordbreak', 'help' => "Help text", 'showoncombobox' => 2, 'validate' => 1,'comment' => "Source object type ('proposal', 'invoice', ...)"), |
|
166 | + 'filepath' => array('type' => 'varchar(255)', 'label' => 'FilePath', 'enabled' => 1, 'position' => 60, 'notnull' => 0, 'visible' => 0, 'searchall' => 0, 'css' => 'minwidth300', 'cssview' => 'wordbreak', 'help' => "Help text", 'showoncombobox' => 2, 'validate' => 1, 'comment' => "relative to dolibarr document dir. Example module/def"), |
|
167 | + 'filename' => array('type' => 'varchar(255)', 'label' => 'FileName', 'enabled' => 1, 'position' => 70, 'notnull' => 0, 'visible' => 1, 'searchall' => 1, 'css' => 'minwidth300', 'cssview' => 'wordbreak', 'help' => "Help text", 'showoncombobox' => 2, 'validate' => 1, 'comment' => "file name only without any directory"), |
|
168 | + 'src_object_type' => array('type' => 'varchar(64)', 'label' => 'SourceType', 'enabled' => 1, 'position' => 80, 'notnull' => 0, 'visible' => 0, 'searchall' => 1, 'css' => 'minwidth300', 'cssview' => 'wordbreak', 'help' => "Help text", 'showoncombobox' => 2, 'validate' => 1, 'comment' => "Source object type ('proposal', 'invoice', ...)"), |
|
169 | 169 | 'src_object_id' => array('type' => 'integer', 'label' => 'SourceID', 'default' => '1', 'enabled' => 1, 'visible' => 0, 'notnull' => 1, 'position' => 90, 'index' => 1, 'comment' => "Source object id"), |
170 | - 'fullpath_orig' => array('type' => 'varchar(750)', 'label' => 'FullPathOrig', 'enabled' => 1, 'position' => 100, 'notnull' => 0, 'visible' => 0, 'searchall' => 0, 'css' => 'minwidth300', 'cssview' => 'wordbreak', 'help' => "Help text", 'showoncombobox' => 2, 'validate' => 1,'comment' => "full path of original filename, when file is uploaded from a local computer"), |
|
170 | + 'fullpath_orig' => array('type' => 'varchar(750)', 'label' => 'FullPathOrig', 'enabled' => 1, 'position' => 100, 'notnull' => 0, 'visible' => 0, 'searchall' => 0, 'css' => 'minwidth300', 'cssview' => 'wordbreak', 'help' => "Help text", 'showoncombobox' => 2, 'validate' => 1, 'comment' => "full path of original filename, when file is uploaded from a local computer"), |
|
171 | 171 | 'description' => array('type' => 'text', 'label' => 'Description', 'enabled' => 1, 'visible' => 0, 'position' => 110), |
172 | - 'keywords' => array('type' => 'varchar(750)', 'label' => 'Keywords', 'enabled' => 1, 'position' => 120, 'notnull' => 0, 'visible' => 1, 'searchall' => 1, 'css' => 'minwidth300', 'cssview' => 'wordbreak', 'help' => "Help text", 'showoncombobox' => 2, 'validate' => 1,'comment' => "list of keywords, separated with comma. Must be limited to most important keywords."), |
|
172 | + 'keywords' => array('type' => 'varchar(750)', 'label' => 'Keywords', 'enabled' => 1, 'position' => 120, 'notnull' => 0, 'visible' => 1, 'searchall' => 1, 'css' => 'minwidth300', 'cssview' => 'wordbreak', 'help' => "Help text", 'showoncombobox' => 2, 'validate' => 1, 'comment' => "list of keywords, separated with comma. Must be limited to most important keywords."), |
|
173 | 173 | 'cover' => array('type' => 'text', 'label' => 'Cover', 'enabled' => 1, 'visible' => 0, 'position' => 130, 'comment' => "is this file a file to use for a cover"), |
174 | 174 | 'position' => array('type' => 'integer', 'label' => 'Position', 'default' => '1', 'enabled' => 1, 'visible' => -2, 'notnull' => 1, 'position' => 140, 'index' => 1, 'comment' => "position of file among others"), |
175 | - 'gen_or_uploaded' => array('type' => 'varchar(12)', 'label' => 'GenOrUpload', 'enabled' => 1, 'position' => 150, 'notnull' => 0, 'visible' => -1, 'searchall' => 1, 'css' => 'minwidth300', 'cssview' => 'wordbreak', 'help' => "Help text", 'showoncombobox' => 2, 'validate' => 1,'comment' => "'generated' or 'uploaded'"), |
|
175 | + 'gen_or_uploaded' => array('type' => 'varchar(12)', 'label' => 'GenOrUpload', 'enabled' => 1, 'position' => 150, 'notnull' => 0, 'visible' => -1, 'searchall' => 1, 'css' => 'minwidth300', 'cssview' => 'wordbreak', 'help' => "Help text", 'showoncombobox' => 2, 'validate' => 1, 'comment' => "'generated' or 'uploaded'"), |
|
176 | 176 | 'extraparams' => array('type' => 'varchar(255)', 'label' => 'ExtraParams', 'enabled' => 1, 'position' => 160, 'notnull' => 0, 'visible' => 1, 'searchall' => 1, 'css' => 'minwidth300', 'cssview' => 'wordbreak', 'help' => "Help text", 'showoncombobox' => 2, 'validate' => 1, 'comment' => "for stocking other parameters with json format"), |
177 | 177 | 'date_c' => array('type' => 'datetime', 'label' => 'DateCreation', 'enabled' => 1, 'visible' => -1, 'position' => 170), |
178 | 178 | 'tms' => array('type' => 'timestamp', 'label' => 'DateModification', 'enabled' => 1, 'visible' => -1, 'notnull' => 1, 'position' => 175), |