mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-14 21:41:23 +01:00
add constant TICKETS_NO_COMPANY_ON_FORM
This commit is contained in:
@@ -135,7 +135,7 @@ class FormTicket
|
|||||||
|
|
||||||
$this->action = 'add';
|
$this->action = 'add';
|
||||||
|
|
||||||
$this->withcompany = isModEnabled("societe");
|
$this->withcompany = !getDolGlobalInt("TICKETS_NO_COMPANY_ON_FORM") && isModEnabled("societe");
|
||||||
$this->withfromsocid = 0;
|
$this->withfromsocid = 0;
|
||||||
$this->withfromcontactid = 0;
|
$this->withfromcontactid = 0;
|
||||||
$this->withreadid=0;
|
$this->withreadid=0;
|
||||||
|
|||||||
Reference in New Issue
Block a user