update controllers logic
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Services\Reports;
|
||||
|
||||
use App\Support\MailHtml;
|
||||
use Dompdf\Dompdf;
|
||||
use Dompdf\Options;
|
||||
|
||||
@@ -57,10 +58,9 @@ class SlipPrinterPdfService
|
||||
$hMm = $dynHeightMm;
|
||||
}
|
||||
|
||||
$html = view('slips/slip_pdf', [
|
||||
'entry' => $data,
|
||||
'lines' => $lines,
|
||||
'page' => ['w_mm' => $wMm, 'h_mm' => $hMm],
|
||||
$html = MailHtml::slipPdfHtml($data, $lines, [
|
||||
'w_mm' => $wMm,
|
||||
'h_mm' => $hMm,
|
||||
]);
|
||||
|
||||
$optionsObj = new Options();
|
||||
|
||||
Reference in New Issue
Block a user