diff --git a/include/class/acc_ledger_history_generic.class.php b/include/class/acc_ledger_history_generic.class.php index b99bde395..6bbabe3b1 100644 --- a/include/class/acc_ledger_history_generic.class.php +++ b/include/class/acc_ledger_history_generic.class.php @@ -700,7 +700,9 @@ class Acc_Ledger_History_Generic extends Acc_Ledger_History public function export_oneline_html() { $this->get_rowSimple(); - echo ''; + + echo \HtmlInput::filter_table("tb_print_ledger", "0,1,2,3,4,5,6", 1); + echo '
'; echo "". th(_("Date")). th(_("n° pièce")). diff --git a/include/template/acc_ledger_history_financial_oneline.php b/include/template/acc_ledger_history_financial_oneline.php index 42f820ab7..9cc21f80c 100644 --- a/include/template/acc_ledger_history_financial_oneline.php +++ b/include/template/acc_ledger_history_financial_oneline.php @@ -25,8 +25,10 @@ if (!defined('ALLOWED')) * @file * @brief display Financial operation , simple and detailled */ + +echo \HtmlInput::filter_table("tb_print_ledger", "0,1,2,3,4,5,6,7,8,9", 1); ?> -
+
diff --git a/include/template/acc_ledger_history_purchase_oneline.php b/include/template/acc_ledger_history_purchase_oneline.php index 9c57fa649..34fbb83b7 100644 --- a/include/template/acc_ledger_history_purchase_oneline.php +++ b/include/template/acc_ledger_history_purchase_oneline.php @@ -28,8 +28,11 @@ if (!defined('ALLOWED')) * @todo prévoir aussi pour les non assujetti : faire disparaître les montants TVA */ bcscale(2); +$p_col=($nb_other_tax<>0)?"0,1,2,3,4,5,6,7,8,9,10,11":"0,1,2,3,4,5,6,7,8,9,10,11,12"; +echo \HtmlInput::filter_table("tb_print_ledger", $p_col, 1); + ?> -
+
- - - 0) :?> - - - - diff --git a/include/template/acc_ledger_history_sale_oneline.php b/include/template/acc_ledger_history_sale_oneline.php index 4c7041ccc..b1fb3af96 100644 --- a/include/template/acc_ledger_history_sale_oneline.php +++ b/include/template/acc_ledger_history_sale_oneline.php @@ -24,9 +24,11 @@ * @brief * @todo prévoir aussi pour les non assujetti : faire disparaître les montants TVA */ +$p_col=($nb_other_tax<>0)?"0,1,2,3,4,5,6,7,8,9,10":"0,1,2,3,4,5,6,7,8,9,10,11"; +echo \HtmlInput::filter_table("tb_print_ledger", $p_col, 1); ?> -
@@ -49,28 +52,28 @@ bcscale(2); + + + + + + +
+
- - 0) :?> - - - + data);
@@ -46,24 +48,27 @@ + + + + + + +