From aae21066585ac11fdfca9b7b8a98a7357f29a310 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Wed, 22 Feb 2023 12:02:14 -0800 Subject: [PATCH] Use existing language translation string --- resources/lang/en/admin/companies/general.php | 1 - resources/views/hardware/checkout.blade.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/lang/en/admin/companies/general.php b/resources/lang/en/admin/companies/general.php index 6ad64db57..37781012b 100644 --- a/resources/lang/en/admin/companies/general.php +++ b/resources/lang/en/admin/companies/general.php @@ -1,7 +1,6 @@ 'Company', 'select_company' => 'Select Company', 'about_companies' => 'About Companies', 'about_companies_description' => ' You can use companies as a simple informative field, or you can use them to restrict asset visibility and availability to users with a specific company by enabling Full Company Support in your Admin Settings.', diff --git a/resources/views/hardware/checkout.blade.php b/resources/views/hardware/checkout.blade.php index 6b5d337b7..3bfecaa1d 100755 --- a/resources/views/hardware/checkout.blade.php +++ b/resources/views/hardware/checkout.blade.php @@ -28,7 +28,7 @@ {{csrf_field()}} @if ($asset->company && $asset->company->name)
- {{ Form::label('model', trans('admin/companies/general.company'), array('class' => 'col-md-3 control-label')) }} + {{ Form::label('model', trans('general.company'), array('class' => 'col-md-3 control-label')) }}

{{ $asset->company->name }}