From fb104490add38455e02c1303628be097c138d40d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Duli=C3=A7i?= Date: Wed, 3 Aug 2022 22:12:24 +0300 Subject: [PATCH] dont allow editing transaction of transfer --- .../components/transactions/show/create.blade.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/resources/views/components/transactions/show/create.blade.php b/resources/views/components/transactions/show/create.blade.php index 035bb417f..cd1670cc0 100644 --- a/resources/views/components/transactions/show/create.blade.php +++ b/resources/views/components/transactions/show/create.blade.php @@ -25,10 +25,12 @@ x-ref="container1" x-bind:class="create == 1 ? 'h-auto ' : 'scale-y-0 h-0'" > -
- - {{ trans('general.edit') }} - -
+ @if ($transaction->isNotTransferTransaction()) +
+ + {{ trans('general.edit') }} + +
+ @endif