Commit 58f5d8d7 authored by ludo's avatar ludo
Browse files

AIDE UTILISATION #16965

parent 4f498424
......@@ -193,9 +193,16 @@ class SummarySheetController
$subject = str_replace("\n", ' ', $resource['subject']);
$hasQrcode = in_array('qrcode', array_column($units, 'unit'));
if ($hasQrcode) {
$pdf->SetY($pdf->GetY() + 30);
}
$pdf->SetY($pdf->GetY() + 15);
$pdf->SetFont('', 'B', 16);
$pdf->MultiCell(0, 1, $subject, 1, 'C', false);
if ($hasQrcode) {
$pdf->SetY($pdf->GetY() - 20);
}
foreach ($units as $key => $unit) {
$units[$key] = (array)$unit;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment