2016-03-25 01:18:05 -07:00
|
|
|
@extends('layouts/default')
|
|
|
|
|
|
|
|
{{-- Page Title --}}
|
|
|
|
@section('title')
|
|
|
|
{{ trans('general.custom_report') }}
|
|
|
|
@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">
|
2016-12-27 12:03:47 -08:00
|
|
|
<div class="col-md-8 col-md-offset-2">
|
2016-03-25 01:18:05 -07:00
|
|
|
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ Form::open(['method' => 'post', 'class' => 'form-horizontal']) }}
|
|
|
|
{{csrf_field()}}
|
2016-03-25 01:18:05 -07:00
|
|
|
|
2016-12-27 12:03:47 -08:00
|
|
|
<!-- Horizontal Form -->
|
|
|
|
<div class="box box-default">
|
|
|
|
<div class="box-header with-border">
|
2021-11-19 03:39:19 -08:00
|
|
|
<h2 class="box-title">{{ trans('general.customize_report') }}</h2>
|
2016-12-27 12:03:47 -08:00
|
|
|
</div><!-- /.box-header -->
|
2016-03-25 01:18:05 -07:00
|
|
|
|
2016-12-27 12:03:47 -08:00
|
|
|
<div class="box-body">
|
2016-08-02 15:04:10 -07:00
|
|
|
|
2023-04-03 22:38:56 -07:00
|
|
|
<div class="col-md-4">
|
2017-12-01 14:47:52 -08:00
|
|
|
|
2023-04-03 22:38:56 -07:00
|
|
|
<label class="form-control">
|
|
|
|
<input type="checkbox" id="checkAll" checked="checked">
|
2021-11-19 03:39:19 -08:00
|
|
|
{{ trans('general.select_all') }}
|
2017-12-01 14:47:52 -08:00
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('id', '1', '1') }}
|
2022-08-10 13:51:47 -07:00
|
|
|
{{ trans('general.id') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('company', '1', '1') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ trans('general.company') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('asset_tag', '1', '1') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ trans('general.asset_tag') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('asset_name', '1', '1') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ trans('admin/hardware/form.name') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('manufacturer', '1', '1') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ trans('general.manufacturer') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('model', '1', '1') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ trans('general.asset_models') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('category', '1', '1') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ trans('general.category') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('serial', '1', '1') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ trans('admin/hardware/table.serial') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('purchase_date', '1', '1') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ trans('admin/licenses/table.purchase_date') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('purchase_cost', '1', '1') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ trans('admin/hardware/form.cost') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('eol', '1', '1') }}
|
2023-07-11 11:08:55 -07:00
|
|
|
{{ trans('admin/hardware/form.eol_date') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('order', '1', '1') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ trans('admin/hardware/form.order') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('supplier', '1', '1') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ trans('general.suppliers') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('location', '1', '1') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ trans('general.location') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
2024-07-16 13:07:03 -07:00
|
|
|
<label class="form-control" style="margin-left: 25px;">
|
2023-04-03 22:38:56 -07:00
|
|
|
{{ Form::checkbox('location_address', '1', '1') }}
|
2024-07-16 11:01:50 -07:00
|
|
|
{{ trans('general.address') }}
|
2018-03-26 15:59:09 -07:00
|
|
|
</label>
|
2018-04-05 17:33:25 -07:00
|
|
|
|
2023-04-03 22:38:56 -07:00
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('rtd_location', '1', '1') }}
|
2018-04-05 17:33:25 -07:00
|
|
|
{{ trans('admin/hardware/form.default_location') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
2024-07-16 13:07:03 -07:00
|
|
|
<label class="form-control" style="margin-left: 25px;">
|
2023-04-03 22:38:56 -07:00
|
|
|
{{ Form::checkbox('rtd_location_address', '1', '1') }}
|
2024-07-16 13:07:03 -07:00
|
|
|
{{ trans('general.address') }}
|
2018-04-05 17:33:25 -07:00
|
|
|
</label>
|
|
|
|
|
2023-04-03 22:38:56 -07:00
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('status', '1', '1') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ trans('general.status') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('warranty', '1', '1') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ trans('admin/hardware/form.warranty') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('depreciation', '1', '1') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ trans('general.depreciation') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('checkout_date', '1', '1') }}
|
2017-12-01 16:50:56 -08:00
|
|
|
{{ trans('admin/hardware/table.checkout_date') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
2023-08-21 13:44:49 -07:00
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('checkin_date', '1', '1') }}
|
|
|
|
{{ trans('admin/hardware/table.last_checkin_date') }}
|
|
|
|
</label>
|
|
|
|
|
2023-04-03 22:38:56 -07:00
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('expected_checkin', '1', '1') }}
|
2016-12-27 12:03:47 -08:00
|
|
|
{{ trans('admin/hardware/form.expected_checkin') }}
|
2016-08-02 15:04:10 -07:00
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('created_at', '1', '1') }}
|
2017-12-01 16:50:56 -08:00
|
|
|
{{ trans('general.created_at') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('updated_at', '1', '1') }}
|
2017-12-01 16:50:56 -08:00
|
|
|
{{ trans('general.updated_at') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('deleted_at', '1', '1') }}
|
2022-08-02 19:58:17 -07:00
|
|
|
{{ trans('general.deleted') }}
|
|
|
|
</label>
|
|
|
|
|
2023-04-03 22:38:56 -07:00
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('last_audit_date', '1', '1') }}
|
2017-12-12 03:03:43 -08:00
|
|
|
{{ trans('general.last_audit') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('next_audit_date', '1', '1') }}
|
2017-12-12 03:03:43 -08:00
|
|
|
{{ trans('general.next_audit_date') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('notes', '1', '1') }}
|
2017-02-03 02:16:37 -08:00
|
|
|
{{ trans('general.notes') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
2024-07-16 13:07:03 -07:00
|
|
|
<label class="form-control" style="margin-left: 25px;">
|
2023-04-03 22:38:56 -07:00
|
|
|
{{ Form::checkbox('url', '1', '1') }}
|
2024-07-16 13:07:03 -07:00
|
|
|
{{ trans('general.url') }}
|
2022-08-10 13:51:47 -07:00
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
2016-03-25 01:18:05 -07:00
|
|
|
|
2018-04-16 20:10:38 -07:00
|
|
|
<!-- User fields -->
|
2023-04-03 22:38:56 -07:00
|
|
|
|
2024-05-25 02:39:47 -07:00
|
|
|
<h2>{{ trans('general.checked_out_to_fields') }}: </h2>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('assigned_to', '1', '1') }}
|
2018-04-16 20:10:38 -07:00
|
|
|
{{ trans('admin/licenses/table.assigned_to') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('username', '1', '1') }}
|
2018-04-16 20:10:38 -07:00
|
|
|
{{ trans('admin/users/table.username') }}
|
|
|
|
</label>
|
|
|
|
|
2023-04-03 22:38:56 -07:00
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('employee_num', '1', '1') }}
|
2022-01-06 03:35:37 -08:00
|
|
|
{{ trans('general.employee_number') }}
|
2018-04-16 20:10:38 -07:00
|
|
|
</label>
|
|
|
|
|
2023-04-03 22:38:56 -07:00
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('manager', '1', '1') }}
|
2018-06-27 00:45:09 -07:00
|
|
|
{{ trans('admin/users/table.manager') }}
|
|
|
|
</label>
|
|
|
|
|
2023-04-03 22:38:56 -07:00
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('department', '1', '1') }}
|
2018-04-16 20:10:38 -07:00
|
|
|
{{ trans('general.department') }}
|
|
|
|
</label>
|
|
|
|
|
2023-04-03 22:38:56 -07:00
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('title', '1', '1') }}
|
2021-12-13 18:27:23 -08:00
|
|
|
{{ trans('admin/users/table.title') }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
2023-10-26 17:10:53 -07:00
|
|
|
<!-- new -->
|
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('phone', '1', '1') }}
|
|
|
|
{{ trans('admin/users/table.phone') }}
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('user_address', '1', '1') }}
|
|
|
|
{{ trans('general.address') }}
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{Form::checkbox('user_city', '1', '1')}}
|
|
|
|
{{ trans('general.city') }}
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{Form::checkbox('user_state', '1', '1')}}
|
|
|
|
{{ trans('general.state') }}
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{Form::checkbox('user_country', '1', '1')}}
|
|
|
|
{{ trans('general.country') }}
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{Form::checkbox('user_zip', '1', '1')}}
|
|
|
|
{{ trans('general.zip') }}
|
|
|
|
</label>
|
|
|
|
|
2021-12-13 18:27:23 -08:00
|
|
|
|
2018-04-16 20:10:38 -07:00
|
|
|
|
2017-12-01 14:47:52 -08:00
|
|
|
@if ($customfields->count() > 0)
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<h2>{{ trans('admin/custom_fields/general.custom_fields') }}</h2>
|
|
|
|
|
2017-12-01 14:47:52 -08:00
|
|
|
@foreach ($customfields as $customfield)
|
2023-04-03 22:38:56 -07:00
|
|
|
|
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox($customfield->db_column_name(), '1', '1') }}
|
2017-12-01 14:47:52 -08:00
|
|
|
{{ $customfield->name }}
|
|
|
|
</label>
|
2023-04-03 22:38:56 -07:00
|
|
|
|
2017-12-01 14:47:52 -08:00
|
|
|
@endforeach
|
|
|
|
@endif
|
2023-04-03 22:38:56 -07:00
|
|
|
</div> <!-- /.col-md-4-->
|
2016-03-25 01:18:05 -07:00
|
|
|
|
2017-12-01 16:50:56 -08:00
|
|
|
<div class="col-md-8">
|
2017-12-01 14:47:52 -08:00
|
|
|
|
2023-05-16 13:58:21 -07:00
|
|
|
<p>
|
|
|
|
{!! trans('general.report_fields_info') !!}
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<br>
|
2017-12-01 14:47:52 -08:00
|
|
|
|
2024-08-29 09:51:20 -07:00
|
|
|
@include ('partials.forms.edit.company-select', [
|
|
|
|
'translated_name' => trans('general.company'),
|
|
|
|
'fieldname' =>
|
|
|
|
'by_company_id[]',
|
|
|
|
'multiple' => 'true',
|
|
|
|
'hide_new' => 'true'
|
|
|
|
])
|
|
|
|
@include ('partials.forms.edit.location-select', [
|
|
|
|
'translated_name' => trans('general.location'),
|
|
|
|
'fieldname' => 'by_location_id[]',
|
|
|
|
'multiple' => 'true',
|
|
|
|
'hide_new' => 'true'
|
|
|
|
])
|
|
|
|
@include ('partials.forms.edit.location-select', [
|
|
|
|
'translated_name' => trans('admin/hardware/form.default_location'),
|
|
|
|
'fieldname' => 'by_rtd_location_id[]',
|
|
|
|
'multiple' => 'true',
|
|
|
|
'hide_new' => 'true'
|
|
|
|
])
|
|
|
|
@include ('partials.forms.edit.department-select',[
|
|
|
|
'translated_name' => trans('general.department'),
|
|
|
|
'fieldname' => 'by_dept_id[]',
|
|
|
|
'multiple' => 'true',
|
|
|
|
'hide_new' => 'true'
|
|
|
|
])
|
|
|
|
@include ('partials.forms.edit.supplier-select', [
|
|
|
|
'translated_name' => trans('general.supplier'),
|
|
|
|
'fieldname' => 'by_supplier_id[]',
|
|
|
|
'multiple' => 'true',
|
|
|
|
'hide_new' => 'true'
|
|
|
|
])
|
|
|
|
@include ('partials.forms.edit.model-select', [
|
|
|
|
'translated_name' => trans('general.asset_model'),
|
|
|
|
'fieldname' => 'by_model_id[]',
|
|
|
|
'multiple' => 'true',
|
|
|
|
'hide_new' => 'true'
|
|
|
|
])
|
|
|
|
@include ('partials.forms.edit.manufacturer-select', [
|
|
|
|
'translated_name' => trans('general.manufacturer'),
|
|
|
|
'fieldname' => 'by_manufacturer_id[]',
|
|
|
|
'multiple' => 'true',
|
|
|
|
'hide_new' => 'true'
|
|
|
|
])
|
|
|
|
@include ('partials.forms.edit.category-select', [
|
|
|
|
'translated_name' => trans('general.category'),
|
|
|
|
'fieldname' => 'by_category_id[]',
|
|
|
|
'multiple' => 'true',
|
|
|
|
'hide_new' => 'true', 'category_type' => 'asset'
|
|
|
|
])
|
|
|
|
@include ('partials.forms.edit.status-select', [
|
|
|
|
'translated_name' => trans('admin/hardware/form.status'),
|
|
|
|
'fieldname' => 'by_status_id[]',
|
|
|
|
'multiple' => 'true',
|
|
|
|
'hide_new' => 'true'])
|
2017-12-01 16:50:56 -08:00
|
|
|
|
|
|
|
<!-- Order Number -->
|
2017-12-01 14:47:52 -08:00
|
|
|
<div class="form-group">
|
2020-04-01 03:21:15 -07:00
|
|
|
<label for="by_order_number" class="col-md-3 control-label">{{ trans('general.order_number') }}</label>
|
2023-10-18 06:13:35 -07:00
|
|
|
<div class="col-md-7">
|
2020-04-01 03:21:15 -07:00
|
|
|
<input class="form-control" type="text" name="by_order_number" value="" aria-label="by_order_number">
|
2017-12-01 14:47:52 -08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Purchase Date -->
|
2023-10-18 06:13:35 -07:00
|
|
|
<div class="form-group purchase-range{{ ($errors->has('purchase_start') || $errors->has('purchase_end')) ? ' has-error' : '' }}">
|
2024-07-16 11:01:50 -07:00
|
|
|
<label for="purchase_start" class="col-md-3 control-label">{{ trans('general.purchase_date') }}</label>
|
2023-10-18 06:13:35 -07:00
|
|
|
<div class="input-daterange input-group col-md-7" id="datepicker">
|
|
|
|
<input type="text" class="form-control" name="purchase_start" aria-label="purchase_start" value="{{ old('purchase_start') }}">
|
2024-07-16 11:01:50 -07:00
|
|
|
<span class="input-group-addon">{{ strtolower(trans('general.to')) }}</span>
|
2023-10-18 06:13:35 -07:00
|
|
|
<input type="text" class="form-control" name="purchase_end" aria-label="purchase_end" value="{{ old('purchase_end') }}">
|
2017-12-01 14:47:52 -08:00
|
|
|
</div>
|
2023-10-18 06:13:35 -07:00
|
|
|
|
|
|
|
@if ($errors->has('purchase_start') || $errors->has('purchase_end'))
|
|
|
|
<div class="col-md-9 col-lg-offset-3">
|
|
|
|
{!! $errors->first('purchase_start', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
|
|
{!! $errors->first('purchase_end', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2017-12-01 14:47:52 -08:00
|
|
|
</div>
|
|
|
|
|
2017-12-01 16:50:56 -08:00
|
|
|
<!-- Created Date -->
|
2023-10-18 06:13:35 -07:00
|
|
|
<div class="form-group purchase-range{{ ($errors->has('created_start') || $errors->has('created_end')) ? ' has-error' : '' }}">
|
2024-07-16 11:01:50 -07:00
|
|
|
<label for="created_start" class="col-md-3 control-label">{{ trans('general.created_at') }} </label>
|
2023-10-18 06:13:35 -07:00
|
|
|
<div class="input-daterange input-group col-md-7" id="datepicker">
|
|
|
|
<input type="text" class="form-control" name="created_start" aria-label="created_start" value="{{ old('created_start') }}">
|
2024-07-16 11:01:50 -07:00
|
|
|
<span class="input-group-addon">{{ strtolower(trans('general.to')) }}</span>
|
2023-10-18 06:13:35 -07:00
|
|
|
<input type="text" class="form-control" name="created_end" aria-label="created_end" value="{{ old('created_end') }}">
|
2017-12-01 16:50:56 -08:00
|
|
|
</div>
|
2023-10-18 06:13:35 -07:00
|
|
|
|
|
|
|
@if ($errors->has('created_start') || $errors->has('created_end'))
|
|
|
|
<div class="col-md-9 col-lg-offset-3">
|
|
|
|
{!! $errors->first('created_start', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
|
|
{!! $errors->first('created_end', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
|
|
</div>
|
|
|
|
@endif
|
2017-12-01 16:50:56 -08:00
|
|
|
</div>
|
2017-12-01 14:47:52 -08:00
|
|
|
|
2023-04-19 09:13:43 -07:00
|
|
|
<!-- Checkout Date -->
|
2023-10-18 06:13:35 -07:00
|
|
|
<div class="form-group checkout-range{{ ($errors->has('checkout_date_start') || $errors->has('checkout_date_end')) ? ' has-error' : '' }}">
|
2024-07-16 11:01:50 -07:00
|
|
|
<label for="checkout_date" class="col-md-3 control-label">{{ trans('general.checkout') }} </label>
|
2023-10-18 06:13:35 -07:00
|
|
|
<div class="input-daterange input-group col-md-7" id="datepicker">
|
|
|
|
<input type="text" class="form-control" name="checkout_date_start" aria-label="checkout_date_start" value="{{ old('checkout_date_start') }}">
|
2024-07-16 11:01:50 -07:00
|
|
|
<span class="input-group-addon">{{ strtolower(trans('general.to')) }}</span>
|
2023-10-18 06:13:35 -07:00
|
|
|
<input type="text" class="form-control" name="checkout_date_end" aria-label="checkout_date_end" value="{{ old('checkout_date_end') }}">
|
2023-04-19 09:11:44 -07:00
|
|
|
</div>
|
2023-10-18 06:13:35 -07:00
|
|
|
|
|
|
|
@if ($errors->has('checkout_date_start') || $errors->has('checkout_date_end'))
|
|
|
|
<div class="col-md-9 col-lg-offset-3">
|
|
|
|
{!! $errors->first('checkout_date_start', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
|
|
{!! $errors->first('checkout_date_end', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2023-04-19 09:11:44 -07:00
|
|
|
</div>
|
|
|
|
|
2023-08-21 13:44:49 -07:00
|
|
|
<!-- Last Checkin Date -->
|
2023-10-18 06:13:35 -07:00
|
|
|
<div class="form-group checkin-range{{ ($errors->has('checkin_date_start') || $errors->has('checkin_date_end')) ? ' has-error' : '' }}">
|
2023-08-21 13:44:49 -07:00
|
|
|
<label for="checkin_date" class="col-md-3 control-label">{{ trans('admin/hardware/table.last_checkin_date') }}</label>
|
2023-10-18 06:13:35 -07:00
|
|
|
<div class="input-daterange input-group col-md-7" id="datepicker">
|
|
|
|
<input type="text" class="form-control" name="checkin_date_start" aria-label="checkin_date_start" value="{{ old('checkin_date_start') }}">
|
2023-08-21 13:44:49 -07:00
|
|
|
<span class="input-group-addon">{{ strtolower(trans('general.to')) }}</span>
|
2023-10-18 06:13:35 -07:00
|
|
|
<input type="text" class="form-control" name="checkin_date_end" aria-label="checkin_date_end" value="{{ old('checkin_date_end') }}">
|
2023-08-21 13:44:49 -07:00
|
|
|
</div>
|
2023-10-18 06:13:35 -07:00
|
|
|
|
|
|
|
@if ($errors->has('checkin_date_start') || $errors->has('checkin_date_end'))
|
|
|
|
<div class="col-md-9 col-lg-offset-3">
|
|
|
|
{!! $errors->first('checkin_date_start', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
|
|
{!! $errors->first('checkin_date_end', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
|
|
</div>
|
|
|
|
@endif
|
2023-08-21 13:44:49 -07:00
|
|
|
</div>
|
|
|
|
|
2018-05-08 07:34:14 -07:00
|
|
|
<!-- Expected Checkin Date -->
|
2023-10-18 06:13:35 -07:00
|
|
|
<div class="form-group expected_checkin-range{{ ($errors->has('expected_checkin_start') || $errors->has('expected_checkin_end')) ? ' has-error' : '' }}">
|
2020-04-01 03:21:15 -07:00
|
|
|
<label for="expected_checkin_start" class="col-md-3 control-label">{{ trans('admin/hardware/form.expected_checkin') }}</label>
|
2023-10-18 06:13:35 -07:00
|
|
|
<div class="input-daterange input-group col-md-7" id="datepicker">
|
|
|
|
<input type="text" class="form-control" name="expected_checkin_start" aria-label="expected_checkin_start" value="{{ old('expected_checkin_start') }}">
|
2024-07-16 11:01:50 -07:00
|
|
|
<span class="input-group-addon">{{ strtolower(trans('general.to')) }}</span>
|
2023-10-18 06:13:35 -07:00
|
|
|
<input type="text" class="form-control" name="expected_checkin_end" aria-label="expected_checkin_end" value="{{ old('expected_checkin_end') }}">
|
2018-05-08 07:34:14 -07:00
|
|
|
</div>
|
2023-10-18 06:13:35 -07:00
|
|
|
|
|
|
|
@if ($errors->has('expected_checkin_start') || $errors->has('expected_checkin_end'))
|
|
|
|
<div class="col-md-9 col-lg-offset-3">
|
|
|
|
{!! $errors->first('expected_checkin_start', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
|
|
{!! $errors->first('expected_checkin_end', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2018-05-08 07:34:14 -07:00
|
|
|
</div>
|
|
|
|
|
2023-07-11 11:08:55 -07:00
|
|
|
<!-- EoL Date -->
|
2023-07-26 14:31:06 -07:00
|
|
|
<div class="form-group asset_eol_date-range">
|
|
|
|
<label for="asset_eol_date" class="col-md-3 control-label">{{ trans('admin/hardware/form.eol_date') }}</label>
|
2023-07-11 11:08:55 -07:00
|
|
|
<div class="input-daterange input-group col-md-6" id="datepicker">
|
2023-07-26 14:31:06 -07:00
|
|
|
<input type="text" class="form-control" name="asset_eol_date_start" aria-label="asset_eol_date_start">
|
2023-07-11 11:08:55 -07:00
|
|
|
<span class="input-group-addon">to</span>
|
2023-07-26 14:31:06 -07:00
|
|
|
<input type="text" class="form-control" name="asset_eol_date_end" aria-label="asset_eol_date_end">
|
2023-07-11 11:08:55 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2021-01-26 12:05:31 -08:00
|
|
|
<!-- Last Audit Date -->
|
2023-10-18 06:13:35 -07:00
|
|
|
<div class="form-group last_audit-range{{ ($errors->has('last_audit_start') || $errors->has('last_audit_end')) ? ' has-error' : '' }}">
|
2021-01-26 12:05:31 -08:00
|
|
|
<label for="last_audit_start" class="col-md-3 control-label">{{ trans('general.last_audit') }}</label>
|
2023-10-18 06:13:35 -07:00
|
|
|
<div class="input-daterange input-group col-md-7" id="datepicker">
|
|
|
|
<input type="text" class="form-control" name="last_audit_start" aria-label="last_audit_start" value="{{ old('last_audit_start') }}">
|
2024-07-16 11:01:50 -07:00
|
|
|
<span class="input-group-addon">{{ strtolower(trans('general.to')) }}</span>
|
2023-10-18 06:13:35 -07:00
|
|
|
<input type="text" class="form-control" name="last_audit_end" aria-label="last_audit_end" value="{{ old('last_audit_end') }}">
|
2021-01-26 12:05:31 -08:00
|
|
|
</div>
|
2023-10-18 06:13:35 -07:00
|
|
|
|
|
|
|
@if ($errors->has('last_audit_start') || $errors->has('last_audit_end'))
|
|
|
|
<div class="col-md-9 col-lg-offset-3">
|
|
|
|
{!! $errors->first('last_audit_start', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
|
|
{!! $errors->first('last_audit_end', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
|
|
</div>
|
|
|
|
@endif
|
2021-01-26 12:05:31 -08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Next Audit Date -->
|
2023-10-18 06:13:35 -07:00
|
|
|
<div class="form-group next_audit-range{{ ($errors->has('next_audit_start') || $errors->has('next_audit_end')) ? ' has-error' : '' }}">
|
2021-01-26 12:05:31 -08:00
|
|
|
<label for="next_audit_start" class="col-md-3 control-label">{{ trans('general.next_audit_date') }}</label>
|
2023-10-18 06:13:35 -07:00
|
|
|
<div class="input-daterange input-group col-md-7" id="datepicker">
|
|
|
|
<input type="text" class="form-control" name="next_audit_start" aria-label="next_audit_start" value="{{ old('next_audit_start') }}">
|
2024-07-16 11:01:50 -07:00
|
|
|
<span class="input-group-addon">{{ strtolower(trans('general.to')) }}</span>
|
2023-10-18 06:13:35 -07:00
|
|
|
<input type="text" class="form-control" name="next_audit_end" aria-label="next_audit_end" value="{{ old('next_audit_end') }}">
|
2021-01-26 12:05:31 -08:00
|
|
|
</div>
|
2023-10-18 06:13:35 -07:00
|
|
|
|
|
|
|
@if ($errors->has('next_audit_start') || $errors->has('next_audit_end'))
|
|
|
|
<div class="col-md-9 col-lg-offset-3">
|
|
|
|
{!! $errors->first('next_audit_start', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
|
|
{!! $errors->first('next_audit_end', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
|
|
</div>
|
|
|
|
@endif
|
2021-01-26 12:05:31 -08:00
|
|
|
</div>
|
2017-12-01 14:47:52 -08:00
|
|
|
|
|
|
|
<div class="col-md-9 col-md-offset-3">
|
2023-04-03 22:38:56 -07:00
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('exclude_archived', '1', old('exclude_archived')) }}
|
2022-07-11 09:56:58 -07:00
|
|
|
{{ trans('general.exclude_archived') }}
|
|
|
|
</label>
|
2022-07-18 12:12:22 -07:00
|
|
|
</div>
|
|
|
|
<div class="col-md-9 col-md-offset-3">
|
2023-04-03 22:38:56 -07:00
|
|
|
<label class="form-control">
|
|
|
|
{{ Form::checkbox('use_bom', '1', old('use_bom')) }}
|
2021-11-19 03:39:19 -08:00
|
|
|
{{ trans('general.bom_remark') }}
|
2017-12-01 14:47:52 -08:00
|
|
|
</label>
|
|
|
|
</div>
|
2022-08-02 10:27:55 -07:00
|
|
|
|
2022-08-01 14:52:12 -07:00
|
|
|
<div class="col-md-9 col-md-offset-3">
|
2017-12-01 14:47:52 -08:00
|
|
|
|
2023-04-03 22:38:56 -07:00
|
|
|
<label class="form-control">
|
2024-01-16 12:33:16 -08:00
|
|
|
{{ Form::radio('deleted_assets', 'exclude_deleted', true, ['aria-label'=>'deleted_assets', 'id'=>'deleted_assets_exclude_deleted'])}}
|
2023-04-03 22:38:56 -07:00
|
|
|
{{ trans('general.exclude_deleted') }}
|
|
|
|
</label>
|
|
|
|
<label class="form-control">
|
2024-01-16 12:33:16 -08:00
|
|
|
{{ Form::radio('deleted_assets', 'include_deleted', old('deleted_assets'), ['aria-label'=>'deleted_assets', 'id'=>'deleted_assets_include_deleted']) }}
|
2023-04-03 22:38:56 -07:00
|
|
|
{{ trans('general.include_deleted') }}
|
|
|
|
</label>
|
|
|
|
<label class="form-control">
|
2024-01-16 12:33:16 -08:00
|
|
|
{{ Form::radio('deleted_assets', 'only_deleted', old('deleted_assets'), ['aria-label'=>'deleted_assets','id'=>'deleted_assets_only_deleted']) }}
|
2023-04-03 22:38:56 -07:00
|
|
|
{{ trans('general.only_deleted') }}
|
|
|
|
</label>
|
|
|
|
</div>
|
2016-12-27 12:03:47 -08:00
|
|
|
</div>
|
2016-03-25 01:18:05 -07:00
|
|
|
|
2017-12-01 14:47:52 -08:00
|
|
|
|
2023-04-03 22:38:56 -07:00
|
|
|
|
2016-12-27 12:03:47 -08:00
|
|
|
</div> <!-- /.box-body-->
|
2016-03-25 01:18:05 -07:00
|
|
|
<div class="box-footer text-right">
|
2023-04-03 22:38:56 -07:00
|
|
|
<button type="submit" class="btn btn-success">
|
|
|
|
<i class="fas fa-download icon-white" aria-hidden="true"></i>
|
|
|
|
{{ trans('general.generate') }}
|
|
|
|
</button>
|
2016-03-25 01:18:05 -07:00
|
|
|
</div>
|
2016-12-27 12:03:47 -08:00
|
|
|
</div> <!--/.box.box-default-->
|
|
|
|
{{ Form::close() }}
|
|
|
|
</div>
|
2016-03-25 01:18:05 -07:00
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|
2017-12-01 14:47:52 -08:00
|
|
|
|
|
|
|
@section('moar_scripts')
|
|
|
|
<script>
|
|
|
|
|
2017-12-01 16:50:56 -08:00
|
|
|
$('.purchase-range .input-daterange').datepicker({
|
2017-12-01 14:47:52 -08:00
|
|
|
clearBtn: true,
|
|
|
|
todayHighlight: true,
|
|
|
|
endDate: '0d',
|
|
|
|
format: 'yyyy-mm-dd'
|
|
|
|
});
|
2023-04-19 10:11:26 -07:00
|
|
|
$('.checkout-range .input-daterange').datepicker({
|
|
|
|
clearBtn: true,
|
|
|
|
todayHighlight: true,
|
|
|
|
endDate: '0d',
|
|
|
|
format: 'yyyy-mm-dd'
|
|
|
|
});
|
2017-12-01 14:47:52 -08:00
|
|
|
|
2023-08-21 13:44:49 -07:00
|
|
|
$('.checkin-range .input-daterange').datepicker({
|
|
|
|
clearBtn: true,
|
|
|
|
todayHighlight: true,
|
|
|
|
endDate: '0d',
|
|
|
|
format: 'yyyy-mm-dd'
|
|
|
|
});
|
|
|
|
|
2018-05-08 07:37:18 -07:00
|
|
|
$('.expected_checkin-range .input-daterange').datepicker({
|
|
|
|
clearBtn: true,
|
|
|
|
todayHighlight: true,
|
|
|
|
format: 'yyyy-mm-dd'
|
|
|
|
});
|
|
|
|
|
2023-07-26 14:31:06 -07:00
|
|
|
$('.asset_eol_date-range .input-daterange').datepicker({
|
2023-07-11 11:08:55 -07:00
|
|
|
clearBtn: true,
|
|
|
|
todayHighlight: true,
|
|
|
|
format: 'yyyy-mm-dd'
|
|
|
|
});
|
|
|
|
|
2021-01-26 12:05:31 -08:00
|
|
|
$('.last_audit-range .input-daterange').datepicker({
|
|
|
|
clearBtn: true,
|
|
|
|
todayHighlight: true,
|
|
|
|
endDate:'0d',
|
|
|
|
format: 'yyyy-mm-dd'
|
|
|
|
});
|
|
|
|
|
|
|
|
$('.next_audit-range .input-daterange').datepicker({
|
|
|
|
clearBtn: true,
|
|
|
|
todayHighlight: true,
|
|
|
|
format: 'yyyy-mm-dd'
|
|
|
|
});
|
|
|
|
|
2023-04-03 22:38:56 -07:00
|
|
|
$("#checkAll").change(function () {
|
|
|
|
$("input:checkbox").prop('checked', $(this).prop("checked"));
|
2017-12-01 14:47:52 -08:00
|
|
|
});
|
2023-04-03 22:38:56 -07:00
|
|
|
|
2017-12-01 14:47:52 -08:00
|
|
|
</script>
|
|
|
|
@stop
|