Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Nov 14, 2024
2 parents 96a4391 + add3edb commit 5381c4e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 23 deletions.
7 changes: 0 additions & 7 deletions app/Models/Labels/Tapes/Dymo/LabelWriter_2112283.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,6 @@ public function write($pdf, $record) {
);
$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')) {
Expand Down
7 changes: 0 additions & 7 deletions app/Models/Labels/Tapes/Dymo/LabelWriter_30252.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,6 @@ public function write($pdf, $record) {
);
$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')) {
Expand Down
18 changes: 9 additions & 9 deletions resources/views/account/view-assets.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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">

Expand Down Expand Up @@ -421,10 +416,15 @@ class="table table-striped snipe-table"
<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>
Expand Down Expand Up @@ -482,9 +482,10 @@ class="table table-striped snipe-table"
{{ $asset->name }}
</td>
<td>
@if ($asset->physical=='1')
{{ $asset->model->name }}
@endif
</td>
<td>
{{ $asset->model->model_number }}
</td>
<td>
{{ $asset->serial }}
Expand Down Expand Up @@ -528,7 +529,6 @@ class="table table-striped snipe-table"
</table>
</div>
</div> <!-- .table-responsive-->
</div>
</div><!-- /asset -->
<div class="tab-pane" id="licenses">

Expand Down

0 comments on commit 5381c4e

Please sign in to comment.