|
|
@@ -836,12 +836,10 @@ ORDER;
|
|
|
// }
|
|
|
$image_file = \Yii::$app->basePath . '/../ngds-logo.jpg';
|
|
|
$image = file_get_contents($image_file);
|
|
|
- LoggerTool::debug(['result1' => 111]);
|
|
|
$pdf->Image('@' . $image, 15, 12, 20, 7, 'JPG');
|
|
|
- LoggerTool::debug(['result1' => 222]);
|
|
|
$pdf->writeHTML($context);
|
|
|
- LoggerTool::debug(['result1' => 333]);
|
|
|
- $result = $pdf->Output($realFile, 'I');
|
|
|
+
|
|
|
+ $result = $pdf->Output($realFile, 'F');
|
|
|
LoggerTool::debug(['result' => $result]);
|
|
|
|
|
|
$this->_updateFirst($realFile, 1);
|