24 lines
640 B
PHP
Raw Normal View History

2022-06-01 10:15:55 +03:00
@stack('add_new_button_start')
@if (! $hideButtonAddNew)
@can($permissionCreate)
<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->reconciled && ! $transaction->hasTransferRelation)
2022-06-04 20:26:53 +03:00
@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')