mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge: Support purging a deleted client
This commit is contained in:
parent
28b92dcbb6
commit
ee61638cd6
@ -68,6 +68,9 @@
|
|||||||
|
|
||||||
@if ($client->trashed())
|
@if ($client->trashed())
|
||||||
@can('edit', $client)
|
@can('edit', $client)
|
||||||
|
{!! Button::danger(trans('texts.purge_client'))
|
||||||
|
->appendIcon(Icon::create('warning-sign'))
|
||||||
|
->withAttributes(['onclick' => 'onPurgeClick()']) !!}
|
||||||
{!! Button::primary(trans('texts.restore_client'))
|
{!! Button::primary(trans('texts.restore_client'))
|
||||||
->appendIcon(Icon::create('cloud-download'))
|
->appendIcon(Icon::create('cloud-download'))
|
||||||
->withAttributes(['onclick' => 'onRestoreClick()']) !!}
|
->withAttributes(['onclick' => 'onRestoreClick()']) !!}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user