Update bonprelevement.class.php
This commit is contained in:
parent
3dd9eb5a3e
commit
cba04c9648
@ -450,9 +450,6 @@ class BonPrelevement extends CommonObject
|
||||
dol_syslog(get_class($this)."::set_infocredit AddPaymentToBank Error ".$this->error);
|
||||
}
|
||||
}
|
||||
//var_dump($paiement->amounts);
|
||||
//var_dump($thirdpartyid);
|
||||
//var_dump($cursoramounts);
|
||||
}
|
||||
|
||||
// Update withdrawal line
|
||||
@ -1057,8 +1054,6 @@ class BonPrelevement extends CommonObject
|
||||
// This also set the property $this->total with amount that is included into file
|
||||
$result = $this->generate($format, $executiondate, $type);
|
||||
if ($result < 0) {
|
||||
/*var_dump($this->error);
|
||||
var_dump($this->invoice_in_error); */
|
||||
$error++;
|
||||
}
|
||||
}
|
||||
@ -1684,7 +1679,7 @@ class BonPrelevement extends CommonObject
|
||||
|
||||
fclose($this->file);
|
||||
if (!empty($conf->global->MAIN_UMASK)) {
|
||||
@chmod($this->file, octdec($conf->global->MAIN_UMASK));
|
||||
@chmod($this->filename, octdec($conf->global->MAIN_UMASK));
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user