[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 72/119: Tag Limit column size , replace input
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 72/119: Tag Limit column size , replace input_switch by check_box |
Date: |
Mon, 26 Oct 2020 18:27:25 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit d3a05bfa18d4ece3ccf1ab220d32701b76af4cb5
Author: Dany De Bontridder <danydb@noalyss.eu>
AuthorDate: Sat Oct 10 20:19:47 2020 +0200
Tag Limit column size , replace input_switch by check_box
---
include/class/action_document_type_mtable.class.php | 4 +---
include/class/follow_up.class.php | 4 ++--
include/template/action_document_type_mtable_input.php | 8 +++++++-
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/include/class/action_document_type_mtable.class.php
b/include/class/action_document_type_mtable.class.php
index d3cc70b..03a7d2d 100644
--- a/include/class/action_document_type_mtable.class.php
+++ b/include/class/action_document_type_mtable.class.php
@@ -224,9 +224,7 @@ class Action_Document_Type_MTable extends Manage_Table_SQL
$cn->exec_sql("insert into jnt_document_option_contact
(jdoc_enable,document_type_id,contact_option_ref_id)
values
($1,$2,$3)",[$this->other["contact_option".$e],$object_sql->dt_id,$option_id]);
- tracedebug("insert-into-contact.log", $cn->sql);
- tracedebug("insert-into-contact.log", $cn->array);
- }
+ }
}
}
diff --git a/include/class/follow_up.class.php
b/include/class/follow_up.class.php
index 11b5f3c..b04bc90 100644
--- a/include/class/follow_up.class.php
+++ b/include/class/follow_up.class.php
@@ -616,7 +616,7 @@ class Follow_Up
$table->add('Date Doc.', $url, 'order by ag_timestamp asc', 'order by
ag_timestamp desc', 'da', 'dd');
$table->add('Date Comm.', $url, 'order by last_comment', 'order by
last_comment desc', 'dca', 'dcd');
$table->add('Date Limite', $url, 'order by ag_remind_date asc', 'order
by ag_remind_date desc', 'ra', 'rd');
- $table->add('Tag', $url, 'order by tags asc', 'order by tags desc',
'taa', 'tad');
+ $table->add('Etiquette', $url, 'order by tags asc', 'order by tags
desc', 'taa', 'tad');
$table->add('Réf.', $url, 'order by ag_ref asc', 'order by ag_ref
desc', 'ra', 'rd');
$table->add('Groupe', $url, "order by coalesce((select p_name from
profile where p_id=ag_dest),'Aucun groupe')", "order by coalesce((select p_name
from profile where p_id=ag_dest),'Aucun groupe') desc", 'dea', 'ded');
$table->add('Dest/Exp', $url, 'order by name asc', 'order by name
desc', 'ea', 'ed');
@@ -666,7 +666,7 @@ class Follow_Up
$r.='<th>'.$table->get_header(0).'</th>';
$r.='<th>'.$table->get_header(1).'</th>';
$r.='<th>'.$table->get_header(2).'</th>';
- $r.='<th>'.$table->get_header(3).'</th>';
+ $r.='<th style="width:5.57%">'.$table->get_header(3).'</th>';
$r.='<th>'.$table->get_header(4).'</th>';
$r.='<th>'.$table->get_header(5).'</th>';
$r.='<th>'.$table->get_header(6).'</th>';
diff --git a/include/template/action_document_type_mtable_input.php
b/include/template/action_document_type_mtable_input.php
index 9328c4c..784a4f0 100644
--- a/include/template/action_document_type_mtable_input.php
+++ b/include/template/action_document_type_mtable_input.php
@@ -25,6 +25,7 @@ if (!defined('ALLOWED'))
* @file
* @brief called from p_id already set,
* @see action_document_type_mtable::input
+ * @see
*/
// SQL Object Document_Type
$table=$this->get_table();
@@ -107,7 +108,12 @@ for ($i=0;$i<$nb_option;$i++)
echo '<li>';
echo HtmlInput::hidden("cor_id[]", $aOption[$i]["cor_id"]);
- $is=new InputSwitch("contact_option$i",$aOption[$i]["jdoc_enable"]);
+ $is=new ICheckBox("contact_option$i",1);
+ if ($aOption[$i]['jdoc_enable'] ==1 ) {
+ $is->set_check(1);
+ } else {
+ $is->set_check(0);
+ }
echo $is->input();
echo " "._($aOption[$i]['cor_label']);
echo '</li>';
- [Noalyss-commit] [noalyss] 42/119: Bug : cannot duplicate ACH, (continued)
- [Noalyss-commit] [noalyss] 42/119: Bug : cannot duplicate ACH, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 45/119: ManageTable : add tbody and thead , fix javascript error, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 44/119: Fix: predefined operation with overflow for details, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 49/119: tag - cosmetic, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 47/119: Tag and Group Tag, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 53/119: NEW Security : add tag, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 56/119: Cosmetic for cells for tag and contact, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 55/119: not used anymore javascript:void(0), Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 58/119: Missing file, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 62/119: FOLLOWUP : generate doc. add new tag, DOCUMENT_ID, TITLE, DESCRIPTION, LABELOP, COMMENT, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 72/119: Tag Limit column size , replace input_switch by check_box,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 61/119: Search Card Paginate, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 64/119: InPlace_Switch : do not echo , return a string instead, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 68/119: Add new type of attribute : check, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 81/119: Search card :typo, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 90/119: select_box cosmetic font, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 92/119: Follow-Up create doc new Tags COMMENTS, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 93/119: Follow-up new column "Status", Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 98/119: Follow up add followup action, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 103/119: Improve : Quick filter on history, Dany De Bontridder, 2020/10/26
- [Noalyss-commit] [noalyss] 84/119: Merge extension-crm, Dany De Bontridder, 2020/10/26
- Prev by Date:
[Noalyss-commit] [noalyss] 62/119: FOLLOWUP : generate doc. add new tag, DOCUMENT_ID, TITLE, DESCRIPTION, LABELOP, COMMENT
- Next by Date:
[Noalyss-commit] [noalyss] 61/119: Search Card Paginate
- Previous by thread:
[Noalyss-commit] [noalyss] 62/119: FOLLOWUP : generate doc. add new tag, DOCUMENT_ID, TITLE, DESCRIPTION, LABELOP, COMMENT
- Next by thread:
[Noalyss-commit] [noalyss] 61/119: Search Card Paginate
- Index(es):