[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 20/38: Fix : auto numbering receipt
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 20/38: Fix : auto numbering receipt |
Date: |
Sun, 18 Feb 2024 07:30:44 -0500 (EST) |
sparkyx pushed a commit to branch devel
in repository noalyss.
commit 1835c8e83387a476ff5b50c1573f56f3ac339df7
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Feb 11 16:59:01 2024 +0100
Fix : auto numbering receipt
---
include/class/acc_ledger.class.php | 8 ++++----
include/class/acc_ledger_purchase.class.php | 8 ++++----
include/class/acc_ledger_sale.class.php | 6 +++---
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/include/class/acc_ledger.class.php
b/include/class/acc_ledger.class.php
index 1ee0c9ab0..7db721ace 100644
--- a/include/class/acc_ledger.class.php
+++ b/include/class/acc_ledger.class.php
@@ -1534,10 +1534,10 @@ class Acc_Ledger extends jrn_def_sql
$acc_end->pj=$e_pj;
/* if e_suggest != e_pj then do not increment sequence */
- if (strcmp($e_pj, $e_pj_suggest)==0&&noalyss_strlentrim($e_pj)!=0)
- {
- $this->inc_seq_pj();
- }
+// if (strcmp($e_pj,
$e_pj_suggest)==0&&noalyss_strlentrim($e_pj)!=0)
+// {
+// $this->inc_seq_pj();
+// }
$this->pj=$acc_end->set_pj();
diff --git a/include/class/acc_ledger_purchase.class.php
b/include/class/acc_ledger_purchase.class.php
index 9722f4ee7..d94a36977 100644
--- a/include/class/acc_ledger_purchase.class.php
+++ b/include/class/acc_ledger_purchase.class.php
@@ -921,10 +921,10 @@ class Acc_Ledger_Purchase extends Acc_Ledger
array($internal,$seq));
/**= e_pj then do not increment sequence */
- if ( strcmp($e_pj,$e_pj_suggest) == 0 && noalyss_strlentrim($e_pj)
!= 0 )
- {
- $this->inc_seq_pj();
- }
+// if ( strcmp($e_pj,$this->pj) == 0 && noalyss_strlentrim($e_pj)
!= 0 )
+// {
+// $this->inc_seq_pj();
+// }
/* Save the attachment */
if ( isset ($_FILES))
diff --git a/include/class/acc_ledger_sale.class.php
b/include/class/acc_ledger_sale.class.php
index bfee92fa6..f793c8e5b 100644
--- a/include/class/acc_ledger_sale.class.php
+++ b/include/class/acc_ledger_sale.class.php
@@ -621,9 +621,9 @@ class Acc_Ledger_Sale extends Acc_Ledger {
/* * = e_pj then do not increment sequence */
/* and e_pj is not null */
- if (strcmp($e_pj, $e_pj_suggest) == 0 && noalyss_strlentrim($e_pj)
!= 0) {
- $this->inc_seq_pj();
- }
+// if (strcmp($e_pj, $this->pj ) == 0 && noalyss_strlentrim($e_pj)
!= 0) {
+// $this->inc_seq_pj();
+// }
$this->db->exec_sql("update jrn set jr_internal=$1 where
jr_grpt_id = $2" ,[$internal,$seq]);
- [Noalyss-commit] [noalyss] 22/38: Fix : auto numbering receipt, (continued)
- [Noalyss-commit] [noalyss] 22/38: Fix : auto numbering receipt, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 32/38: cosmetic, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 36/38: Fix : Bug cannot filter a list of element, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 27/38: Nouvelle fonction pour ajouter des attributs à un élément DOM, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 31/38: DB protect against JS Injection, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 24/38: Nouveau #00022980002298: detail fiche , historique du suivi, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 35/38: Merge devel, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 09/38: Task #2321: Sécurité : empêcher changement de numéro de pièce, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 16/38: Follow-Up : bug ne peut pas ajouter fichier sur nouvel événement, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 18/38: Fix cosmetic bug : duplicate operation with autoreverse VAT has an VAT amount, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 20/38: Fix : auto numbering receipt,
dwm <=
- [Noalyss-commit] [noalyss] 21/38: Merge branch 'devel', dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 25/38: cosmetic, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 37/38: Cosmetic, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 38/38: Upgrade SQL, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 28/38: DB protect against JS Injection, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 07/38: SUIVI : ajout prénom, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 14/38: integre changement SQL, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 30/38: redirect via javascript, dwm, 2024/02/18
- [Noalyss-commit] [noalyss] 34/38: Gestion : possibilité de sauvegarder les recherches, dwm, 2024/02/18