mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Added start/end to edit/view screens
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
bdfac1a345
commit
0817308822
|
@ -358,6 +358,10 @@
|
|||
<!-- Department -->
|
||||
@include ('partials.forms.edit.department-select', ['translated_name' => trans('general.department'), 'fieldname' => 'department_id'])
|
||||
|
||||
@include ('partials.forms.edit.datepicker', ['translated_name' => trans('general.start_date'), 'fieldname' => 'start_date'])
|
||||
|
||||
@include ('partials.forms.edit.datepicker', ['translated_name' => trans('general.end_date'), 'fieldname' => 'end_date'])
|
||||
|
||||
|
||||
<!-- remote checkbox -->
|
||||
<div class="form-group">
|
||||
|
|
|
@ -343,6 +343,30 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- start date -->
|
||||
@if ($user->start_date)
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
{{ trans('general.start_date') }}
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
{{ \App\Helpers\Helper::getFormattedDateObject($user->start_date, 'date', false) }}
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<!-- end date -->
|
||||
@if ($user->end_date)
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
{{ trans('general.end_date') }}
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
{{ \App\Helpers\Helper::getFormattedDateObject($user->end_date, 'date', false) }}
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if ($user->jobtitle)
|
||||
<!-- jobtitle -->
|
||||
<div class="row">
|
||||
|
|
Loading…
Reference in a new issue