2016-03-25 01:18:05 -07:00
|
|
|
@extends('layouts/default')
|
|
|
|
|
|
|
|
{{-- Page title --}}
|
|
|
|
@section('title')
|
2017-02-08 08:48:41 -08:00
|
|
|
{{ trans('general.companies') }}
|
|
|
|
@parent
|
2016-03-25 01:18:05 -07:00
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('header_right')
|
2017-02-08 08:48:41 -08:00
|
|
|
<a href="{{ route('companies.create') }}" class="btn btn-primary pull-right">
|
|
|
|
{{ trans('general.create') }}</a>
|
2016-03-25 01:18:05 -07:00
|
|
|
@stop
|
|
|
|
{{-- Page content --}}
|
|
|
|
@section('content')
|
2017-02-08 08:48:41 -08:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-9">
|
|
|
|
<div class="box box-default">
|
|
|
|
<div class="box-body">
|
|
|
|
<div class="table-responsive">
|
|
|
|
<table
|
|
|
|
name="companies"
|
|
|
|
class="table table-striped snipe-table"
|
|
|
|
id="table"
|
|
|
|
data-url="{{ route('api.companies.index') }}"
|
|
|
|
data-cookie="true"
|
|
|
|
data-click-to-select="true"
|
|
|
|
data-cookie-id-table="companiesTable-{{ config('version.hash_version') }}">
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-12-27 12:03:47 -08:00
|
|
|
</div>
|
2017-02-08 08:48:41 -08:00
|
|
|
<!-- side address column -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<h4>About Companies</h4>
|
|
|
|
<p>
|
|
|
|
You can use companies as a simple informative field, or you can use them to restrict asset visibility and availability to users with a specific company by enabling Full Company Support in your Admin Settings.
|
|
|
|
</p>
|
2016-03-25 01:18:05 -07:00
|
|
|
</div>
|
|
|
|
|
2017-02-08 08:48:41 -08:00
|
|
|
@stop
|
2016-03-25 01:18:05 -07:00
|
|
|
|
2017-02-08 08:48:41 -08:00
|
|
|
@section('moar_scripts')
|
2017-07-07 17:10:06 -07:00
|
|
|
@include ('partials.bootstrap-table', [
|
|
|
|
'exportFile' => 'companies-export',
|
|
|
|
'search' => true,
|
|
|
|
'columns' => \App\Presenters\CompanyPresenter::dataTableLayout()
|
|
|
|
])
|
2016-03-25 01:18:05 -07:00
|
|
|
|
|
|
|
@stop
|