[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 103/219: Réécriture de CFGPCMN pour util
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 103/219: Réécriture de CFGPCMN pour utiliser ManageTable Ajout bouton ajout dans menu |
Date: |
Mon, 18 Dec 2017 13:22:45 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit dc51c2806e42e6c4b333384b295a633aa051441e
Author: Dany De Bontridder <address@hidden>
Date: Tue Oct 24 00:27:41 2017 +0200
Réécriture de CFGPCMN pour utiliser ManageTable
Ajout bouton ajout dans menu
---
include/class/acc_plan_mtable.class.php | 1 +
include/param_pcmn.inc.php | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/include/class/acc_plan_mtable.class.php
b/include/class/acc_plan_mtable.class.php
index 84a15bc..8902fd3 100644
--- a/include/class/acc_plan_mtable.class.php
+++ b/include/class/acc_plan_mtable.class.php
@@ -56,6 +56,7 @@ class Acc_Plan_MTable extends Manage_Table_SQL
["label"=>_("Contexte"),"value"=>"CON"]
]);
$this->a_order=["pcm_val","pcm_lib","parent_accounting","pcm_type","fiche_qcode"];
+ $this->set_icon_mod("first");
}
/**
* Display a row
diff --git a/include/param_pcmn.inc.php b/include/param_pcmn.inc.php
index 1c233e9..9a056e9 100644
--- a/include/param_pcmn.inc.php
+++ b/include/param_pcmn.inc.php
@@ -74,6 +74,7 @@ echo $mtable->display_table(" where pcm_val::text like
'{$g_start}%' order by pc
/* it will override the classic onscroll (see scripts.js)
* @see scripts.js
*/
+
?>
<div id="go_up" class="inner_box"
style="padding:0px;left:auto;width:250px;height:
100px;display:none;position:fixed;top:5px;right:20px">
<?php echo HtmlInput::title_box(_('Navigation'), 'go_up', "none");?>
@@ -94,6 +95,9 @@ echo $mtable->display_table(" where pcm_val::text like
'{$g_start}%' order by pc
$('go_up').hide();
}
}
+ $('pcmn_update_add_bt3').onclick=function() {
+ <?php
printf("%s.input(-1,'%s')",$mtable->get_object_name(),$mtable->get_object_name());?>
+ }
</script>
<?php
html_page_stop();
- [Noalyss-commit] [noalyss] 36/219: Task #0001411: Faire des boutons du menu des... boutons. uniquement classic & light, (continued)
- [Noalyss-commit] [noalyss] 36/219: Task #0001411: Faire des boutons du menu des... boutons. uniquement classic & light, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 66/219: CFGSEC : action and ledger are set thanks ajax Inplace_Switch : new class for ajax with a swith button, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 96/219: esthetic style-r692 : size icon, arrow ..., Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 04/219: Translation, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 01/219: new coding convention , Change File name : class_ becomes file.class.php, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 37/219: Task #0001411: Faire des boutons du menu des... boutons Ajout nouveau style-r692, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 57/219: New : inplace_edit permit the developer to create easily a "inplace" edit field, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 93/219: Change background title inner_box, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 118/219: Task #0001297: Perfectionnement menu COMPTA/ADV/OPEN Improve operation message, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 74/219: Security : SQL use directly $_SESSION, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 103/219: Réécriture de CFGPCMN pour utiliser ManageTable Ajout bouton ajout dans menu,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 120/219: Task #0001328: Problème affichage totaux achat, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 119/219: Task #0001297: Perfectionnement menu COMPTA/ADV/OPEN Improve operation message, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 80/219: Bug : export_document the parameters id, ag_id and value are optionnal, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 45/219: Improve SQL class generation, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 101/219: Réécriture de CFGPCMN pour utiliser ManageTable, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 17/219: Add test for Manage_Table_SQL, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 127/219: Task #0001484: CA : opération diverses , possibilité d'ajouter une fiche Add card to misc operation ANC, - implemented also in Printing : balance , History , General Ledger..., Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 144/219: ANC : Bouton "recherche" sont des loupes, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 25/219: Ajout des ASBL, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 53/219: typo, Dany De Bontridder, 2017/12/18