update controllers logic

This commit is contained in:
root
2026-04-23 00:04:35 -04:00
parent 1977a513df
commit ca4ba272fc
353 changed files with 13402 additions and 1301 deletions
@@ -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();