Merge: Support purging a deleted client

This commit is contained in:
Hillel Coren 2018-04-15 17:45:29 +03:00
parent 28b92dcbb6
commit ee61638cd6

View File

@ -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()']) !!}