[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 216/219: Task #1378 : select ledger thanks th
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 216/219: Task #1378 : select ledger thanks their type |
Date: |
Mon, 18 Dec 2017 13:23:05 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 3cfd08867bd9bc86c4010d6dacc1d05cd2df17c8
Author: Dany De Bontridder <address@hidden>
Date: Sat Dec 16 12:27:48 2017 +0100
Task #1378 : select ledger thanks their type
---
include/class/acc_ledger_search.class.php | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/include/class/acc_ledger_search.class.php
b/include/class/acc_ledger_search.class.php
index cd84656..3ad3b47 100644
--- a/include/class/acc_ledger_search.class.php
+++ b/include/class/acc_ledger_search.class.php
@@ -1072,6 +1072,17 @@ class Acc_Ledger_Search
echo '<form method="GET" id="'.$p_div.'search_frm" onsubmit="return
hide_ledger_choice(\''.$p_div.'search_frm\')">';
echo HtmlInput::hidden('nb_jrn', count($p_array));
echo _('Filtre ').HtmlInput::filter_table($p_div.'tb_jrn', '0,1,2', 2);
+ echo HtmlInput::anchor_action(_('Inverser sel'),'
toggle_checkbox(\''."{$p_div}search_frm".'\')','sel_'.$p_div,"nav");
+ echo "-";
+ echo HtmlInput::anchor_action(_('Effacer sel'),'
unselect_checkbox(\''."{$p_div}search_frm".'\')','unsel_'.$p_div,"nav");
+ echo "-";
+ echo HtmlInput::anchor_action(_('Financier'),'
select_checkbox_attribute(\''."{$p_div}search_frm".'\',\'ledger_type\',\'FIN\')
','selfin_'.$p_div,"nav");
+ echo "-";
+ echo HtmlInput::anchor_action(_('Vente'),'
select_checkbox_attribute(\''."{$p_div}search_frm".'\',\'ledger_type\',\'VEN\')
','selfven_'.$p_div,"nav");
+ echo "-";
+ echo HtmlInput::anchor_action(_('Achat'),'
select_checkbox_attribute(\''."{$p_div}search_frm".'\',\'ledger_type\',\'ACH\')
','selfach_'.$p_div,"nav");
+ echo "-";
+ echo HtmlInput::anchor_action(_('Op.Diverses'),'
select_checkbox_attribute(\''."{$p_div}search_frm".'\',\'ledger_type\',\'ODS\')
','selfods_'.$p_div,"nav");
echo '<table class="result" id="'.$p_div.'tb_jrn">';
echo '<tr>';
echo th(_('Nom'));
@@ -1080,13 +1091,14 @@ class Acc_Ledger_Search
echo '</tr>';
echo '<tr>';
echo '<td>';
- echo HtmlInput::button('sel_'.$p_div,_('Inverser la sélection'),'
onclick = "toggle_checkbox(\''."{$p_div}search_frm".'\')"');
+
echo '</td>';
echo '</tr>';
for ($e=0;$e<count($p_array);$e++)
{
$row=$p_array[$e];
$r=new ICheckBox($p_div.'r_jrn'.$e,$row['jrn_def_id']);
+ $r->set_attribute("ledger_type", $row['jrn_def_type']);
$idx=$row['jrn_def_id'];
if ( $p_selected != null &&
in_array($row['jrn_def_id'],$p_selected))
{
- [Noalyss-commit] [noalyss] 39/219: Acc_Reconciliation : improve function get_amount_noautovat, set the prepare query inside the function, (continued)
- [Noalyss-commit] [noalyss] 39/219: Acc_Reconciliation : improve function get_amount_noautovat, set the prepare query inside the function, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 172/219: Merge branch 'master' of ns3:/srv/git/noalyss, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 143/219: ANC : balance analytique / comptabilité, corrige bug SQL, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 155/219: Task #1493 Encodage VEN , ACH, Ordre des opérations Déplacement du bouton modèle d'opérations, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 130/219: ANC groupe : little bug in PLANANC, allow a group null, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 142/219: ANC : balance croisée double fixe SQL query, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 160/219: INSTALL : check PHP version minimum 5.5, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 219/219: Task #1378 : show only the ledger of a given type, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 215/219: ICheckBox : add attribute to allow to select checkbox thanks its attribute with the js select_checkbox_attribute, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 170/219: Traduction, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 216/219: Task #1378 : select ledger thanks their type,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 201/219: Task #0001507: Click sur détail opérations apparaît trop haut Problem comes from window.onload loaded with detail operation. Move into do.php , recherche.php , popup.php from script.js, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 40/219: Test : utilisation nouvelle police nouveau theme Stock... Correction bug http_input SQL : correction table jnt_letter , col. inutile, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 86/219: Improve appearance, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 150/219: HttpInput: Exception if the type is not known, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 98/219: esthetic change icon, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 141/219: CSS Esthetic : comment span or IText can have the CSSclass label_item, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 117/219: Task #0001297: Perfectionnement menu COMPTA/ADV/OPEN remove dead code, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 35/219: Task #0001415: Lettrage - masquer la mise en évidence. Click a second time of an reconciliation and the highlight disappear, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 153/219: HtmlInput: fix small bug in fct image_click, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 158/219: Fix issue with open_basedir, sometime set in the server config, Dany De Bontridder, 2017/12/18