Browse Source

Correct travis

aspangaro 10 years ago
parent
commit
d6b2cb0b31

+ 1 - 3
htdocs/accountancy/journal/bankjournal.php

@@ -478,9 +478,7 @@ if ($action == 'export_csv') {
 	$builddate = time();
 	$description = $langs->trans("DescBankJournal") . '<br>';
 	$period = $form->select_date($date_start, 'date_start', 0, 0, 0, '', 1, 0, 1) . ' - ' . $form->select_date($date_end, 'date_end', 0, 0, 0, '', 1, 0, 1);
-	report_header($nom, $nomlink, $period, $periodlink, $description, $builddate, $exportlink, array (
-			'action' => '' 
-	));
+	report_header($nom, $nomlink, $period, $periodlink, $description, $builddate, $exportlink, array('action' => ''));
 	
 	print '<input type="button" class="button" style="float: right;" value="Export CSV" onclick="launch_export();" />';
 	

+ 1 - 3
htdocs/accountancy/journal/cashjournal.php

@@ -464,9 +464,7 @@ if ($action == 'export_csv') {
 	$builddate = time();
 	$description = $langs->trans("DescCashJournal") . '<br>';
 	$period = $form->select_date($date_start, 'date_start', 0, 0, 0, '', 1, 0, 1) . ' - ' . $form->select_date($date_end, 'date_end', 0, 0, 0, '', 1, 0, 1);
-	report_header($nom, $nomlink, $period, $periodlink, $description, $builddate, $exportlink, array (
-			'action' => '' 
-	));
+	report_header($nom, $nomlink, $period, $periodlink, $description, $builddate, $exportlink, array('action' => ''));
 	
 	print '<input type="button" class="button" style="float: right;" value="Export CSV" onclick="launch_export();" />';
 	

+ 1 - 3
htdocs/accountancy/journal/purchasesjournal.php

@@ -372,9 +372,7 @@ if ($action == 'export_csv') {
 	else
 		$description .= $langs->trans("DepositsAreIncluded");
 	$period = $form->select_date($date_start, 'date_start', 0, 0, 0, '', 1, 0, 1) . ' - ' . $form->select_date($date_end, 'date_end', 0, 0, 0, '', 1, 0, 1);
-	report_header($nom, $nomlink, $period, $periodlink, $description, $builddate, $exportlink, array (
-			'action' => '' 
-	));
+	report_header($nom, $nomlink, $period, $periodlink, $description, $builddate, $exportlink, array('action' => ''));
 	
 	print '<input type="button" class="button" style="float: right;" value="Export CSV" onclick="launch_export();" />';
 	

+ 1 - 3
htdocs/accountancy/journal/sellsjournal.php

@@ -378,9 +378,7 @@ if ($action == 'export_csv') {
 	else
 		$description .= $langs->trans("DepositsAreIncluded");
 	$period = $form->select_date($date_start, 'date_start', 0, 0, 0, '', 1, 0, 1) . ' - ' . $form->select_date($date_end, 'date_end', 0, 0, 0, '', 1, 0, 1);
-	report_header($nom, $nomlink, $period, $periodlink, $description, $builddate, $exportlink, array (
-			'action' => '' 
-	));
+	report_header($nom, $nomlink, $period, $periodlink, $description, $builddate, $exportlink, array('action' => ''));
 	
 	print '<input type="button" class="button" style="float: right;" value="Export CSV" onclick="launch_export();" />';
 	

+ 2 - 2
htdocs/core/lib/accounting.lib.php

@@ -93,7 +93,7 @@ function accounting_prepare_head($object)
 /**
  * Return general accounting account with defined length
  *
- * @param 	string	$account		Accounting account
+ * @param 	string	$account		General accounting account
  * @return	string          		String with defined length     
  */
 function length_accountg($account)
@@ -125,7 +125,7 @@ function length_accountg($account)
 /**
  * Return auxiliary accounting account with defined length
  *
- * @param 	string	$account		Accounting account
+ * @param 	string	$accounta		Auxiliary accounting account
  * @return	string          		String with defined length     
  */
 function length_accounta($accounta)