[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 14/173: use of httpInput
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 14/173: use of httpInput |
Date: |
Mon, 22 Mar 2021 12:58:24 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 1974dfcee3397b0659200d7b6d4bd3581d5c3921
Author: Dany De Bontridder <danydb@noalyss.eu>
AuthorDate: Fri Dec 28 10:22:23 2018 +0100
use of httpInput
---
include/operation_ods_new.inc.php | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/operation_ods_new.inc.php
b/include/operation_ods_new.inc.php
index 8e97df6..1c6f96f 100644
--- a/include/operation_ods_new.inc.php
+++ b/include/operation_ods_new.inc.php
@@ -31,8 +31,9 @@ require_once NOALYSS_INCLUDE.'/lib/iconcerned.class.php';
global $g_user,$g_parameter;
$cn=Dossier::connect();
-$id_predef = (isset($_REQUEST['p_jrn_predef'])) ? $_REQUEST['p_jrn_predef'] :
-1;
-$id_ledger = (isset($_REQUEST['p_jrn'])) ? $_REQUEST['p_jrn'] : $id_predef;
+$id_predef = $http->request('p_jrn_predef','number',-1);
+$id_ledger = $http->request('p_jrn','number',$id_predef);
+
$ledger = new Acc_Ledger($cn, $id_ledger);
$first_ledger=$ledger->get_first('ODS');
$ledger->id = ($ledger->id == -1) ? $first_ledger['jrn_def_id'] : $id_ledger;
- [Noalyss-commit] [noalyss] 09/173: Esthetic with button "Add accounting", (continued)
- [Noalyss-commit] [noalyss] 09/173: Esthetic with button "Add accounting", Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 08/173: Missing bracket, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 10/173: typo doc, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 06/173: Merge branch 'master' into r700-currency, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 07/173: Merge commit '3f53de417dd89e9a90a386404f93f8648155e046' into r700-currency, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 11/173: Translation + use of httpInput, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 13/173: Translation, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 18/173: Translation, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 05/173: Merge branch 'master' into r700-currency, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 12/173: Translation, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 14/173: use of httpInput,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 15/173: Translation, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 19/173: Translation, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 24/173: Currency : meaning 1 EUR is worth x currency for Sales, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 30/173: Currency : detail operation Sale , the amount in currency were wrong in the summary, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 20/173: Misc. Operation : input : Missing tag TR, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 22/173: Currency : Precision 6, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 25/173: Currency : the meaning is : 1 euro is worth xxx Currency , so we divide the amount with the currency rate to compute the EUR value, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 29/173: Currency : purchase, save all detail also in currency, fix problem with the advance payment, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 33/173: Fix problem with total in balance export, Dany De Bontridder, 2021/03/22
- [Noalyss-commit] [noalyss] 31/173: Task #1660 : place the button for the inventory on the top, Dany De Bontridder, 2021/03/22