Fix doc
This commit is contained in:
parent
07e1646b3a
commit
a6fe03bd14
@ -544,7 +544,7 @@ class Orders extends DolibarrApi
|
||||
* Unlink a contact type of given order
|
||||
*
|
||||
* @param int $id Id of order to update
|
||||
* @param int $rowid Row key of the contact in the array contact_ids.
|
||||
* @param int $contactid Id of contact
|
||||
* @param string $type Type of the contact (BILLING, SHIPPING, CUSTOMER).
|
||||
*
|
||||
* @url DELETE {id}/contact/{contactid}/{type}
|
||||
|
||||
@ -2388,11 +2388,11 @@ if ($action != 'create' && $action != 'edit' && $action != 'delete')
|
||||
// Documents
|
||||
$objectref = dol_sanitizeFileName($object->ref);
|
||||
$relativepath = $comref.'/'.$objectref.'.pdf';
|
||||
if (!empty($conf->product->multidir_output[$object->entity])) {
|
||||
$filedir = $conf->product->multidir_output[$object->entity].'/'.$objectref; //Check repertories of current entities
|
||||
} else {
|
||||
$filedir = $conf->product->dir_output.'/'.$objectref;
|
||||
}
|
||||
if (!empty($conf->product->multidir_output[$object->entity])) {
|
||||
$filedir = $conf->product->multidir_output[$object->entity].'/'.$objectref; //Check repertories of current entities
|
||||
} else {
|
||||
$filedir = $conf->product->dir_output.'/'.$objectref;
|
||||
}
|
||||
$urlsource = $_SERVER["PHP_SELF"]."?id=".$object->id;
|
||||
$genallowed = $usercanread;
|
||||
$delallowed = $usercancreate;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user