[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 121/173: test : find the accounting with the
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 121/173: test : find the accounting with the biggest number of records |
Date: |
Mon, 22 Mar 2021 12:59:06 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 024797c6675c7d4e60be7a6ef3fb8fb28220442c
Author: Dany De Bontridder <danydb@noalyss.eu>
AuthorDate: Sat Oct 26 16:12:57 2019 +0200
test : find the accounting with the biggest number of records
---
scenario/acc_ledger_AccountTest.php | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/scenario/acc_ledger_AccountTest.php
b/scenario/acc_ledger_AccountTest.php
index 02be617..0114e8b 100644
--- a/scenario/acc_ledger_AccountTest.php
+++ b/scenario/acc_ledger_AccountTest.php
@@ -33,12 +33,15 @@ $_POST=array (
$_POST['gDossier']=$gDossierLogInput;
$_GET['gDossier']=$gDossierLogInput;
$_REQUEST=array_merge($_GET,$_POST);
+$acc_count=$cn->get_array("select count(*),j_poste".
+ " from jrnx ".
+ "group by j_poste order by count(*) desc");
-$a=new Acc_Account_Ledger($cn,7000017);
+$a=new Acc_Account_Ledger($cn,$acc_count[0]['j_poste']);
echo h1("Acc_Account_Ledger->get_row");
-$result=$a->get_row(227,215);
+$result=$a->get_row($min,$max);
var_dump($result);
echo h1("Acc_Account_Ledger->get_row_date");
-$result=$a->get_row_date('01.01.2015','01.01.2017');
+$result=$a->get_row_date('01.01.200','01.01.2099');
var_dump($result);
- [Noalyss-commit] [noalyss] 160/173: typo, (continued)
- [Noalyss-commit] [noalyss] 160/173: typo, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 159/173: Merge branch 'master' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 162/173: Merge branch 'master' into dev-8-bootstrap, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 164/173: Merge branch 'master' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 170/173: Task #1913 Correct calendar : nav button CSS esthétique, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 171/173: Cosmetic button, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 94/173: Merge branch 'accept7100' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 107/173: Merge branch 'accept7100' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 115/173: indent, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 118/173: Adapt printtva to entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 121/173: test : find the accounting with the biggest number of records,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 124/173: Merge branch 'v7110-stable' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 122/173: test : use the accounting with the biggest number of records, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 127/173: Merge branch 'dev7112' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 133/173: Test Acc_Account, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 136/173: Bug database.class.php : n'applique pas le patch, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 143/173: Merge commit '57309561191906d4099c8db08b7fa737f7c8e1e0' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 144/173: Merge commit 'b8fafe1f2b705272b9e3853a8a791200fb718fa6' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 148/173: Merge branch 'dev7400-1' into next-release-8, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 149/173: Merge branch 'enterprise' into entreprise, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 155/173: Merge branch 'master' into dev-8-bootstrap, Dany De Bontridder, 2021/03/22