mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 21:54:14 -08:00
Added blade component to checkin/checkout pages
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
c6e709cd36
commit
5dea3f4495
|
@ -71,11 +71,15 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="box-footer">
|
<x-redirect_submit_options
|
||||||
<a class="btn btn-link" href="{{ URL::previous() }}">{{ trans('button.cancel') }}</a>
|
index_route="accessories.index"
|
||||||
<button type="submit" class="btn btn-primary pull-right"><i class="fas fa-check icon-white" aria-hidden="true"></i>
|
:button_label="trans('general.checkin')"
|
||||||
{{ trans('general.checkin') }}</button>
|
:options="[
|
||||||
</div>
|
'index' => trans('admin/hardware/form.redirect_to_all', ['type' => trans('general.accessories')]),
|
||||||
|
'item' => trans('admin/hardware/form.redirect_to_type', ['type' => trans('general.accessory')]),
|
||||||
|
|
||||||
|
]"
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- .box.box-default -->
|
</div> <!-- .box.box-default -->
|
||||||
|
|
|
@ -114,10 +114,16 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-footer">
|
<x-redirect_submit_options
|
||||||
<a class="btn btn-link" href="{{ URL::previous() }}">{{ trans('button.cancel') }}</a>
|
index_route="accessories.index"
|
||||||
<button type="submit" id="submit_button" class="btn btn-primary pull-right"><i class="fas fa-check icon-white" aria-hidden="true"></i> {{ trans('general.checkout') }}</button>
|
:button_label="trans('general.checkout')"
|
||||||
</div>
|
:options="[
|
||||||
|
'index' => trans('admin/hardware/form.redirect_to_all', ['type' => trans('general.accessories')]),
|
||||||
|
'item' => trans('admin/hardware/form.redirect_to_type', ['type' => trans('general.accessory')]),
|
||||||
|
'target' => trans('admin/hardware/form.redirect_to_checked_out_to'),
|
||||||
|
|
||||||
|
]"
|
||||||
|
/>
|
||||||
</div> <!-- .box.box-default -->
|
</div> <!-- .box.box-default -->
|
||||||
</form>
|
</form>
|
||||||
</div> <!-- .col-md-9-->
|
</div> <!-- .col-md-9-->
|
||||||
|
|
|
@ -56,10 +56,14 @@
|
||||||
{!! $errors->first('note', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
{!! $errors->first('note', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-footer">
|
<x-redirect_submit_options
|
||||||
<a class="btn btn-link" href="{{ route('components.index') }}">{{ trans('button.cancel') }}</a>
|
index_route="components.index"
|
||||||
<button type="submit" class="btn btn-primary pull-right"><i class="fas fa-check icon-white" aria-hidden="true"></i> {{ trans('general.checkin') }}</button>
|
:button_label="trans('general.checkin')"
|
||||||
</div>
|
:options="[
|
||||||
|
'index' => trans('admin/hardware/form.redirect_to_all', ['type' => trans('general.components')]),
|
||||||
|
'item' => trans('admin/hardware/form.redirect_to_type', ['type' => trans('general.component')]),
|
||||||
|
]"
|
||||||
|
/>
|
||||||
</div> <!-- /.box-->
|
</div> <!-- /.box-->
|
||||||
</form>
|
</form>
|
||||||
</div> <!-- /.col-md-7-->
|
</div> <!-- /.col-md-7-->
|
||||||
|
|
|
@ -54,10 +54,16 @@
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- .BOX-BODY-->
|
</div> <!-- .BOX-BODY-->
|
||||||
<div class="box-footer">
|
<x-redirect_submit_options
|
||||||
<a class="btn btn-link" href="{{ URL::previous() }}">{{ trans('button.cancel') }}</a>
|
index_route="components.index"
|
||||||
<button type="submit" id="submit_button" class="btn btn-primary pull-right"><i class="fas fa-check icon-white" aria-hidden="true"></i> {{ trans('general.checkout') }}</button>
|
:button_label="trans('general.checkout')"
|
||||||
</div>
|
:options="[
|
||||||
|
'index' => trans('admin/hardware/form.redirect_to_all', ['type' => trans('general.components')]),
|
||||||
|
'item' => trans('admin/hardware/form.redirect_to_type', ['type' => trans('general.component')]),
|
||||||
|
'target' => trans('admin/hardware/form.redirect_to_checked_out_to'),
|
||||||
|
|
||||||
|
]"
|
||||||
|
/>
|
||||||
</div> <!-- .box-default-->
|
</div> <!-- .box-default-->
|
||||||
</form>
|
</form>
|
||||||
</div> <!-- .col-md-9-->
|
</div> <!-- .col-md-9-->
|
||||||
|
|
|
@ -106,10 +106,14 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div> <!-- .box-body -->
|
</div> <!-- .box-body -->
|
||||||
<div class="box-footer">
|
<x-redirect_submit_options
|
||||||
<a class="btn btn-link" href="{{ route('consumables.show', ['consumable'=> $consumable->id]) }}">{{ trans('button.cancel') }}</a>
|
index_route="consumables.index"
|
||||||
<button type="submit" id="submit_button" class="btn btn-primary pull-right"><i class="fas fa-check icon-white" aria-hidden="true"></i> {{ trans('general.checkout') }}</button>
|
:button_label="trans('general.checkout')"
|
||||||
</div>
|
:options="[
|
||||||
|
'index' => trans('admin/hardware/form.redirect_to_all', ['type' => trans('general.consumables')]),
|
||||||
|
'item' => trans('admin/hardware/form.redirect_to_type', ['type' => trans('general.consumable')]),
|
||||||
|
'target' => trans('admin/hardware/form.redirect_to_checked_out_to'),
|
||||||
|
]"/>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
|
@ -56,10 +56,14 @@
|
||||||
{!! $errors->first('notes', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
{!! $errors->first('notes', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-footer">
|
<x-redirect_submit_options
|
||||||
<a class="btn btn-link" href="{{ route('licenses.index') }}">{{ trans('button.cancel') }}</a>
|
index_route="licenses.index"
|
||||||
<button type="submit" class="btn btn-primary pull-right"><i class="fas fa-check icon-white" aria-hidden="true"></i> {{ trans('general.checkin') }}</button>
|
:button_label="trans('general.checkin')"
|
||||||
</div>
|
:options="[
|
||||||
|
'index' => trans('admin/hardware/form.redirect_to_all', ['type' => trans('general.licenses')]),
|
||||||
|
'item' => trans('admin/hardware/form.redirect_to_type', ['type' => trans('general.license')]),
|
||||||
|
]"
|
||||||
|
/>
|
||||||
</div> <!-- /.box-->
|
</div> <!-- /.box-->
|
||||||
</form>
|
</form>
|
||||||
</div> <!-- /.col-md-7-->
|
</div> <!-- /.col-md-7-->
|
||||||
|
|
|
@ -105,10 +105,15 @@
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<div class="box-footer">
|
<x-redirect_submit_options
|
||||||
<a class="btn btn-link" href="{{ route('licenses.index') }}">{{ trans('button.cancel') }}</a>
|
index_route="licenses.index"
|
||||||
<button type="submit" class="btn btn-primary pull-right"><i class="fas fa-check icon-white" aria-hidden="true"></i> {{ trans('general.checkout') }}</button>
|
:button_label="trans('general.checkout')"
|
||||||
</div>
|
:options="[
|
||||||
|
'index' => trans('admin/hardware/form.redirect_to_all', ['type' => trans('general.licenses')]),
|
||||||
|
'item' => trans('admin/hardware/form.redirect_to_type', ['type' => trans('general.license')]),
|
||||||
|
'target' => trans('admin/hardware/form.redirect_to_checked_out_to'),
|
||||||
|
]"
|
||||||
|
/>
|
||||||
</div> <!-- /.box-->
|
</div> <!-- /.box-->
|
||||||
</form>
|
</form>
|
||||||
</div> <!-- /.col-md-7-->
|
</div> <!-- /.col-md-7-->
|
||||||
|
|
Loading…
Reference in a new issue