mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
fixes the rules for adding page-break and padding at the end of document
This commit is contained in:
parent
1a8b2a169b
commit
38575e93e8
|
@ -52,7 +52,6 @@ $qr_size = ($settings->alt_barcode_enabled=='1') && ($settings->alt_barcode!='')
|
||||||
}
|
}
|
||||||
img.barcode {
|
img.barcode {
|
||||||
display:block;
|
display:block;
|
||||||
|
|
||||||
padding-top: .11in;
|
padding-top: .11in;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -167,9 +166,9 @@ $qr_size = ($settings->alt_barcode_enabled=='1') && ($settings->alt_barcode!='')
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@if ($count % $settings->labels_per_page == 0)
|
@if (($count % $settings->labels_per_page == 0) && $count!=count($assets))
|
||||||
<div class="page-break"></div>
|
<div class="page-break"></div>
|
||||||
<div class="next-padding"> </div>
|
<div class="next-padding"> </div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
Loading…
Reference in a new issue