From 07a2b3d7f9db8cb1d30cc9e33fb2aa1fd439955b Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 15 Apr 2018 17:45:12 +0300 Subject: [PATCH] Support purging a deleted client --- resources/views/clients/show.blade.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/views/clients/show.blade.php b/resources/views/clients/show.blade.php index fd830c99b3de..794b653574b1 100644 --- a/resources/views/clients/show.blade.php +++ b/resources/views/clients/show.blade.php @@ -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()']) !!}