dont allow editing transaction of transfer
This commit is contained in:
		@@ -25,10 +25,12 @@
 | 
			
		||||
        x-ref="container1"
 | 
			
		||||
        x-bind:class="create == 1 ? 'h-auto ' : 'scale-y-0 h-0'"
 | 
			
		||||
    >
 | 
			
		||||
        <div class="flex my-3 space-x-2 rtl:space-x-reverse">
 | 
			
		||||
            <a href="{{ route($routeButtonEdit, [$transaction->id, 'type' => $transaction->type]) }}" class="px-3 py-1.5 mb-3 sm:mb-0 bg-gray-100 hover:bg-gray-200 rounded-xl text-purple text-xs font-bold leading-6">
 | 
			
		||||
                {{ trans('general.edit') }}
 | 
			
		||||
            </a>
 | 
			
		||||
        </div>
 | 
			
		||||
        @if ($transaction->isNotTransferTransaction())
 | 
			
		||||
            <div class="flex my-3 space-x-2 rtl:space-x-reverse">
 | 
			
		||||
                <a href="{{ route($routeButtonEdit, [$transaction->id, 'type' => $transaction->type]) }}" class="px-3 py-1.5 mb-3 sm:mb-0 bg-gray-100 hover:bg-gray-200 rounded-xl text-purple text-xs font-bold leading-6">
 | 
			
		||||
                    {{ trans('general.edit') }}
 | 
			
		||||
                </a>
 | 
			
		||||
            </div>
 | 
			
		||||
        @endif
 | 
			
		||||
    </div>
 | 
			
		||||
</div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user