[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 17/19: Test : correct test for Acc_Ledger_Fac
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 17/19: Test : correct test for Acc_Ledger_Factory : payment status |
Date: |
Thu, 12 Dec 2019 15:49:06 -0500 (EST) |
sparkyx pushed a commit to tag rel7200
in repository noalyss.
commit a22189a908caaef48f8ca3e669215f343a5f8790
Author: Dany De Bontridder <address@hidden>
Date: Sun Dec 8 14:09:09 2019 +0100
Test : correct test for Acc_Ledger_Factory : payment status
---
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 48d6c47..2800d54 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, $min, $max, "E");
+$ledger_history=Acc_Ledger_History::factory($cn, $ledger, $min, $max,
"E","all");
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], $min , $max , "L");
+$ledger_history=Acc_Ledger_History::factory($cn, [2], $min , $max , "L","all");
$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], $min, $max , "L");
+$ledger_history=Acc_Ledger_History::factory($cn, [3,2], $min, $max ,
"L","all");
$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],$max,$min,"A");
+$ledger_history=new Acc_Ledger_History_Purchase($cn,[3],$max,$min,"A","all");
$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],$min,$max,"A");
+$ledger_history=new
Acc_Ledger_History_Financial($cn,[11,16],$min,$max,"A","all");
$ledger_history->export_html();
echo h2("FIN one line");
$ledger_history->set_m_mode("L");
- [Noalyss-commit] [noalyss] 05/19: Remove direct access to $http, (continued)
- [Noalyss-commit] [noalyss] 05/19: Remove direct access to $http, Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 08/19: Merge branch 'dev-7200', Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 07/19: http_input replace empty by a value, Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 03/19: Documentation + bug cosmetic about TVA_SIDED : total operation shown instead of total_invoice (VAT REVERSED), Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 10/19: Merge branch 'dev-7200', Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 11/19: Bug #1783 : les nombres commençant par zéro ne sont pas supportés, Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 06/19: export historic card csv : column wrong, Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 12/19: Merge branch 'dev-7200', Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 09/19: zero is considered as empty value, Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 16/19: Merge branch 'dev-7200', Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 17/19: Test : correct test for Acc_Ledger_Factory : payment status,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 18/19: http_input , trim on array is invalid, Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 15/19: Bug in reconcile for bank amount: total_invoice is null for FIN and ODS, Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 13/19: Bug : search, Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 14/19: Merge branch 'dev-7200', Dany De Bontridder, 2019/12/12
- [Noalyss-commit] [noalyss] 19/19: Merge branch 'dev-7200', Dany De Bontridder, 2019/12/12