';
if (!empty($conf->global->ACCOUNTING_ENABLE_EXPORT_DRAFT_JOURNAL) && $in_bookkeeping == 'notyet') {
print '
';
}
diff --git a/htdocs/adherents/admin/website.php b/htdocs/adherents/admin/website.php
index 6199991f29c..884c6e67be2 100644
--- a/htdocs/adherents/admin/website.php
+++ b/htdocs/adherents/admin/website.php
@@ -178,14 +178,14 @@ if (!empty($conf->global->MEMBER_ENABLE_PUBLIC)) {
print '
\n";
@@ -205,21 +205,21 @@ if (!empty($conf->global->MEMBER_ENABLE_PUBLIC)) {
// Amount
print '
';
}
- // Morphy
- $morphys["phy"] = $langs->trans("Physical");
- $morphys["mor"] = $langs->trans("Moral");
- print '
";
+ // Morphy
+ $morphys["phy"] = $langs->trans("Physical");
+ $morphys["mor"] = $langs->trans("Moral");
+ print '
';
diff --git a/htdocs/adherents/subscription/list.php b/htdocs/adherents/subscription/list.php
index 6056e1320f0..3fa4c4b3e7f 100644
--- a/htdocs/adherents/subscription/list.php
+++ b/htdocs/adherents/subscription/list.php
@@ -598,7 +598,11 @@ while ($i < min($num, $limit)) {
if (!$i) {
$totalarray['pos'][$totalarray['nbfield']] = 'd.amount';
}
- $totalarray['val']['d.amount'] += $obj->subscription;
+ if (empty($totalarray['val']['d.amount'])) {
+ $totalarray['val']['d.amount'] = $obj->subscription;
+ } else {
+ $totalarray['val']['d.amount'] += $obj->subscription;
+ }
}
// Extra fields
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_print_fields.tpl.php';
diff --git a/htdocs/admin/bom.php b/htdocs/admin/bom.php
index 459d9c47227..b19db5a3d5e 100644
--- a/htdocs/admin/bom.php
+++ b/htdocs/admin/bom.php
@@ -466,13 +466,13 @@ print '';
//Use draft Watermark
-print "