[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 127/218: Merge commit '3f53de417dd89e9a90a386
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 127/218: Merge commit '3f53de417dd89e9a90a386404f93f8648155e046' into r700-currency |
Date: |
Thu, 12 Sep 2019 15:58:53 -0400 (EDT) |
sparkyx pushed a commit to branch entreprise
in repository noalyss.
commit b82aae9cbdc20008dc1d7e2c9566b04fdcbf21f4
Merge: f0499ac 3f53de4
Author: Dany De Bontridder <address@hidden>
Date: Wed Dec 26 13:05:56 2018 +0100
Merge commit '3f53de417dd89e9a90a386404f93f8648155e046' into r700-currency
include/lib/manage_table_sql.class.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --cc include/lib/manage_table_sql.class.php
index b39e05a,51aef22..a60ce24
--- a/include/lib/manage_table_sql.class.php
+++ b/include/lib/manage_table_sql.class.php
@@@ -811,28 -811,26 +811,28 @@@ function check(
*/
$idx=$p_row[$v];
/*
- * Check if index exists
- */
+ * Check if index exists
+ */
$array_to_search=$this->a_select[$v];
$value=$p_row[$v];
- $nb_search=count($array_to_search);
+
+
$nb_search=(is_array($array_to_search))?count($array_to_search):0;
$found=FALSE;
- for ( $e=0;$e< $nb_search;$e++) {
- if (isset ($array_to_search[$e]['value']) &&
$array_to_search[$e]['value']==$value ) {
+ for ($e=0; $e<$nb_search; $e++)
+ {
+ if
(isset($array_to_search[$e]['value'])&&$array_to_search[$e]['value']==$value)
+ {
$found=TRUE;
echo td($array_to_search[$e]['label']);
}
}
- if ( ! $found) {
+ if (!$found)
+ {
echo td("--");
-
}
- }
-
- }else {
+ else
+ {
echo td($p_row[$v]);
}
}
- [Noalyss-commit] [noalyss] 106/218: Currency : adapt for bank saldo, (continued)
- [Noalyss-commit] [noalyss] 106/218: Currency : adapt for bank saldo, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 112/218: currency : sale extended html , csv, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 110/218: Currency : All ledger's listing mode , html , csv and pdf, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 119/218: currency : adapt middle of payment, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 107/218: Currency : export PDF and CSV with currency for printing financial ledger listing(oneline), Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 130/218: typo doc, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 129/218: Esthetic with button "Add accounting", Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 114/218: Currency : purchase oneline + extended html and csv, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 125/218: Merge branch 'master' into r700-currency, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 128/218: Missing bracket, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 127/218: Merge commit '3f53de417dd89e9a90a386404f93f8648155e046' into r700-currency,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 132/218: Translation, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 133/218: Translation, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 134/218: use of httpInput, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 142/218: Currency : Precision 6, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 147/218: Currency : detail operation Purchase , the amount in currency were wrong in the summary, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 148/218: remove commented code, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 152/218: New function findSide return D if number is <0, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 93/218: translate, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 37/218: comment, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 50/218: Protect function nb , return the string if the parameter is not a float, Dany De Bontridder, 2019/09/12