[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 05/17: esthetic
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 05/17: esthetic |
Date: |
Mon, 31 Oct 2022 12:53:38 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit e8acb6749b38d6e4bbcd9ffd0b5c9f87f3d53449
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Oct 23 08:49:26 2022 +0200
esthetic
---
html/css/style-classic7.css | 4 ++--
include/class/acc_plan_mtable.class.php | 13 ++++++++-----
include/class/extension.class.php | 6 ++++++
3 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/html/css/style-classic7.css b/html/css/style-classic7.css
index 9e1bdcfea..d1b7e9d35 100644
--- a/html/css/style-classic7.css
+++ b/html/css/style-classic7.css
@@ -3018,9 +3018,9 @@ margin:1px;
* If a input is incorrect
*/
.input-error {
- border:1px dotted red !important;
+ border:1px solid red !important;
color:darkred !important;
-
+ background-color: rgba(255, 182, 193, 0.65);
}
/*************************************************************************************
diff --git a/include/class/acc_plan_mtable.class.php
b/include/class/acc_plan_mtable.class.php
index f8dd447b0..97ea1a2e0 100644
--- a/include/class/acc_plan_mtable.class.php
+++ b/include/class/acc_plan_mtable.class.php
@@ -70,7 +70,7 @@ class Acc_Plan_MTable extends Manage_Table_SQL
}
/**
- * Display a row
+ * @brief Display a row
* @param type $p_row array of value key column=>value
*/
function display_row($p_row)
@@ -100,7 +100,8 @@ class Acc_Plan_MTable extends Manage_Table_SQL
'</td>';
}
elseif ($v == "fiche_qcode") {
- $count=$this->table->cn->get_value("select count(*) from
fiche_detail where ad_id=5 and ad_value=$1",array($p_row['pcm_val']));
+ $count=$this->table->cn->get_value("select count(*) from
fiche_detail where ad_id=5 and ad_value=$1"
+ ,array($p_row['pcm_val']));
if ($count == 0) echo td("");
elseif ($count == 1 ) {
echo '<td>';
@@ -112,12 +113,14 @@ class Acc_Plan_MTable extends Manage_Table_SQL
echo '<td>';
$a_code=explode(",",$p_row[$v]);
$nb_code=count($a_code);
+ echo \Noalyss\Dbg::hidden_info("card",$p_row);
for ($xx = 0;$xx < $nb_code;$xx++)
{
- echo HtmlInput::card_detail($a_code[$xx])."," ;
+ echo
HtmlInput::card_detail($a_code[$xx],'','style="display:inline"')."," ;
}
echo " ($count) ";
- echo Icon_Action::more(uniqid(),
sprintf("display_all_card('%s','%s')",$dossier_id,$p_row["pcm_val"]));
+ echo Icon_Action::more(uniqid(),
sprintf("display_all_card('%s','%s')",
+ $dossier_id,$p_row["pcm_val"]));
echo '</td>';
}
@@ -153,7 +156,7 @@ class Acc_Plan_MTable extends Manage_Table_SQL
}
/**
- * Check that the entered data are valid before recording them into
+ * @brief Check that the entered data are valid before recording them into
* tmp_pcmn, the errors are stored into this->a_error and if someting wrong
* is found it returns false, if the data can be saved it returns true
* @return return false if an error is found,
diff --git a/include/class/extension.class.php
b/include/class/extension.class.php
index 343eb951b..368710f07 100644
--- a/include/class/extension.class.php
+++ b/include/class/extension.class.php
@@ -382,4 +382,10 @@ class Extension extends Menu_Ref_sql
return $a_extension;
}
+ public function __toString(): string
+ {
+ return "Extension";
+ }
+
+
}
- [Noalyss-commit] [noalyss] 02/17: Cosmetic, (continued)
- [Noalyss-commit] [noalyss] 02/17: Cosmetic, Dany De Bontridder, 2022/10/31
- [Noalyss-commit] [noalyss] 10/17: Fix : bug when of rounding number TOTAL_VEN_TVAC when generating an invoice, Dany De Bontridder, 2022/10/31
- [Noalyss-commit] [noalyss] 13/17: Improve Output_Html : row , tab and accordean, Dany De Bontridder, 2022/10/31
- [Noalyss-commit] [noalyss] 12/17: correct patch, Dany De Bontridder, 2022/10/31
- [Noalyss-commit] [noalyss] 04/17: Task 0002212: Réconciliation : numéro de pièce doit être vide, Dany De Bontridder, 2022/10/31
- [Noalyss-commit] [noalyss] 08/17: Bug : toggleHideShow doesn't work with search_form and rotating button, Dany De Bontridder, 2022/10/31
- [Noalyss-commit] [noalyss] 07/17: rename user.class.php and User by noalyss_user.class.php and Noalyss_User, Dany De Bontridder, 2022/10/31
- [Noalyss-commit] [noalyss] 17/17: Bug : 840cd82f3b7f has introduced a bug when searching an accounting, Dany De Bontridder, 2022/10/31
- [Noalyss-commit] [noalyss] 15/17: Fix : type in debug info, Dany De Bontridder, 2022/10/31
- [Noalyss-commit] [noalyss] 16/17: info debug, Dany De Bontridder, 2022/10/31
- [Noalyss-commit] [noalyss] 05/17: esthetic,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 11/17: Fix bug : if TVA code contain space, it was considered as another tva_code, Dany De Bontridder, 2022/10/31
- [Noalyss-commit] [noalyss] 14/17: WYSIWYG textarea, Dany De Bontridder, 2022/10/31