Home
last modified time | relevance | path

Searched refs:fk_unit (Results 1 – 25 of 122) sorted by relevance

12345

/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/core/class/
H A Dcommonobjectline.class.php50 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 Dcunits.class.php400 * @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 Dcommonobjectline.class.php50 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 Dcunits.class.php434 * @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 D3.7.0-3.8.0.sql616 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 D4.0.0-5.0.0.sql58 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 D3.7.0-3.8.0.sql616 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 D4.0.0-5.0.0.sql58 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 Dfichinterrec.class.php239 $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 Dfichinterrec.class.php239 $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 Dfacture-rec.class.php337 $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 Dfacture-rec.class.php364 $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 Dcard.php585 $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 Dobjectline_edit.tpl.php240 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 Dsupplier_proposal.class.php582 $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 Dsupplier_proposal.class.php579 $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 Dfournisseur.facture.class.php502 $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 Dllx_facturedet_rec.key.sql21 ALTER TABLE llx_facturedet_rec ADD CONSTRAINT fk_facturedet_rec_fk_unit FOREIGN KEY (fk_unit) REFER…
H A Dllx_commande_fournisseurdet.key.sql19 …isseurdet ADD CONSTRAINT fk_commande_fournisseurdet_fk_unit FOREIGN KEY (fk_unit) REFERENCES llx_c…
H A Dllx_propaldet.key.sql25 ALTER TABLE llx_propaldet ADD CONSTRAINT fk_propaldet_fk_unit FOREIGN KEY (fk_unit) REFERENCES llx_…
H A Dllx_supplier_proposaldet.key.sql25 …_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 Dllx_facturedet_rec.key.sql21 ALTER TABLE llx_facturedet_rec ADD CONSTRAINT fk_facturedet_rec_fk_unit FOREIGN KEY (fk_unit) REFER…
H A Dllx_commande_fournisseurdet.key.sql19 …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 Dcard.php695 $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 Dfournisseur.facture.class.php532 $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 …]

12345