noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 53/54: test : use the accounting with the big


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 53/54: test : use the accounting with the biggest number of records
Date: Sat, 11 Jul 2020 13:27:02 -0400 (EDT)

sparkyx pushed a commit to annotated tag entreprise-0500
in repository noalyss.

commit 67469ce1b5fa84445bec2c88f18b9473d0404cd3
Author: Dany De Bontridder <danydb@noalyss.eu>
AuthorDate: Sat Oct 26 16:15:46 2019 +0200

    test : use the accounting with the biggest number of records
---
 scenario/acc_ledger_historyTest.php | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/scenario/acc_ledger_historyTest.php 
b/scenario/acc_ledger_historyTest.php
index 62dd957..48d6c47 100644
--- a/scenario/acc_ledger_historyTest.php
+++ b/scenario/acc_ledger_historyTest.php
@@ -32,7 +32,7 @@ echo Dossier::hidden();
 global $cn, $g_user, $g_succeed, $g_failed;
 $cn=Dossier::connect();
 
-$ledger_history=Acc_Ledger_History::factory($cn, $ledger, 216, 217, "E");
+$ledger_history=Acc_Ledger_History::factory($cn, $ledger, $min, $max, "E");
 echo h1("Detailled Accounting");
 echo h2(_("export detail html all ledgers result = Detailled Accounting from 
Acc_Ledger_History_Generic"));
 $ledger_history->export_detail_html();
@@ -42,7 +42,7 @@ $ledger_history->set_m_mode("D");
 $ledger_history->export_html();
 
 echo h1(_("Only VEN from Acc_Ledger_History_Sale"));
-$ledger_history=Acc_Ledger_History::factory($cn, [2], 216, 217, "L");
+$ledger_history=Acc_Ledger_History::factory($cn, [2], $min , $max , "L");
 $ledger_history->export_detail_html();
 
 echo h2(_("Only VEN one line"));
@@ -61,13 +61,13 @@ $ledger_history->set_m_mode("E");
 $ledger_history->export_html();
 
 echo h2("VEN + ACH");
-$ledger_history=Acc_Ledger_History::factory($cn, [3,2], 216, 217, "L");
+$ledger_history=Acc_Ledger_History::factory($cn, [3,2], $min, $max , "L");
 
 $ledger_history->export_oneline_html();
 
 echo h1("ACH from Acc_Ledger_History_Purchase");
 echo h2("Detailled accouting");
-$ledger_history=new Acc_Ledger_History_Purchase($cn,[3],216,217,"A");
+$ledger_history=new Acc_Ledger_History_Purchase($cn,[3],$max,$min,"A");
 $ledger_history->export_html();
 echo h2("Ach one line");
 $ledger_history->set_m_mode("L");
@@ -81,7 +81,7 @@ $ledger_history->export_html();
 
 echo h1("FIN from Acc_Ledger_History_Financial");
 echo h2("Detailled accouting");
-$ledger_history=new Acc_Ledger_History_Financial($cn,[11,16],216,217,"A");
+$ledger_history=new Acc_Ledger_History_Financial($cn,[11,16],$min,$max,"A");
 $ledger_history->export_html();
 echo h2("FIN one line");
 $ledger_history->set_m_mode("L");



reply via email to

[Prev in Thread] Current Thread [Next in Thread]