whitefang 1 год назад
Родитель
Сommit
a8be6decfb
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/common/command/AddAgreementPdf.php

+ 1 - 0
app/common/command/AddAgreementPdf.php

@@ -60,6 +60,7 @@ class AddAgreementPdf extends Command
             mkdir ('./public/'.$path,0777,true);
         }
         $shell_ = 'wkhtmltopdf --page-height 297mm '.$url.' '.'public/'.$path.$pdf;
+        dd($shell_);
         shell_exec($shell_);
         $agreement = MasterWorkerAgree::where('code', $code)->findOrEmpty();
         $agreement->pdf_url = $path.$pdf;