zmw 3 долоо хоног өмнө
parent
commit
1e889f27da

+ 1 - 1
app/Jobs/TicketJob.php

@@ -512,7 +512,7 @@ class TicketJob implements ShouldQueue
     }
 
     protected function fetch($data, $template, $type, $recruit = null){
-        $templateProcessor = new TemplateProcessor(base_path() . $template);
+        $templateProcessor = new TemplateProcessor(base_path() . "/storage/app/public/" . $template);
         foreach ($data as $k => $v){
             if($k == 'avatar'){
                 if(file_exists(base_path() . '/public/' . $v)){