mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-30 07:59:50 -08:00
13cf11368f
* Reformat all view files. Check for matching tags and rearrange to make everything line up. * Fix regression on asset create where the log was no longer saved.
63 lines
2.5 KiB
PHP
Executable file
63 lines
2.5 KiB
PHP
Executable file
@extends('layouts/default')
|
|
|
|
{{-- Page title --}}
|
|
@section('title')
|
|
{{ trans('admin/licenses/general.checkin') }}
|
|
@parent
|
|
@stop
|
|
|
|
@section('header_right')
|
|
<a href="{{ URL::previous() }}" class="btn btn-primary pull-right">{{ trans('general.back') }}</a>
|
|
@stop
|
|
|
|
{{-- Page content --}}
|
|
@section('content')
|
|
<div class="row form-wrapper">
|
|
<!-- left column -->
|
|
<div class="col-md-10 column">
|
|
|
|
@if ($backto=='user')
|
|
<form class="form-horizontal" method="post" action="{{ route('licenses.checkin', array('licenseeat_id'=> $licenseseat->id, 'backto'=>'user')) }}" autocomplete="off">
|
|
@else
|
|
<form class="form-horizontal" method="post" action="{{ route('licenses.checkin', $licenseseat->id) }}" autocomplete="off">
|
|
@endif
|
|
{{csrf_field()}}
|
|
|
|
<!-- Asset name -->
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">{{ trans('admin/hardware/form.name') }}</label>
|
|
<div class="col-md-6">
|
|
<p class="form-control-static">{{ $licenseseat->license->name }}</p>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Serial -->
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">{{ trans('admin/hardware/form.serial') }}</label>
|
|
<div class="col-md-6">
|
|
<p class="form-control-static">{{ $licenseseat->license->serial }}</p>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Note -->
|
|
<div class="form-group {{ $errors->has('note') ? 'error' : '' }}">
|
|
<label for="note" class="col-md-2 control-label">{{ trans('admin/hardware/form.notes') }}</label>
|
|
<div class="col-md-7">
|
|
<textarea class="col-md-6 form-control" id="note" name="note">{{ Input::old('note', $licenseseat->note) }}</textarea>
|
|
{!! $errors->first('note', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|
|
<!-- Form actions -->
|
|
<div class="form-group">
|
|
<label class="col-md-2 control-label"></label>
|
|
<div class="col-md-7">
|
|
<a class="btn btn-link" href="{{ route('licenses.index') }}">{{ trans('button.cancel') }}</a>
|
|
<button type="submit" class="btn btn-success"><i class="fa fa-check icon-white"></i> {{ trans('general.checkin') }}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div> <!-- .col-md-10-->
|
|
</div>
|
|
|
|
@stop
|