2
0
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:
Laurent Destailleur
2016-03-18 00:26:24 +01:00
6 changed files with 86 additions and 2 deletions

View File

@@ -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)