forked from Wavyzz/dolibarr
Merge pull request #4614 from bafbes/abb-3
include expense reports in linked objects section and provide template for them in this section
This commit is contained in:
@@ -5136,8 +5136,11 @@ class Form
|
||||
else if ($objecttype == 'order_supplier') {
|
||||
$tplpath = 'fourn/commande';
|
||||
}
|
||||
|
||||
global $linkedObjectBlock;
|
||||
else if ($objecttype == 'expensereport') {
|
||||
$tplpath = 'expensereport';
|
||||
}
|
||||
|
||||
global $linkedObjectBlock;
|
||||
$linkedObjectBlock = $objects;
|
||||
|
||||
// Output template part (modules that overwrite templates must declare this into descriptor)
|
||||
|
||||
Reference in New Issue
Block a user