2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2020-12-14 10:44:51 +01:00
parent ae5da8d55c
commit cce0b2f31b
4 changed files with 15 additions and 4 deletions

View File

@@ -1783,6 +1783,7 @@ function dol_banner_tab($object, $paramid, $morehtml = '', $shownav = 1, $fieldi
// Add if object was dispatched "into accountancy"
if (!empty($conf->accounting->enabled) && in_array($object->element, array('bank', 'facture', 'invoice', 'invoice_supplier', 'expensereport', 'payment_various')))
{
// Note: For 'chargesociales', 'salaries'... this is the payments that are dispatched (so element = 'bank')
if (method_exists($object, 'getVentilExportCompta'))
{
$accounted = $object->getVentilExportCompta();