Correct travis
This commit is contained in:
parent
cc9f26a035
commit
d6b2cb0b31
@ -478,9 +478,7 @@ if ($action == 'export_csv') {
|
|||||||
$builddate = time();
|
$builddate = time();
|
||||||
$description = $langs->trans("DescBankJournal") . '<br>';
|
$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);
|
$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 (
|
report_header($nom, $nomlink, $period, $periodlink, $description, $builddate, $exportlink, array('action' => ''));
|
||||||
'action' => ''
|
|
||||||
));
|
|
||||||
|
|
||||||
print '<input type="button" class="button" style="float: right;" value="Export CSV" onclick="launch_export();" />';
|
print '<input type="button" class="button" style="float: right;" value="Export CSV" onclick="launch_export();" />';
|
||||||
|
|
||||||
|
|||||||
@ -464,9 +464,7 @@ if ($action == 'export_csv') {
|
|||||||
$builddate = time();
|
$builddate = time();
|
||||||
$description = $langs->trans("DescCashJournal") . '<br>';
|
$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);
|
$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 (
|
report_header($nom, $nomlink, $period, $periodlink, $description, $builddate, $exportlink, array('action' => ''));
|
||||||
'action' => ''
|
|
||||||
));
|
|
||||||
|
|
||||||
print '<input type="button" class="button" style="float: right;" value="Export CSV" onclick="launch_export();" />';
|
print '<input type="button" class="button" style="float: right;" value="Export CSV" onclick="launch_export();" />';
|
||||||
|
|
||||||
|
|||||||
@ -372,9 +372,7 @@ if ($action == 'export_csv') {
|
|||||||
else
|
else
|
||||||
$description .= $langs->trans("DepositsAreIncluded");
|
$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);
|
$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 (
|
report_header($nom, $nomlink, $period, $periodlink, $description, $builddate, $exportlink, array('action' => ''));
|
||||||
'action' => ''
|
|
||||||
));
|
|
||||||
|
|
||||||
print '<input type="button" class="button" style="float: right;" value="Export CSV" onclick="launch_export();" />';
|
print '<input type="button" class="button" style="float: right;" value="Export CSV" onclick="launch_export();" />';
|
||||||
|
|
||||||
|
|||||||
@ -378,9 +378,7 @@ if ($action == 'export_csv') {
|
|||||||
else
|
else
|
||||||
$description .= $langs->trans("DepositsAreIncluded");
|
$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);
|
$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 (
|
report_header($nom, $nomlink, $period, $periodlink, $description, $builddate, $exportlink, array('action' => ''));
|
||||||
'action' => ''
|
|
||||||
));
|
|
||||||
|
|
||||||
print '<input type="button" class="button" style="float: right;" value="Export CSV" onclick="launch_export();" />';
|
print '<input type="button" class="button" style="float: right;" value="Export CSV" onclick="launch_export();" />';
|
||||||
|
|
||||||
|
|||||||
@ -93,7 +93,7 @@ function accounting_prepare_head($object)
|
|||||||
/**
|
/**
|
||||||
* Return general accounting account with defined length
|
* Return general accounting account with defined length
|
||||||
*
|
*
|
||||||
* @param string $account Accounting account
|
* @param string $account General accounting account
|
||||||
* @return string String with defined length
|
* @return string String with defined length
|
||||||
*/
|
*/
|
||||||
function length_accountg($account)
|
function length_accountg($account)
|
||||||
@ -125,7 +125,7 @@ function length_accountg($account)
|
|||||||
/**
|
/**
|
||||||
* Return auxiliary accounting account with defined length
|
* Return auxiliary accounting account with defined length
|
||||||
*
|
*
|
||||||
* @param string $account Accounting account
|
* @param string $accounta Auxiliary accounting account
|
||||||
* @return string String with defined length
|
* @return string String with defined length
|
||||||
*/
|
*/
|
||||||
function length_accounta($accounta)
|
function length_accounta($accounta)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user