Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe 2024-11-14 20:53:17 +00:00
commit 5381c4e1e3
3 changed files with 9 additions and 23 deletions

View file

@ -49,13 +49,6 @@ class LabelWriter_2112283 extends LabelWriter
);
$currentX += $barcodeSize + self::BARCODE_MARGIN;
$usableWidth -= $barcodeSize + self::BARCODE_MARGIN;
} else {
static::writeText(
$pdf, $record->get('tag'),
$pa->x1, $pa->y2 - self::TAG_SIZE,
'freesans', 'b', self::TAG_SIZE, 'R',
$usableWidth, self::TAG_SIZE, true, 0
);
}
if ($record->has('title')) {

View file

@ -50,13 +50,6 @@ class LabelWriter_30252 extends LabelWriter
);
$currentX += $barcodeSize + self::BARCODE_MARGIN;
$usableWidth -= $barcodeSize + self::BARCODE_MARGIN;
} else {
static::writeText(
$pdf, $record->get('tag'),
$pa->x1, $pa->y2 - self::TAG_SIZE,
'freemono', 'b', self::TAG_SIZE, 'R',
$usableWidth, self::TAG_SIZE, true, 0
);
}
if ($record->has('title')) {

View file

@ -380,13 +380,8 @@
<div class="table table-responsive">
@if ($user->id)
<div class="box-header with-border">
<div class="box-heading">
<h2 class="box-title"> {{ trans('admin/users/general.assets_user', array('name' => $user->first_name)) }}</h2>
</div>
</div><!-- /.box-header -->
@endif
<div class="box-body">
<!-- checked out assets table -->
<div class="table-responsive">
@ -421,10 +416,15 @@
<th class="col-md-2" data-switchable="true" data-visible="true">
{{ trans('admin/hardware/table.asset_tag') }}
</th>
<th class="col-md-2" data-switchable="true" data-visible="false">{{ trans('general.name') }}</th>
<th class="col-md-2" data-switchable="true" data-visible="false">
{{ trans('general.name') }}
</th>
<th class="col-md-2" data-switchable="true" data-visible="true">
{{ trans('admin/hardware/table.asset_model') }}
</th>
<th class="col-md-2" data-switchable="true" data-visible="false">
{{ trans('general.model_no') }}
</th>
<th class="col-md-3" data-switchable="true" data-visible="true">
{{ trans('admin/hardware/table.serial') }}
</th>
@ -482,9 +482,10 @@
{{ $asset->name }}
</td>
<td>
@if ($asset->physical=='1')
{{ $asset->model->name }}
@endif
</td>
<td>
{{ $asset->model->model_number }}
</td>
<td>
{{ $asset->serial }}
@ -528,7 +529,6 @@
</table>
</div>
</div> <!-- .table-responsive-->
</div>
</div><!-- /asset -->
<div class="tab-pane" id="licenses">