diff --git a/include/class/acc_ledger_search.class.php b/include/class/acc_ledger_search.class.php index cab4fcafb..8f678346d 100644 --- a/include/class/acc_ledger_search.class.php +++ b/include/class/acc_ledger_search.class.php @@ -337,6 +337,13 @@ class Acc_Ledger_Search p_closed, jr_pj_number, n_text, + (select string_agg(a,' ') + from (select ''||t_tag||'' a + from operation_tag ot join tags t on(ot.tag_id=t.t_id) + where ot.jrn_id=X.jr_id + ) as tag_ml) + as tag_operation + , case when jrn_def_type='VEN' then (select ad_value from fiche_detail where ad_id=1 @@ -867,10 +874,7 @@ class Acc_Ledger_Search $tr='