1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Support purging a deleted client

This commit is contained in:
Hillel Coren 2018-04-15 17:45:12 +03:00
parent 8240e1b67a
commit 07a2b3d7f9

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