[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");
- [Noalyss-commit] [noalyss] 42/54: If currency not given then supposed to be the default one (id=0), (continued)
- [Noalyss-commit] [noalyss] 42/54: If currency not given then supposed to be the default one (id=0), Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 43/54: Save_form_plan must use the array, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 49/54: Adapt printtva to entreprise, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 52/54: test : find the accounting with the biggest number of records, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 47/54: Merge branch 'dev7102' into entreprise, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 48/54: Acc_Ledger : problem with acc_ledger::load(), Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 45/54: fixup! Printtva , under some circumstance tva_summary::check fails, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 46/54: indent, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 50/54: improve test for fiche get_row, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 51/54: test : compute min et max periode, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 53/54: test : use the accounting with the biggest number of records,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 54/54: Improve Scenario Test, Dany De Bontridder, 2020/07/11