mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Add next auto-increment to settings form
This commit is contained in:
parent
4bde058192
commit
5b9bcd8fa2
|
@ -362,6 +362,7 @@ class SettingsController extends Controller
|
|||
$setting->labels_fontsize = e(Input::get('labels_fontsize'));
|
||||
$setting->labels_pagewidth = e(Input::get('labels_pagewidth'));
|
||||
$setting->labels_pageheight = e(Input::get('labels_pageheight'));
|
||||
$setting->next_auto_tag_base = e(Input::get('next_auto_tag_base'));
|
||||
|
||||
|
||||
if (Input::has('labels_display_name')) {
|
||||
|
|
|
@ -90,6 +90,7 @@ return array(
|
|||
'about_settings_text' => 'These settings let you customize certain aspects of your installation.',
|
||||
'labels_per_page' => 'Labels per page',
|
||||
'label_dimensions' => 'Label dimensions (inches)',
|
||||
'next_auto_tag_base' => 'Next auto-increment',
|
||||
'page_padding' => 'Page margins (inches)',
|
||||
'purge' => 'Purge Deleted Records',
|
||||
'labels_display_bgutter' => 'Label bottom gutter',
|
||||
|
|
|
@ -338,6 +338,17 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-3">
|
||||
{{ Form::label('next_auto_tag_base', trans('admin/settings/general.next_auto_tag_base')) }}
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
{{ Form::text('next_auto_tag_base', Input::old('next_auto_tag_base', $setting->next_auto_tag_base), array('class' => 'form-control', 'style'=>'width: 100px;')) }}
|
||||
{!! $errors->first('next_auto_tag_base', '<span class="alert-msg">:message</span>') !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- auto prefix -->
|
||||
<div class="form-group {{ $errors->has('auto_increment_prefix') ? 'error' : '' }}">
|
||||
<div class="col-md-3">
|
||||
|
|
Loading…
Reference in a new issue