[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 123/162: Merge commit '3f53de417dd89e9a90a386
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 123/162: Merge commit '3f53de417dd89e9a90a386404f93f8648155e046' into r700-currency |
Date: |
Sat, 11 Jul 2020 13:23:59 -0400 (EDT) |
sparkyx pushed a commit to annotated tag E-4
in repository noalyss.
commit b82aae9cbdc20008dc1d7e2c9566b04fdcbf21f4
Merge: f0499ac 3f53de4
Author: Dany De Bontridder <danydb@noalyss.eu>
AuthorDate: 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] 109/162: change background, (continued)
- [Noalyss-commit] [noalyss] 109/162: change background, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 113/162: Currency : cosmetic display history : show only the value of the card/accounting, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 114/162: Currency : export CSV history for card and accounting, fix bug with unneeded oc_vat_amount + add the currency rate, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 115/162: currency : adapt middle of payment, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 117/162: Currency : error when displaying, add 4 due to a mistype instruction, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 118/162: Currency : display correctly the saldo at the end / beginning operation, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 107/162: Currency : sales in listing mode, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 122/162: Merge branch 'master' into r700-currency, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 112/162: Database upgrade 131, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 116/162: Currency : send the saldo for financial ledger, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 123/162: Merge commit '3f53de417dd89e9a90a386404f93f8648155e046' into r700-currency,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 110/162: Currency : purchase oneline + extended html and csv, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 119/162: Currency = payment automatic for Sales and Purchases, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 121/162: Merge branch 'master' into r700-currency, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 124/162: Missing bracket, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 125/162: Esthetic with button "Add accounting", Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 131/162: Translation, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 133/162: Translation, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 120/162: Currency : when we pay at the same time as we record the sale / purchase , either the bank is in euro (default currency) or the sale/purchase has the same currency than the financial ledger, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 126/162: typo doc, Dany De Bontridder, 2020/07/11
- [Noalyss-commit] [noalyss] 127/162: Translation + use of httpInput, Dany De Bontridder, 2020/07/11