Task #0001861: Check Box range for checkbox
This commit is contained in:
parent
2a81143afc
commit
e0514bca69
5 changed files with 17 additions and 5 deletions
|
|
@ -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>";
|
||||
|
||||
|
|
|
|||
|
|
@ -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>";
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -137,4 +137,5 @@ echo '</div>';
|
|||
?>
|
||||
<script>
|
||||
Periode.filter_exercice('periode_tbl');
|
||||
activate_checkbox_range("sel_per_close_ck");
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue