3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-03-31 04:44:14 +00:00

added front end barcodes to labels

This commit is contained in:
Godfrey M
2024-09-17 11:23:38 -07:00
parent df8b1c0240
commit ce987b4f6d
4 changed files with 117 additions and 4 deletions

View File

@ -769,8 +769,11 @@ class SettingsController extends Controller
*/
public function getLabels() : View
{
$is_gd_installed = extension_loaded('gd');
return view('settings.labels')
->with('setting', Setting::getSettings())
->with('is_gd_installed', $is_gd_installed)
->with('customFields', CustomField::where('field_encrypted', '=', 0)->get());
}