2022-06-01 10:15:55 +03:00
|
|
|
@stack('add_new_button_start')
|
|
|
|
|
|
|
|
@if (! $hideButtonAddNew)
|
|
|
|
@can($permissionCreate)
|
2022-06-14 15:06:55 +03:00
|
|
|
<x-link href="{{ route($routeButtonAddNew, ['type' => $type]) }}" kind="primary">
|
2022-06-01 10:15:55 +03:00
|
|
|
{{ trans($textButtonAddNew) }}
|
|
|
|
</x-link>
|
|
|
|
@endcan
|
|
|
|
@endif
|
|
|
|
|
2022-06-04 20:26:53 +03:00
|
|
|
@stack('edit_button_start')
|
|
|
|
|
|
|
|
@if (! $transaction->hasTransferRelation)
|
|
|
|
@if (! $hideButtonEdit)
|
|
|
|
@can($permissionUpdate)
|
|
|
|
<x-link href="{{ route($routeButtonEdit, [$transaction->id, 'type' => $type]) }}">
|
|
|
|
{{ trans('general.edit') }}
|
|
|
|
</x-link>
|
|
|
|
@endcan
|
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
|
|
|
|
@stack('edit_button_end')
|