Commit 274ba035cd0564f1428f15af99dbc5b73dba0163

Authored by Darkjeff
1 parent fa03786a
Exists in 3.5 and in 1 other branch 3.6

change for export

accountingex/admin/export.php
... ... @@ -54,7 +54,13 @@ $action = GETPOST('action', 'alpha');
54 54  
55 55 // Other parameters ACCOUNTINGEX_*
56 56 $list = array (
57   - 'ACCOUNTINGEX_SEPARATORCSV'
  57 + 'ACCOUNTINGEX_SEPARATORCSV'
  58 + /* 'ACCOUNTINGEX_EXP_DATE'
  59 + 'ACCOUNTINGEX_EXP_PIECE'
  60 + 'ACCOUNTINGEX_EXP_GLOBAL_ACCOUNT'
  61 + 'ACCOUNTINGEX_EXP_LABEL'
  62 + 'ACCOUNTINGEX_EXP_AMOUNT'
  63 + 'ACCOUNTINGEXP_EXP_DEVISE'*/
58 64 );
59 65  
60 66 /*
... ... @@ -171,6 +177,10 @@ foreach ( $list as $key ) {
171 177 print '</td></tr>';
172 178 }
173 179  
  180 +
  181 +
  182 +
  183 +
174 184 print '</form>';
175 185 print "</table>\n";
176 186  
... ...
accountingex/core/modules/modAccountingExpert.class.php
... ... @@ -169,6 +169,37 @@ class modAccountingExpert extends DolibarrModules {
169 169 "yesno",
170 170 "1"
171 171 );
  172 + $this->const[18] = array (
  173 + "ACCOUNTINGEX_EXP_DATE",
  174 + "chaine",
  175 + ""
  176 + );
  177 + $this->const[19] = array (
  178 + "ACCOUNTINGEX_EXP_PIECE",
  179 + "chaine",
  180 + ""
  181 + );
  182 + $this->const[20] = array (
  183 + "ACCOUNTINGEX_EXP_GLOBAL_ACCOUNT",
  184 + "yesno",
  185 + "1"
  186 + );
  187 + $this->const[21] = array (
  188 + "ACCOUNTINGEX_EXP_LABEL",
  189 + "chaine",
  190 + ""
  191 + );
  192 + $this->const[22] = array (
  193 + "ACCOUNTINGEX_EXP_AMOUNT",
  194 + "yesno",
  195 + "1"
  196 + );
  197 + $this->const[23] = array (
  198 + "ACCOUNTINGEXP_EXP_DEVISE",
  199 + "yesno",
  200 + "1"
  201 + );
  202 +
172 203  
173 204 // Css
174 205 $this->module_parts = array (
... ...