';
// For thirdparty, contact, user, member, the ref is the id, so we show something else
if ($object->element == 'societe') {
@@ -10553,6 +10553,8 @@ class Form
$ret .= $object->label;
} elseif ($object->element == 'ecm_directories') {
$ret .= '';
+ } elseif ($object->element == 'accountingbookkeeping' && !empty($object->context['mode']) && $object->context['mode'] == '_tmp') {
+ $ret .= $langs->trans("Draft");
} elseif ($fieldref != 'none') {
$ret .= dol_htmlentities(!empty($object->$fieldref) ? $object->$fieldref : "");
}
diff --git a/htdocs/langs/en_US/accountancy.lang b/htdocs/langs/en_US/accountancy.lang
index d0914238f12..24e06f1ef55 100644
--- a/htdocs/langs/en_US/accountancy.lang
+++ b/htdocs/langs/en_US/accountancy.lang
@@ -513,3 +513,5 @@ ClickToShowAlreadyExportedLines=Click to show already exported lines
NAccounts=%s accounts
ACCOUNTING_USE_TREASURY_Desc=This is the mode for treasury accountancy. We are using the payments only and their date for doing the accountancy.
ACCOUNTING_USE_NON_TREASURY_Desc=This is the mode for real accountancy. We are using both the invoices and payments for doing the accountancy.
+PieceDesc=The reference of the source document that generates this bank transaction (Invoice Ref, Expense report ref, ...)
+BankTransactionRef=A reference for the bank transaction (Optional, an automatic ID is already generated)
diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php
index 158f82dbc7b..ee4928c4a8a 100644
--- a/htdocs/theme/eldy/global.inc.php
+++ b/htdocs/theme/eldy/global.inc.php
@@ -1205,7 +1205,7 @@ td.wordbreak img, td.wordbreakimp img {
cursor: move;
}
.cursornotallowed {
- cursor: not-allowed;
+ cursor: not-allowed !important;
}
.cursorwait {
cursor: wait;
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index bdb737f061f..aec153b2dcf 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -1371,7 +1371,7 @@ td.wordbreak img, td.wordbreakimp img {
cursor: move;
}
.cursornotallowed {
- cursor: not-allowed;
+ cursor: not-allowed !important;
}
.cursorwait {
cursor: wait;