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:
parent
8240e1b67a
commit
07a2b3d7f9
@ -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…
Reference in New Issue
Block a user