mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-25 20:51:30 -08:00
removed conditional
This commit is contained in:
parent
b67ceab849
commit
ef52777ffb
|
@ -162,7 +162,7 @@ class DefaultLabel extends RectangleSheet
|
||||||
|
|
||||||
// Fields
|
// Fields
|
||||||
$fieldsDone = 0;
|
$fieldsDone = 0;
|
||||||
if ($settings->labels_display_name && $fieldsDone < $this->getSupportFields()) {
|
if ($fieldsDone < $this->getSupportFields()) {
|
||||||
foreach ($record->get('fields') as $field) {
|
foreach ($record->get('fields') as $field) {
|
||||||
static::writeText(
|
static::writeText(
|
||||||
$pdf, $field['label'][0]. ': ' . $field['value'],
|
$pdf, $field['label'][0]. ': ' . $field['value'],
|
||||||
|
|
Loading…
Reference in a new issue