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>]
|
||||
* @param int $assetId
|
||||
|
|
|
@ -873,7 +873,7 @@
|
|||
<!-- generic image goes here -->
|
||||
@endif
|
||||
|
||||
<!-- Start button column -->
|
||||
<!-- Start side button column -->
|
||||
|
||||
@if (($asset->assetstatus) && ($asset->assetstatus->deployable=='1'))
|
||||
@if (($asset->assigned_to != '') && ($asset->deleted_at==''))
|
||||
|
@ -923,7 +923,7 @@
|
|||
@can('delete', $asset)
|
||||
@if ($asset->deleted_at=='')
|
||||
<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()}}
|
||||
{{ method_field("DELETE")}}
|
||||
<button style="width: 100%;" class="btn btn-sm btn-warning hidden-print" >{{ trans('button.delete')}}</button>
|
||||
|
|
Loading…
Reference in a new issue