diff --git a/include/class/acc_plan_mtable.class.php b/include/class/acc_plan_mtable.class.php
index 97ea1a2e0..9b8a1c5fb 100644
--- a/include/class/acc_plan_mtable.class.php
+++ b/include/class/acc_plan_mtable.class.php
@@ -113,7 +113,6 @@ class Acc_Plan_MTable extends Manage_Table_SQL
echo '
';
$a_code=explode(",",$p_row[$v]);
$nb_code=count($a_code);
- echo \Noalyss\Dbg::hidden_info("card",$p_row);
for ($xx = 0;$xx < $nb_code;$xx++)
{
echo HtmlInput::card_detail($a_code[$xx],'','style="display:inline"')."," ;
diff --git a/include/class/additional_tax.class.php b/include/class/additional_tax.class.php
index 9f13df81f..cec720697 100644
--- a/include/class/additional_tax.class.php
+++ b/include/class/additional_tax.class.php
@@ -160,6 +160,7 @@ class Additional_Tax
*/
static function display_row($p_jrn_id, &$sum_euro, &$sum_currency, $decalage = 0)
{
+ global $g_parameter;
$a_additional_tax = Additional_Tax::get_by_operation($p_jrn_id, $sum_euro, $sum_currency);
$nb = count($a_additional_tax);
for ($i = 0; $i < $nb; $i++) {
@@ -168,7 +169,10 @@ class Additional_Tax
echo td($a_additional_tax[$i]->ac_accounting);
echo td($a_additional_tax[$i]->ac_label . " ( " . $a_additional_tax[$i]->ac_rate . " %)");
echo td(nbm($a_additional_tax[$i]->tax_amount), 'class="num"');
- echo td("") . td("") . td("") . td("");
+ if ($g_parameter->MY_TVA_USE == 'Y')
+ echo td("") . td("") . td("") . td("");
+ else
+ echo td("") ;
for ($e = 0; $e < $decalage; $e++) {
echo td("");
}
diff --git a/include/class/anticipation.class.php b/include/class/anticipation.class.php
index 81d925bd4..9ed971254 100644
--- a/include/class/anticipation.class.php
+++ b/include/class/anticipation.class.php
@@ -159,13 +159,13 @@ EOF;
$form.=HtmlInput::hidden('f_id', $this->getForecastId());
$form.=HtmlInput::hidden('ac', $ac);
- echo '';
- echo ' |
+
+ |
+
+ set_jrn_id($obj->det->jr_id);
+ $tag_operation->tag_cell($div);
+ ?>
+
+ det->jr_id,$div);}
+ ?>
+
+ |
+
diff --git a/include/template/ledger_detail_bottom.php b/include/template/ledger_detail_bottom.php
index 6dbd1d3e1..73c434aed 100644
--- a/include/template/ledger_detail_bottom.php
+++ b/include/template/ledger_detail_bottom.php
@@ -43,7 +43,7 @@ $a_tab['linked_operation_div']=array('id'=>'linked_operation_div'.$div,'label'=>
$a_tab['document_operation_div']=array('id'=>'document_operation_div'.$div,'label'=>_('Document').'('.$nb_document.')','display'=>'block');
$a_tab['linked_action_div']=array('id'=>'linked_action_div'.$div,'label'=>_('Actions Gestion').'('.count($a_followup).')','display'=>'none');
$a_tab['analytic_div']=array('id'=>'analytic_div'.$div,'label'=>_('Comptabilité Analytique'),'display'=>'none');
-$a_tab['tag_operation_div']=array('id'=>'tag_operation_div'.$div,'label'=>_('Etiquette'),'display'=>'none');
+
// show tabs
@@ -316,23 +316,7 @@ require_once NOALYSS_TEMPLATE.'/ledger_detail_file.php';
-
-
- set_jrn_id($obj->det->jr_id);
- $tag_operation->tag_cell($div);
- ?>
-
-
- det->jr_id,$div);}
- ?>
-
+
';
diff --git a/include/template/ledger_detail_fin.php b/include/template/ledger_detail_fin.php
index a262ec0b6..0b515cc78 100644
--- a/include/template/ledger_detail_fin.php
+++ b/include/template/ledger_detail_fin.php
@@ -84,6 +84,25 @@ echo td(_('Pièce')).td($itext->input());
+
+ |
+
+ set_jrn_id($obj->det->jr_id);
+ $tag_operation->tag_cell($div);
+ ?>
+
+ det->jr_id,$div);}
+ ?>
+
+ |
+
diff --git a/include/template/ledger_detail_misc.php b/include/template/ledger_detail_misc.php
index 46f94bdcc..029e7d293 100644
--- a/include/template/ledger_detail_misc.php
+++ b/include/template/ledger_detail_misc.php
@@ -78,6 +78,25 @@ require_once NOALYSS_TEMPLATE.'/ledger_detail_top.php';
+
+ |
+
+ set_jrn_id($obj->det->jr_id);
+ $tag_operation->tag_cell($div);
+ ?>
+
+ det->jr_id,$div);}
+ ?>
+
+ |
+
diff --git a/include/template/ledger_detail_ven.php b/include/template/ledger_detail_ven.php
index 7581ee836..577d5db96 100644
--- a/include/template/ledger_detail_ven.php
+++ b/include/template/ledger_detail_ven.php
@@ -116,7 +116,25 @@ $str_anc = "";
-
+
+ |
+
+ set_jrn_id($obj->det->jr_id);
+ $tag_operation->tag_cell($div);
+ ?>
+ det->jr_id,$div);}
+ ?>
+
+ |
+
+