Skip to content

Commit 008d698

Browse files
authored
Updated to include other data sources in 2D Barcodes
Asset ID, Asset Tag and Serial number are already defined in 'app/View/Label.php' so these should be available for users to select. Generated barcodes scan as intended.
1 parent 955faed commit 008d698

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

resources/views/settings/labels.blade.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,9 @@ class="form-control"
304304
:options="['hardware_id'=>'/hardware/{id} ('.trans('admin/settings/general.default').')',
305305
'ht_tag'=>'/ht/{asset_tag}',
306306
'location' => '/location/{location_id}',
307+
'plain_asset_id'=>''.trans('admin/settings/general.asset_id').'',
308+
'plain_asset_tag'=>''.trans('general.asset_tag').'',
309+
'plain_serial_number'=>''.trans('general.serial_number').'',
307310
]"
308311
:selected="old('label2_2d_target', $setting->label2_2d_target)"
309312
class="col-md-4"

0 commit comments

Comments
 (0)