[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 04/07: Task #0001861: Check Box range for che
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 04/07: Task #0001861: Check Box range for checkbox |
Date: |
Fri, 6 Nov 2020 11:21:20 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit e0514bca6925e5755d56039abe55f0842fef326d
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Thu Nov 5 23:44:50 2020 +0100
Task #0001861: Check Box range for checkbox
---
include/class/follow_up.class.php | 4 ++--
include/class/periode.class.php | 1 +
include/class/periode_ledger_table.class.php | 1 +
include/periode.inc.php | 1 +
include/template/periode_add_exercice.php | 15 ++++++++++++---
5 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/include/class/follow_up.class.php
b/include/class/follow_up.class.php
index 34a8ff0..b915328 100644
--- a/include/class/follow_up.class.php
+++ b/include/class/follow_up.class.php
@@ -627,7 +627,7 @@ class Follow_Up
$table->add(_('Titre'), $url, 'order by ag_title asc', 'order by
ag_title desc', 'ta', 'td');
$table->add(_('Etat'), $url, 'order by s_value asc', 'order by s_value
desc', 'ea', 'ed');
- $ord=(!isset($_GET['ord']))?"dcd":$_GET['ord'];
+ $ord=(!isset($_GET['ord']))?"dd":$_GET['ord'];
$sort=$table->get_sql_order($ord);
if (strlen(trim($p_filter))!=0)
@@ -736,7 +736,7 @@ class Follow_Up
$r.="<td>".$row['s_value']."</td>";
$r.='<td>'.$href.
h($row['ag_title'])."</A></td>";
- $r.="<td>".$href.h($row['tags']).'</a>'."</td>";
+ $r.="<td>".$href."<span
style=\"font-size:75%\">".h($row['tags']).'</span>'.'</a>'."</td>";
$r.="<td>".$href.$row['ag_ref'].'</a>'."</td>";
$r.="<td>".$href.h($row['dest']).'</a>'."</td>";
diff --git a/include/class/periode.class.php b/include/class/periode.class.php
index 43cde57..a8b0272 100644
--- a/include/class/periode.class.php
+++ b/include/class/periode.class.php
@@ -573,6 +573,7 @@ class Periode
if ($obj->getp("p_closed")=="f")
{
$checkbox=new ICheckBox("sel_per_close[]");
+ $checkbox->set_range("sel_per_close_ck");
$checkbox->set_attribute("per_id", $obj->getp("p_id"));
$checkbox->value=$obj->getp("p_id");
echo "<td>".$checkbox->input()."</td>";
diff --git a/include/class/periode_ledger_table.class.php
b/include/class/periode_ledger_table.class.php
index 263b231..c3d057e 100644
--- a/include/class/periode_ledger_table.class.php
+++ b/include/class/periode_ledger_table.class.php
@@ -131,6 +131,7 @@ class Periode_Ledger_Table
if ($pa_row["status"] == "OP") {
$checkbox=new ICheckBox("sel_per_close[]");
$checkbox->set_attribute("per_id", $pa_row['id']);
+ $checkbox->set_range("sel_per_close_ck");
$checkbox->value=$pa_row['id'];
echo "<td>".$checkbox->input()."</td>";
}else {
diff --git a/include/periode.inc.php b/include/periode.inc.php
index 0954190..9c4cfc3 100644
--- a/include/periode.inc.php
+++ b/include/periode.inc.php
@@ -137,4 +137,5 @@ echo '</div>';
?>
<script>
Periode.filter_exercice('periode_tbl');
+ activate_checkbox_range("sel_per_close_ck");
</script>
diff --git a/include/template/periode_add_exercice.php
b/include/template/periode_add_exercice.php
index f801ad8..ce31a26 100644
--- a/include/template/periode_add_exercice.php
+++ b/include/template/periode_add_exercice.php
@@ -70,9 +70,18 @@ de fin d'exercice: amortissements, régulations de compte...
Avec une 13ième p
</td>
</tr>
</table>
- <?php
- echo HtmlInput::submit("add_exercicebt", _("Ajout d'un exercice
comptable"));
- ?>
+ <ul class="aligned-block">
+ <li>
+ <?php
+ echo HtmlInput::submit("add_exercicebt", _("Ajout d'un exercice
comptable"));
+ ?>
+ </li>
+ <li>
+ <?php
+ echo HtmlInput::button_hide('exercice_add');
+ ?>
+ </li>
+ </ul>
</form>
<script charset="UTF8" lang="javascript">
function validate()
- [Noalyss-commit] [noalyss] branch master updated (fdf9df4 -> 83dc1e2), Dany De Bontridder, 2020/11/06
- [Noalyss-commit] [noalyss] 07/07: Follow Up col. order in the list, Dany De Bontridder, 2020/11/06
- [Noalyss-commit] [noalyss] 01/07: followyup list reorder, Dany De Bontridder, 2020/11/06
- [Noalyss-commit] [noalyss] 02/07: remove warning, Dany De Bontridder, 2020/11/06
- [Noalyss-commit] [noalyss] 04/07: Task #0001861: Check Box range for checkbox,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 05/07: Compatibility PostgreSQL 13 , remove the default OID, Dany De Bontridder, 2020/11/06
- [Noalyss-commit] [noalyss] 06/07: CFGCONTACT change to CFGOPT1, Dany De Bontridder, 2020/11/06
- [Noalyss-commit] [noalyss] 03/07: Traduction, Dany De Bontridder, 2020/11/06