diff --git a/common/models/SurgicalDiagnosis.php b/common/models/SurgicalDiagnosis.php index 03611bf8..cb86841a 100755 --- a/common/models/SurgicalDiagnosis.php +++ b/common/models/SurgicalDiagnosis.php @@ -80,7 +80,8 @@ class SurgicalDiagnosis extends PathologyActiveRecord [['rev'], 'string', 'max' => 100], [['suggesstion_ihc', 'suggesstion_special_stain', 'suggesstion_other'], 'string', 'max' => 300], [['reason'], 'string'], - [['outlab_report'], 'file', 'extensions' => 'jpeg,jpg,png,gif,tif,tiff'], + // [['outlab_report'], 'file', 'extensions' => 'jpeg,jpg,png,gif,tif,tiff'], + [['outlab_report'], 'file', 'extensions' => 'pdf'], [['consult_outlab_report'], 'file', 'extensions' => 'jpeg,jpg,png,gif,tif,tiff'], [['microscopic_img'], 'file', 'extensions' => 'jpg,jpeg,png,gif,tif,tiff', 'skipOnEmpty' => true, 'maxFiles' => 20], [['microscopic_img_caption', 'icdos', 'outlab_report', 'consult_outlab_report'], 'safe'] diff --git a/frontend/modules/histo/views/label-sticker/index.php b/frontend/modules/histo/views/label-sticker/index.php index cfaee8e0..c7318ae4 100755 --- a/frontend/modules/histo/views/label-sticker/index.php +++ b/frontend/modules/histo/views/label-sticker/index.php @@ -11,43 +11,42 @@ use yii\helpers\Url; $this->title = 'พิมพ์ Label Sticker'; $this->params['breadcrumbs'][] = $this->title; ?> -