瀏覽代碼

Merge branch 'dev'

prodstable
Guillaume Bourgeois 2 年之前
父節點
當前提交
e08d2533fa
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      common/models/Document.php

+ 1
- 1
common/models/Document.php 查看文件

@@ -287,7 +287,7 @@ class Document extends ActiveRecordCommon
{
$filenameComplete = $this->getFilenameComplete();

if (!file_exists($filenameComplete)) {
if (!file_exists($filenameComplete) || $this->isStatusDraft()) {
$this->generatePdf(Pdf::DEST_FILE);
}


Loading…
取消
儲存