/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/core/class/ |
H A D | commonobjectline.class.php | 50 public $fk_unit; variable in CommonObjectLine 74 if (!$this->fk_unit) { 86 $sql = 'select '.$label_type.', code from '.MAIN_DB_PREFIX.'c_units where rowid='.$this->fk_unit;
|
H A D | cunits.class.php | 400 * @param int $fk_unit current unit id of value 404 public function unitConverter($value, $fk_unit, $fk_new_unit = 0) argument 407 $fk_unit = intval($fk_unit); 410 $scaleUnitPow = $this->scaleOfUnitPow($fk_unit);
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/core/class/ |
H A D | commonobjectline.class.php | 50 public $fk_unit; variable in CommonObjectLine 74 if (empty($this->fk_unit)) { 89 …select '.$label_type.', code from '.MAIN_DB_PREFIX.'c_units where rowid = '.((int) $this->fk_unit);
|
H A D | cunits.class.php | 434 * @param int $fk_unit current unit id of value 438 public function unitConverter($value, $fk_unit, $fk_new_unit = 0) argument 441 $fk_unit = intval($fk_unit); 444 $scaleUnitPow = $this->scaleOfUnitPow($fk_unit);
|
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/install/mysql/migration/ |
H A D | 3.7.0-3.8.0.sql | 616 alter table llx_product add fk_unit integer DEFAULT NULL; 617 ALTER TABLE llx_product ADD CONSTRAINT fk_product_fk_unit FOREIGN KEY (fk_unit) REFERENCES llx_c_un… 619 alter table llx_facturedet_rec add fk_unit integer DEFAULT NULL; 622 alter table llx_facturedet add fk_unit integer DEFAULT NULL; 623 ALTER TABLE llx_facturedet ADD CONSTRAINT fk_facturedet_fk_unit FOREIGN KEY (fk_unit) REFERENCES ll… 625 alter table llx_propaldet add fk_unit integer DEFAULT NULL; 626 ALTER TABLE llx_propaldet ADD CONSTRAINT fk_propaldet_fk_unit FOREIGN KEY (fk_unit) REFERENCES llx_… 628 alter table llx_commandedet add fk_unit integer DEFAULT NULL; 631 alter table llx_contratdet add fk_unit integer DEFAULT NULL; 634 alter table llx_commande_fournisseurdet add fk_unit integer DEFAULT NULL; [all …]
|
H A D | 4.0.0-5.0.0.sql | 58 ALTER TABLE llx_facturedet ADD COLUMN fk_user_author integer after fk_unit; 59 ALTER TABLE llx_facturedet ADD COLUMN fk_user_modif integer after fk_unit; 179 ALTER TABLE llx_supplier_proposaldet ADD COLUMN fk_unit integer DEFAULT NULL;
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/install/mysql/migration/ |
H A D | 3.7.0-3.8.0.sql | 616 alter table llx_product add fk_unit integer DEFAULT NULL; 617 ALTER TABLE llx_product ADD CONSTRAINT fk_product_fk_unit FOREIGN KEY (fk_unit) REFERENCES llx_c_un… 619 alter table llx_facturedet_rec add fk_unit integer DEFAULT NULL; 622 alter table llx_facturedet add fk_unit integer DEFAULT NULL; 623 ALTER TABLE llx_facturedet ADD CONSTRAINT fk_facturedet_fk_unit FOREIGN KEY (fk_unit) REFERENCES ll… 625 alter table llx_propaldet add fk_unit integer DEFAULT NULL; 626 ALTER TABLE llx_propaldet ADD CONSTRAINT fk_propaldet_fk_unit FOREIGN KEY (fk_unit) REFERENCES llx_… 628 alter table llx_commandedet add fk_unit integer DEFAULT NULL; 631 alter table llx_contratdet add fk_unit integer DEFAULT NULL; 634 alter table llx_commande_fournisseurdet add fk_unit integer DEFAULT NULL; [all …]
|
H A D | 4.0.0-5.0.0.sql | 58 ALTER TABLE llx_facturedet ADD COLUMN fk_user_author integer after fk_unit; 59 ALTER TABLE llx_facturedet ADD COLUMN fk_user_modif integer after fk_unit; 179 ALTER TABLE llx_supplier_proposaldet ADD COLUMN fk_unit integer DEFAULT NULL;
|
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/fichinter/class/ |
H A D | fichinterrec.class.php | 239 $fichintsrc->lines[$i]->fk_unit 394 $line->fk_unit = $objp->fk_unit; 474 * @param string $fk_unit Unit 477 …0, $fk_remise_except = '', $pu_ttc = 0, $type = 0, $special_code = 0, $label = '', $fk_unit = null) argument 560 $sql .= ", ".(!empty($fk_unit) ? $fk_unit : "null");
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/fichinter/class/ |
H A D | fichinterrec.class.php | 239 $fichintsrc->lines[$i]->fk_unit 398 $line->fk_unit = $objp->fk_unit; 480 * @param string $fk_unit Unit 483 …0, $fk_remise_except = '', $pu_ttc = 0, $type = 0, $special_code = 0, $label = '', $fk_unit = null) argument 572 $sql .= ", ".(!empty($fk_unit) ? $fk_unit : "null");
|
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/compta/facture/class/ |
H A D | facture-rec.class.php | 337 $facsrc->lines[$i]->fk_unit, 722 $line->fk_unit = $objp->fk_unit; 827 * @param string $fk_unit Unit 835 …'', $pu_ttc = 0, $type = 0, $rang = -1, $special_code = 0, $label = '', $fk_unit = null, $pu_ht_de… argument 969 $sql .= ", ".($fk_unit ? "'".$this->db->escape($fk_unit)."'" : "null"); 1012 * @param string $fk_unit Unit 1021 …'', $pu_ttc = 0, $type = 0, $rang = -1, $special_code = 0, $label = '', $fk_unit = null, $pu_ht_de… argument 1027 …, price_base_type=$price_base_type, pu_ttc=$pu_ttc, type=$type, fk_unit=$fk_unit, pu_ht_devise=$pu… 1133 $sql .= ", fk_unit=".($fk_unit ? "'".$this->db->escape($fk_unit)."'" : "null"); 2028 $this->fk_unit = $objp->fk_unit; [all …]
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/compta/facture/class/ |
H A D | facture-rec.class.php | 364 $facsrc->lines[$i]->fk_unit, 725 $line->fk_unit = $objp->fk_unit; 831 * @param string $fk_unit Unit 839 …'', $pu_ttc = 0, $type = 0, $rang = -1, $special_code = 0, $label = '', $fk_unit = null, $pu_ht_de… argument 982 $sql .= ", ".($fk_unit ? "'".$this->db->escape($fk_unit)."'" : "null"); 1024 * @param string $fk_unit Unit 1033 …'', $pu_ttc = 0, $type = 0, $rang = -1, $special_code = 0, $label = '', $fk_unit = null, $pu_ht_de… argument 1039 …, price_base_type=$price_base_type, pu_ttc=$pu_ttc, type=$type, fk_unit=$fk_unit, pu_ht_devise=$pu… 1159 $sql .= ", fk_unit=".($fk_unit ? "'".$this->db->escape($fk_unit)."'" : "null"); 2061 $this->fk_unit = $objp->fk_unit; [all …]
|
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/product/stock/ |
H A D | card.php | 585 $productstatic->fk_unit = $objp->fk_unit; 601 if (is_null($productstatic->fk_unit))$productstatic->fk_unit = 1; 640 if ($i == 0) $units = $productstatic->fk_unit; 641 elseif ($productstatic->fk_unit != $units) $sameunits = false;
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/core/tpl/ |
H A D | objectline_edit.tpl.php | 240 if (!empty($line->fk_unit) && empty($conf->global->MAIN_EDIT_LINE_ALLOW_ALL_UNIT_TYPE)) { 243 if ($cUnit->fetch($line->fk_unit) > 0) { 251 print $form->selectUnits($line->fk_unit, "units", 0, $unit_type);
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/supplier_proposal/class/ |
H A D | supplier_proposal.class.php | 582 $this->line->fk_unit = $fk_unit; 777 $this->line->fk_unit = $fk_unit; 1357 $line->fk_unit = $objp->fk_unit; 2619 $this->lines[$i]->fk_unit = $obj->fk_unit; 2919 $this->fk_unit = $objp->fk_unit; 2986 if (empty($this->fk_unit)) { 2987 $this->fk_unit = 0; 3057 $sql .= ", ".($this->fk_unit ? $this->fk_unit : 'null'); 3188 if (empty($this->fk_unit)) { 3189 $this->fk_unit = 0; [all …]
|
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/supplier_proposal/class/ |
H A D | supplier_proposal.class.php | 579 $this->line->fk_unit = $fk_unit; 667 * @param int $fk_unit Id of the unit to use. 771 $this->line->fk_unit = $fk_unit; 1030 $this->lines[$i]->fk_unit, 1371 $line->fk_unit = $objp->fk_unit; 2628 $this->lines[$i]->fk_unit = $obj->fk_unit; 2929 $this->fk_unit = $objp->fk_unit; 2966 if (empty($this->fk_unit)) $this->fk_unit = 0; 3031 $sql .= ", ".($this->fk_unit ? $this->fk_unit : 'null'); 3143 if (empty($this->fk_unit)) $this->fk_unit = 0; [all …]
|
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/fourn/class/ |
H A D | fournisseur.facture.class.php | 502 $this->lines[$i]->fk_unit, 548 $line->fk_unit, 845 $line->fk_unit = $obj->fk_unit; 1803 $this->line->fk_unit = $fk_unit; 1978 $line->fk_unit = $fk_unit; 3059 $this->fk_unit = $obj->fk_unit; 3163 if (empty($this->fk_unit)) { 3164 $fk_unit = "null"; 3166 $fk_unit = "'".$this->db->escape($this->fk_unit)."'"; 3192 $sql .= ", fk_unit = ".$fk_unit; [all …]
|
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/install/mysql/tables/ |
H A D | llx_facturedet_rec.key.sql | 21 ALTER TABLE llx_facturedet_rec ADD CONSTRAINT fk_facturedet_rec_fk_unit FOREIGN KEY (fk_unit) REFER…
|
H A D | llx_commande_fournisseurdet.key.sql | 19 …isseurdet ADD CONSTRAINT fk_commande_fournisseurdet_fk_unit FOREIGN KEY (fk_unit) REFERENCES llx_c…
|
H A D | llx_propaldet.key.sql | 25 ALTER TABLE llx_propaldet ADD CONSTRAINT fk_propaldet_fk_unit FOREIGN KEY (fk_unit) REFERENCES llx_…
|
H A D | llx_supplier_proposaldet.key.sql | 25 …_proposaldet ADD CONSTRAINT fk_supplier_proposaldet_fk_unit FOREIGN KEY (fk_unit) REFERENCES llx_c…
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/install/mysql/tables/ |
H A D | llx_facturedet_rec.key.sql | 21 ALTER TABLE llx_facturedet_rec ADD CONSTRAINT fk_facturedet_rec_fk_unit FOREIGN KEY (fk_unit) REFER…
|
H A D | llx_commande_fournisseurdet.key.sql | 19 …isseurdet ADD CONSTRAINT fk_commande_fournisseurdet_fk_unit FOREIGN KEY (fk_unit) REFERENCES llx_c…
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/product/stock/ |
H A D | card.php | 695 $productstatic->fk_unit = $objp->fk_unit; 722 if (is_null($productstatic->fk_unit)) { 723 $productstatic->fk_unit = 1; 763 $units = $productstatic->fk_unit; 764 } elseif ($productstatic->fk_unit != $units) {
|
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/fourn/class/ |
H A D | fournisseur.facture.class.php | 532 $this->lines[$i]->fk_unit, 578 $line->fk_unit, 874 $line->fk_unit = $obj->fk_unit; 1784 * @param string $fk_unit Code of the unit to use. Null to use the default one 1982 $this->line->fk_unit = $fk_unit; 2043 * @param string $fk_unit Code of the unit to use. Null to use the default one 2165 $line->fk_unit = $fk_unit; 3272 $this->fk_unit = $obj->fk_unit; 3391 $fk_unit = (int) $this->fk_unit; 3420 $sql .= ", fk_unit = ".($fk_unit > 0 ? (int) $fk_unit : 'null'); [all …]
|