add psuedo example location_id for preview
This commit is contained in:
parent
a69133e2ae
commit
bc3b3cf86e
2 changed files with 5 additions and 1 deletions
|
@ -38,6 +38,7 @@ class LabelsController extends Controller
|
|||
$exampleAsset->order_number = '12345';
|
||||
$exampleAsset->purchase_date = '2023-01-01';
|
||||
$exampleAsset->status_id = 1;
|
||||
$exampleAsset->location_id = 1;
|
||||
|
||||
$exampleAsset->company = new Company([
|
||||
'name' => trans('admin/labels/table.example_company'),
|
||||
|
|
|
@ -301,7 +301,10 @@
|
|||
<x-input.select
|
||||
name="label2_2d_target"
|
||||
id="label2_2d_target"
|
||||
:options="['hardware_id'=>'/hardware/{id} ('.trans('admin/settings/general.default').')', 'ht_tag'=>'/ht/{asset_tag}', 'location' => '/location/{location_id}']"
|
||||
:options="['hardware_id'=>'/hardware/{id} ('.trans('admin/settings/general.default').')',
|
||||
'ht_tag'=>'/ht/{asset_tag}',
|
||||
'location' => '/location/{location_id}',
|
||||
]"
|
||||
:selected="old('label2_2d_target', $setting->label2_2d_target)"
|
||||
class="col-md-4"
|
||||
aria-label="label2_2d_target"
|
||||
|
|
Loading…
Add table
Reference in a new issue