whitefang преди 1 година
родител
ревизия
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;