Skip to content

Commit 5381c4e

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents 96a4391 + add3edb commit 5381c4e

File tree

3 files changed

+9
-23
lines changed

3 files changed

+9
-23
lines changed

app/Models/Labels/Tapes/Dymo/LabelWriter_2112283.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@ public function write($pdf, $record) {
4949
);
5050
$currentX += $barcodeSize + self::BARCODE_MARGIN;
5151
$usableWidth -= $barcodeSize + self::BARCODE_MARGIN;
52-
} else {
53-
static::writeText(
54-
$pdf, $record->get('tag'),
55-
$pa->x1, $pa->y2 - self::TAG_SIZE,
56-
'freesans', 'b', self::TAG_SIZE, 'R',
57-
$usableWidth, self::TAG_SIZE, true, 0
58-
);
5952
}
6053

6154
if ($record->has('title')) {

app/Models/Labels/Tapes/Dymo/LabelWriter_30252.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,6 @@ public function write($pdf, $record) {
5050
);
5151
$currentX += $barcodeSize + self::BARCODE_MARGIN;
5252
$usableWidth -= $barcodeSize + self::BARCODE_MARGIN;
53-
} else {
54-
static::writeText(
55-
$pdf, $record->get('tag'),
56-
$pa->x1, $pa->y2 - self::TAG_SIZE,
57-
'freemono', 'b', self::TAG_SIZE, 'R',
58-
$usableWidth, self::TAG_SIZE, true, 0
59-
);
6053
}
6154

6255
if ($record->has('title')) {

resources/views/account/view-assets.blade.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -380,13 +380,8 @@
380380
<div class="table table-responsive">
381381
@if ($user->id)
382382
<div class="box-header with-border">
383-
<div class="box-heading">
384-
<h2 class="box-title"> {{ trans('admin/users/general.assets_user', array('name' => $user->first_name)) }}</h2>
385-
</div>
386383
</div><!-- /.box-header -->
387384
@endif
388-
389-
<div class="box-body">
390385
<!-- checked out assets table -->
391386
<div class="table-responsive">
392387

@@ -421,10 +416,15 @@ class="table table-striped snipe-table"
421416
<th class="col-md-2" data-switchable="true" data-visible="true">
422417
{{ trans('admin/hardware/table.asset_tag') }}
423418
</th>
424-
<th class="col-md-2" data-switchable="true" data-visible="false">{{ trans('general.name') }}</th>
419+
<th class="col-md-2" data-switchable="true" data-visible="false">
420+
{{ trans('general.name') }}
421+
</th>
425422
<th class="col-md-2" data-switchable="true" data-visible="true">
426423
{{ trans('admin/hardware/table.asset_model') }}
427424
</th>
425+
<th class="col-md-2" data-switchable="true" data-visible="false">
426+
{{ trans('general.model_no') }}
427+
</th>
428428
<th class="col-md-3" data-switchable="true" data-visible="true">
429429
{{ trans('admin/hardware/table.serial') }}
430430
</th>
@@ -482,9 +482,10 @@ class="table table-striped snipe-table"
482482
{{ $asset->name }}
483483
</td>
484484
<td>
485-
@if ($asset->physical=='1')
486485
{{ $asset->model->name }}
487-
@endif
486+
</td>
487+
<td>
488+
{{ $asset->model->model_number }}
488489
</td>
489490
<td>
490491
{{ $asset->serial }}
@@ -528,7 +529,6 @@ class="table table-striped snipe-table"
528529
</table>
529530
</div>
530531
</div> <!-- .table-responsive-->
531-
</div>
532532
</div><!-- /asset -->
533533
<div class="tab-pane" id="licenses">
534534

0 commit comments

Comments
 (0)