Skip to content

Commit

Permalink
Fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 4, 2019
1 parent b294f22 commit 22575bb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions htdocs/accountancy/class/accountancyexport.class.php
Expand Up @@ -1016,14 +1016,13 @@ public function exportLDCompta($objectLines)
* Export format : Charlemagne
*
* @param array $objectLines data
*
* @return void
*/
public function exportCharlemagne($objectLines)
public function exportCharlemagne($objectLines)
{
global $langs;
$langs->load('compta');

$separator = "\t";
$end_line = "\n";

Expand All @@ -1045,9 +1044,9 @@ public function exportCharlemagne($objectLines)
print self::trunc($langs->transnoentitiesnoconv('Analytic') . ' 3', 15) . $separator;
print self::trunc($langs->transnoentitiesnoconv('AnalyticLabel') . ' 3', 60) . $separator;
print $end_line;

foreach($objectLines as $line) {

$date = dol_print_date($line->doc_date, '%Y%m%d');
print $date . $separator; //Date

Expand All @@ -1069,7 +1068,6 @@ public function exportCharlemagne($objectLines)
print $separator;//Analytic
print $separator;//Analytic
print $end_line;

}
}

Expand Down

0 comments on commit 22575bb

Please sign in to comment.