Merge: Support purging a deleted client
This commit is contained in:
parent
28b92dcbb6
commit
ee61638cd6
1 changed files with 3 additions and 0 deletions
|
|
@ -68,6 +68,9 @@
|
|||
|
||||
@if ($client->trashed())
|
||||
@can('edit', $client)
|
||||
{!! Button::danger(trans('texts.purge_client'))
|
||||
->appendIcon(Icon::create('warning-sign'))
|
||||
->withAttributes(['onclick' => 'onPurgeClick()']) !!}
|
||||
{!! Button::primary(trans('texts.restore_client'))
|
||||
->appendIcon(Icon::create('cloud-download'))
|
||||
->withAttributes(['onclick' => 'onRestoreClick()']) !!}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue