push for testing

This commit is contained in:
akemidx 2023-04-11 13:52:14 -04:00
parent aabcf22b40
commit d94bed3f57
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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,10 +923,10 @@
@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>
<button style="width: 100%;" class="btn btn-sm btn-warning hidden-print" >{{ trans('button.delete')}}</button>
</form>
</div>
@endif