Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into 14.0
This commit is contained in:
commit
3278b7bc86
@ -4,7 +4,7 @@ LOG INALTERABLE
|
|||||||
## Fonctionnalité
|
## Fonctionnalité
|
||||||
|
|
||||||
Ce module trace, en temps réel, certains évènements métiers dans une log inaltérable (que vous ne pouvez pas modifier une fois enregistrés) de type blockchain.
|
Ce module trace, en temps réel, certains évènements métiers dans une log inaltérable (que vous ne pouvez pas modifier une fois enregistrés) de type blockchain.
|
||||||
Ce module est requis pour la compatibilité avec les exigences légales de certains pays (comme la France avec la loi Fincance 2016 - Norme NF535).
|
Ce module est requis pour la compatibilité avec les exigences légales de certains pays (comme la France avec la loi Finance 2016 - Norme NF525).
|
||||||
|
|
||||||
|
|
||||||
**Les évènements tracés de manière inaltérables sont:**
|
**Les évènements tracés de manière inaltérables sont:**
|
||||||
|
|||||||
@ -4,7 +4,7 @@ BLOCKED LOG
|
|||||||
## Feature
|
## Feature
|
||||||
|
|
||||||
This module tracks, in real time, some events into a non reversible log (that you can't modify once recorded) into a block chain.
|
This module tracks, in real time, some events into a non reversible log (that you can't modify once recorded) into a block chain.
|
||||||
This module provides compatibility with requirements of laws of some countries (like France with the law Fincance 2016 - Norme NF535).
|
This module provides compatibility with requirements of laws of some countries (like France with the law Finance 2016 - Norme NF525).
|
||||||
|
|
||||||
|
|
||||||
**The tracked events are:**
|
**The tracked events are:**
|
||||||
|
|||||||
@ -1539,6 +1539,18 @@ if ($resql) {
|
|||||||
$totalarray['val'] = array();
|
$totalarray['val'] = array();
|
||||||
$totalarray['val']['f.total_ht'] = 0;
|
$totalarray['val']['f.total_ht'] = 0;
|
||||||
$totalarray['val']['f.total_ttc'] = 0;
|
$totalarray['val']['f.total_ttc'] = 0;
|
||||||
|
|
||||||
|
$with_margin_info = false;
|
||||||
|
if (!empty($conf->margin->enabled) && (
|
||||||
|
!empty($arrayfields['total_pa']['checked'])
|
||||||
|
|| !empty($arrayfields['total_margin']['checked'])
|
||||||
|
|| !empty($arrayfields['total_margin_rate']['checked'])
|
||||||
|
|| !empty($arrayfields['total_mark_rate']['checked'])
|
||||||
|
)
|
||||||
|
) {
|
||||||
|
$with_margin_info = true;
|
||||||
|
}
|
||||||
|
|
||||||
while ($i < min($num, $limit)) {
|
while ($i < min($num, $limit)) {
|
||||||
$obj = $db->fetch_object($resql);
|
$obj = $db->fetch_object($resql);
|
||||||
|
|
||||||
@ -1624,7 +1636,7 @@ if ($resql) {
|
|||||||
$facturestatic->alreadypaid = $paiement;
|
$facturestatic->alreadypaid = $paiement;
|
||||||
|
|
||||||
$marginInfo = array();
|
$marginInfo = array();
|
||||||
if (!empty($conf->margin->enabled)) {
|
if ($with_margin_info === true) {
|
||||||
$facturestatic->fetch_lines();
|
$facturestatic->fetch_lines();
|
||||||
$marginInfo = $formmargin->getMarginInfosArray($facturestatic);
|
$marginInfo = $formmargin->getMarginInfosArray($facturestatic);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user