Skip to content
Snippets Groups Projects
Commit c274fbb9 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Check receipts are stored in banque directory

parent ff8ea099
Branches
Tags
No related merge requests found
...@@ -506,7 +506,7 @@ class RemiseCheque extends CommonObject ...@@ -506,7 +506,7 @@ class RemiseCheque extends CommonObject
// We save charset_output to restore it because write_file can change it if needed for // We save charset_output to restore it because write_file can change it if needed for
// output format that does not support UTF8. // output format that does not support UTF8.
$sav_charset_output=$outputlangs->charset_output; $sav_charset_output=$outputlangs->charset_output;
$result=$pdf->write_file($conf->comptabilite->dir_output.'/bordereau', $this->number, $outputlangs); $result=$pdf->write_file($conf->banque->dir_output.'/bordereau', $this->number, $outputlangs);
if ($result > 0) if ($result > 0)
{ {
$outputlangs->charset_output=$sav_charset_output; $outputlangs->charset_output=$sav_charset_output;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment