|
|
@@ -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;
|