Task #1803 : export detail of an operation in PDF

This commit is contained in:
Dany De Bontridder 2020-06-07 09:20:12 +02:00
parent 74e701bae8
commit 06a93e4cb3
5 changed files with 51 additions and 2 deletions

View file

@ -457,7 +457,7 @@ class PDF_Operation extends PDF {
return $file_name;
}
function download_pdf() {
$this->pdf->Output("acc_op".$this->acc_detail->det->jr_internal.".pdf");
$this->pdf->Output("acc_op".$this->acc_detail->det->jr_internal.".pdf","D");
}
/**
* @brief unlink the file if exists