From a02e250b22538e440ff0b25578c62540a316c029 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 23 Sep 2024 15:26:15 -0700 Subject: [PATCH] Add page breaks for each user --- resources/views/users/print.blade.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/views/users/print.blade.php b/resources/views/users/print.blade.php index ac2de1f7b7..9486173663 100644 --- a/resources/views/users/print.blade.php +++ b/resources/views/users/print.blade.php @@ -37,6 +37,10 @@ size: A4; } + #start_of_user_section { + break-before: page; + } + .print-logo { max-height: 40px; } @@ -77,6 +81,7 @@ @endif @foreach($users as $show_user) +
{{-- used for page breaks when printing --}}

{{ trans('general.assigned_to', ['name' => $show_user->present()->fullName()]) }} {{ ($show_user->employee_num!='') ? ' (#'.$show_user->employee_num.') ' : '' }}