mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
push for testing
This commit is contained in:
parent
aabcf22b40
commit
d94bed3f57
|
@ -767,7 +767,7 @@ class AssetsController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retore a deleted asset.
|
* Restore a deleted asset.
|
||||||
*
|
*
|
||||||
* @author [A. Gianotto] [<snipe@snipe.net>]
|
* @author [A. Gianotto] [<snipe@snipe.net>]
|
||||||
* @param int $assetId
|
* @param int $assetId
|
||||||
|
|
|
@ -873,7 +873,7 @@
|
||||||
<!-- generic image goes here -->
|
<!-- generic image goes here -->
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<!-- Start button column -->
|
<!-- Start side button column -->
|
||||||
|
|
||||||
@if (($asset->assetstatus) && ($asset->assetstatus->deployable=='1'))
|
@if (($asset->assetstatus) && ($asset->assetstatus->deployable=='1'))
|
||||||
@if (($asset->assigned_to != '') && ($asset->deleted_at==''))
|
@if (($asset->assigned_to != '') && ($asset->deleted_at==''))
|
||||||
|
@ -923,10 +923,10 @@
|
||||||
@can('delete', $asset)
|
@can('delete', $asset)
|
||||||
@if ($asset->deleted_at=='')
|
@if ($asset->deleted_at=='')
|
||||||
<div class="col-md-12" style="padding-top: 30px; padding-bottom: 30px;">
|
<div class="col-md-12" style="padding-top: 30px; padding-bottom: 30px;">
|
||||||
<form action="{{ route('delete/assetfile', [$asset->id,12]) }}" method="POST">
|
<form action="{{ route('delete/assetfile', [$asset->id,$fileId->id]) }}" method="POST">
|
||||||
{{csrf_field()}}
|
{{csrf_field()}}
|
||||||
{{ method_field("DELETE")}}
|
{{ method_field("DELETE")}}
|
||||||
<button style="width: 100%;" class="btn btn-sm btn-warning hidden-print">{{ trans('button.delete')}}</button>
|
<button style="width: 100%;" class="btn btn-sm btn-warning hidden-print" >{{ trans('button.delete')}}</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
Loading…
Reference in a new issue