[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 177/323: PRINTBAL : correct bug , exercice no
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 177/323: PRINTBAL : correct bug , exercice not get |
Date: |
Wed, 14 Mar 2018 17:38:45 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 066ace3b3ae8d5b249a7ac953823edf37ded4096
Author: Dany De Bontridder <address@hidden>
Date: Sat Feb 10 14:00:08 2018 +0100
PRINTBAL : correct bug , exercice not get
---
include/balance.inc.php | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/include/balance.inc.php b/include/balance.inc.php
index 859be10..ecca2ba 100644
--- a/include/balance.inc.php
+++ b/include/balance.inc.php
@@ -35,9 +35,8 @@ require_once NOALYSS_INCLUDE.'/class/periode.class.php';
require_once NOALYSS_INCLUDE.'/class/exercice.class.php';
global $g_user, $http;
$gDossier=dossier::id();
-
// Get the exercice
-$exercice=$http->get("exercice","number",0);
+$exercice=$http->request("exercice","number",0);
if ($exercice == 0 ){
$exercice=$g_user->get_exercice();
}
@@ -48,7 +47,6 @@ echo '<div class="content">';
/*
* Let you change the exercice
*/
-echo '<fieldset class="noprint"><legend>'._('Exercice').'</legend>';;
echo '<form method="GET">';
echo _('Choisissez un autre exercice')." : ";
$ex=new Exercice($cn);
@@ -57,15 +55,11 @@ $wex=$ex->select('exercice',$exercice,'
onchange="'.$js.'"');
echo $wex->input();
echo dossier::hidden();
echo HtmlInput::get_to_hidden(array('ac','type'));
-echo '</form>';
-echo '</fieldset>';
// Show the form for period
-echo '<FORM method="get">';
echo HtmlInput::get_to_hidden(array('ac'));
echo HtmlInput::hidden('type','bal');
-echo HtmlInput::get_to_hidden(array('exercice'));
echo dossier::hidden();
- [Noalyss-commit] [noalyss] 159/323: bug: error js in Icon_Action::close, (continued)
- [Noalyss-commit] [noalyss] 159/323: bug: error js in Icon_Action::close, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 171/323: History based on the date of the operation which it comes from, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 162/323: esthetic : improve title2, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 158/323: bug: cannot create user, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 167/323: Suppress obsolete files, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 174/323: Improve Documentation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 172/323: History accounting / card : first column is date, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 176/323: Manage_Table_SQL : Add tips for some col, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 164/323: Periode : change with exercice, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 166/323: PRINTBAL : add opening , correct, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 177/323: PRINTBAL : correct bug , exercice not get,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 173/323: Esthetic : put the anchor at a better place, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 154/323: FIX : PRINTJRN, ledger PDF and CSV, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 168/323: suppress useless file, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 169/323: Install : accept postgresql 10, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 165/323: PRINTBAL translate, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 197/323: CSS classic 7 : menu use font OpenSansRegular instead of SansaLight, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 199/323: CSS classic 7 : menu use font OpenSansRegular instead of SansaLight, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 163/323: Remove unused file, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 201/323: CSS : page login : forgotten email, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 190/323: SQL : remove comment on extension, Dany De Bontridder, 2018/03/14