snipe-it/resources/views/accessories/checkout.blade.php

84 lines
2.6 KiB
PHP
Raw Normal View History

2016-03-25 01:18:05 -07:00
@extends('layouts/default')
{{-- Page title --}}
@section('title')
2017-09-28 21:18:16 -07:00
{{ trans('admin/accessories/general.checkout') }}
2016-03-25 01:18:05 -07:00
@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">
<div class="col-md-9">
<form class="form-horizontal" method="post" action="" autocomplete="off">
<!-- CSRF Token -->
<input type="hidden" name="_token" value="{{ csrf_token() }}" />
<div class="box box-default">
@if ($accessory->id)
<div class="box-header with-border">
<h3 class="box-title">{{ $accessory->name }}</h3>
</div><!-- /.box-header -->
@endif
<div class="box-body">
@if ($accessory->name)
<!-- accessory name -->
<div class="form-group">
<label class="col-sm-3 control-label">{{ trans('admin/accessories/general.accessory_name') }}</label>
<div class="col-md-6">
<p class="form-control-static">{{ $accessory->name }}</p>
</div>
2016-03-25 01:18:05 -07:00
</div>
@endif
@if ($accessory->category)
2016-03-25 01:18:05 -07:00
<!-- accessory name -->
<div class="form-group">
<label class="col-sm-3 control-label">{{ trans('admin/accessories/general.accessory_category') }}</label>
<div class="col-md-6">
<p class="form-control-static">{{ $accessory->category->name }}</p>
</div>
2016-03-25 01:18:05 -07:00
</div>
@endif
<!-- User -->
@include ('partials.forms.edit.user-select', ['translated_name' => trans('general.select_user'), 'fieldname' => 'assigned_to'])
2016-03-25 01:18:05 -07:00
@if ($accessory->category->require_acceptance=='1')
<div class="form-group">
<div class="col-md-9 col-md-offset-3">
<p class="hint-block">{{ trans('admin/categories/general.required_acceptance') }}</p>
</div>
</div>
@endif
@if ($accessory->getEula())
<div class="form-group">
<div class="col-md-9 col-md-offset-3">
<p class="hint-block">{{ trans('admin/categories/general.required_eula') }}</p>
</div>
</div>
@endif
</div>
<div class="box-footer">
<a class="btn btn-link" href="{{ URL::previous() }}">{{ trans('button.cancel') }}</a>
<button type="submit" class="btn btn-success pull-right"><i class="fa fa-check icon-white"></i> {{ trans('general.checkout') }}</button>
2016-03-25 01:18:05 -07:00
</div>
</div> <!-- .box.box-default -->
2016-03-25 01:18:05 -07:00
</form>
</div> <!-- .col-md-9-->
</div> <!-- .row -->
2016-03-25 01:18:05 -07:00
@stop