Merge pull request #7930 from aspangaro/7.0-7
Fix : Accountancy some cleaning
This commit is contained in:
commit
c6c248fa28
@ -138,7 +138,6 @@ $form = new Form($db);
|
|||||||
// $linkback = '<a href="' . DOL_URL_ROOT . '/admin/modules.php">' . $langs->trans("BackToModuleList") . '</a>';
|
// $linkback = '<a href="' . DOL_URL_ROOT . '/admin/modules.php">' . $langs->trans("BackToModuleList") . '</a>';
|
||||||
print load_fiche_titre($langs->trans('ConfigAccountingExpert'), $linkback, 'title_setup');
|
print load_fiche_titre($langs->trans('ConfigAccountingExpert'), $linkback, 'title_setup');
|
||||||
|
|
||||||
|
|
||||||
print "\n".'<script type="text/javascript" language="javascript">'."\n";
|
print "\n".'<script type="text/javascript" language="javascript">'."\n";
|
||||||
print 'jQuery(document).ready(function () {'."\n";
|
print 'jQuery(document).ready(function () {'."\n";
|
||||||
print ' function initfields()'."\n";
|
print ' function initfields()'."\n";
|
||||||
@ -187,7 +186,6 @@ print '<form action="' . $_SERVER["PHP_SELF"] . '" method="post">';
|
|||||||
print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
|
print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
|
||||||
print '<input type="hidden" name="action" value="update">';
|
print '<input type="hidden" name="action" value="update">';
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Main Options
|
* Main Options
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -7,8 +7,9 @@
|
|||||||
* Copyright (C) 2016 Pierre-Henry Favre <phf@atm-consulting.fr>
|
* Copyright (C) 2016 Pierre-Henry Favre <phf@atm-consulting.fr>
|
||||||
* Copyright (C) 2016-2017 Alexandre Spangaro <aspangaro@zendsi.com>
|
* Copyright (C) 2016-2017 Alexandre Spangaro <aspangaro@zendsi.com>
|
||||||
* Copyright (C) 2013-2017 Olivier Geffroy <jeff@jeffinfo.com>
|
* Copyright (C) 2013-2017 Olivier Geffroy <jeff@jeffinfo.com>
|
||||||
* Copyright (C) 2017 Elarifr. Ari Elbaz <github@accedinfo.com> MAJ QUADRATUS EXPORT 2015
|
* Copyright (C) 2017 Elarifr. Ari Elbaz <github@accedinfo.com>
|
||||||
* Copyright (C) 2017 Frédéric France <frederic.france@netlogic.fr>
|
* Copyright (C) 2017 Frédéric France <frederic.france@netlogic.fr>
|
||||||
|
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -426,7 +427,7 @@ class AccountancyExport
|
|||||||
|
|
||||||
$end_line ="\r\n";
|
$end_line ="\r\n";
|
||||||
|
|
||||||
//elarifr we should use dol_now function not time however this is wrong date to transfert in accounting
|
//We should use dol_now function not time however this is wrong date to transfert in accounting
|
||||||
//$date_ecriture = dol_print_date(dol_now(), $conf->global->ACCOUNTING_EXPORT_DATE); // format must be ddmmyy
|
//$date_ecriture = dol_print_date(dol_now(), $conf->global->ACCOUNTING_EXPORT_DATE); // format must be ddmmyy
|
||||||
//$date_ecriture = dol_print_date(time(), $conf->global->ACCOUNTING_EXPORT_DATE); // format must be ddmmyy
|
//$date_ecriture = dol_print_date(time(), $conf->global->ACCOUNTING_EXPORT_DATE); // format must be ddmmyy
|
||||||
foreach ( $TData as $data ) {
|
foreach ( $TData as $data ) {
|
||||||
@ -440,7 +441,7 @@ class AccountancyExport
|
|||||||
$Tab['code_journal'] = str_pad(self::trunc($data->code_journal, 2), 2);
|
$Tab['code_journal'] = str_pad(self::trunc($data->code_journal, 2), 2);
|
||||||
$Tab['folio'] = '000';
|
$Tab['folio'] = '000';
|
||||||
|
|
||||||
//elarifr we use invoice date $data->doc_date not $date_ecriture which is the transfert date
|
//We use invoice date $data->doc_date not $date_ecriture which is the transfert date
|
||||||
//maybe we should set an option for customer who prefer to keep in accounting software the tranfert date instead of invoice date ?
|
//maybe we should set an option for customer who prefer to keep in accounting software the tranfert date instead of invoice date ?
|
||||||
//$Tab['date_ecriture'] = $date_ecriture;
|
//$Tab['date_ecriture'] = $date_ecriture;
|
||||||
$Tab['date_ecriture'] = dol_print_date($data->doc_date, '%d%m%y');
|
$Tab['date_ecriture'] = dol_print_date($data->doc_date, '%d%m%y');
|
||||||
|
|||||||
@ -244,7 +244,6 @@ ErrorAccountingJournalIsAlreadyUse=This journal is already use
|
|||||||
## Export
|
## Export
|
||||||
ExportDraftJournal=Export draft journal
|
ExportDraftJournal=Export draft journal
|
||||||
Modelcsv=Model of export
|
Modelcsv=Model of export
|
||||||
OptionsDeactivatedForThisExportModel=For this export model, options are deactivated
|
|
||||||
Selectmodelcsv=Select a model of export
|
Selectmodelcsv=Select a model of export
|
||||||
Modelcsv_normal=Classic export
|
Modelcsv_normal=Classic export
|
||||||
Modelcsv_CEGID=Export towards CEGID Expert Comptabilité
|
Modelcsv_CEGID=Export towards CEGID Expert Comptabilité
|
||||||
@ -254,7 +253,7 @@ Modelcsv_ciel=Export towards Sage Ciel Compta or Compta Evolution
|
|||||||
Modelcsv_quadratus=Export towards Quadratus QuadraCompta
|
Modelcsv_quadratus=Export towards Quadratus QuadraCompta
|
||||||
Modelcsv_ebp=Export towards EBP
|
Modelcsv_ebp=Export towards EBP
|
||||||
Modelcsv_cogilog=Export towards Cogilog
|
Modelcsv_cogilog=Export towards Cogilog
|
||||||
Modelcsv_agiris=Export towards Agiris (Test)
|
Modelcsv_agiris=Export towards Agiris
|
||||||
Modelcsv_configurable=Export Configurable
|
Modelcsv_configurable=Export Configurable
|
||||||
ChartofaccountsId=Chart of accounts Id
|
ChartofaccountsId=Chart of accounts Id
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user