mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX : stickler-ci
This commit is contained in:
parent
17771c3990
commit
3e0689879d
|
|
@ -8895,9 +8895,9 @@ class Form
|
|||
);
|
||||
}
|
||||
|
||||
if($object->table_element == 'commande_fournisseur') {
|
||||
if ($object->table_element == 'commande_fournisseur') {
|
||||
$possiblelinks['mo']['sql'] = "SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.rowid, '0' as total_ht FROM ".$this->db->prefix()."societe as s INNER JOIN ".$this->db->prefix().'mrp_mo as t ON t.fk_soc = s.rowid WHERE t.entity IN ('.getEntity('mo').')';
|
||||
} elseif($object->table_element == 'mrp_mo') {
|
||||
} elseif ($object->table_element == 'mrp_mo') {
|
||||
$possiblelinks['order_supplier']['sql'] = "SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM ".$this->db->prefix()."societe as s, ".$this->db->prefix().'commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.entity IN ('.getEntity('commande_fournisseur').')';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user