noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 03/06: Task #0002090: TVA : selection TVA , p


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 03/06: Task #0002090: TVA : selection TVA , possibilité d'ordonner les colonnes
Date: Mon, 15 Nov 2021 11:33:33 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit ebd003afa0452eeb8fd690dbb2918d28acbe5cab
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Fri Nov 12 13:43:03 2021 +0100

    Task #0002090: TVA : selection TVA , possibilité d'ordonner les colonnes
---
 html/ajax_misc.php        | 4 ++--
 html/js/noalyss_script.js | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/html/ajax_misc.php b/html/ajax_misc.php
index 4f154a2..e9be4d0 100644
--- a/html/ajax_misc.php
+++ b/html/ajax_misc.php
@@ -527,9 +527,9 @@ EOF;
                $r.=HtmlInput::title_box(_('Choisissez la 
TVA'),'tva_select',"close","","y");
                $r.='<div >';
                 $r.=_('Cherche')." 
".HtmlInput::filter_table("tva_select_table",'0,1,2,3' , 1);
-               $r.= '<TABLE style="width:100%" id="tva_select_table">';
+               $r.= '<TABLE class="sortable" style="width:100%" 
id="tva_select_table">';
                $r.=th(_('code'));
-               $r.=th(_('Taux'));
+               $r.=th(_('Taux'),'class="sorttable_sorted_reverse"');
                $r.=th(_('Symbole'));
                $r.=th(_('Explication'));
 
diff --git a/html/js/noalyss_script.js b/html/js/noalyss_script.js
index 34385cb..e030b6e 100644
--- a/html/js/noalyss_script.js
+++ b/html/js/noalyss_script.js
@@ -599,6 +599,7 @@ function popup_select_tva(obj)
                             var popup = {'id': 'tva_select', 'cssclass': 
'inner_box', 'style': str_style, 'html': code_html, 'drag': false};
                             add_div(popup);
                             $('lk_tva_select_table').focus();
+                            sorttable.makeSortable($('tva_select_table'));
                         } catch (e)
                         {
                             alert_box("success_popup_select_tva " + e.message);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]