document attachment

This commit is contained in:
Cüneyt Şentürk
2021-01-21 22:29:06 +03:00
parent 406e438acd
commit e2a2723e28
2 changed files with 2 additions and 2 deletions

View File

@ -512,7 +512,7 @@ abstract class DocumentShow extends Base
$this->hideNote = $hideNote;
$this->hideAttachment = $hideAttachment;
$this->attachment = $attachment;
$this->attachment = !empty($attachment) ? $attachment : !empty($document) ? $document->attachment : '';
$this->textItems = $textItems;
$this->textQuantity = $textQuantity;