mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Add page breaks for each user
This commit is contained in:
parent
8ac5c0e471
commit
a02e250b22
|
@ -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)
|
||||
<div id="start_of_user_section"> {{-- used for page breaks when printing --}}</div>
|
||||
<h3>
|
||||
{{ trans('general.assigned_to', ['name' => $show_user->present()->fullName()]) }}
|
||||
{{ ($show_user->employee_num!='') ? ' (#'.$show_user->employee_num.') ' : '' }}
|
||||
|
|
Loading…
Reference in a new issue