2022-06-01 10:15:55 +03:00
|
|
|
@stack('add_new_button_start')
|
|
|
|
|
|
|
|
@if (! $hideButtonAddNew)
|
|
|
|
@can($permissionCreate)
|
2022-09-06 13:54:56 +03:00
|
|
|
<x-link href="{{ route($routeButtonAddNew, ['type' => $type]) }}" kind="primary" id="show-more-actions-new-{{ $transaction->type }}">
|
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')
|
|
|
|
|
2022-07-21 01:07:55 +03:00
|
|
|
@if (! $transaction->reconciled && $transaction->isNotTransferTransaction())
|
2022-06-04 20:26:53 +03:00
|
|
|
@if (! $hideButtonEdit)
|
|
|
|
@can($permissionUpdate)
|
2022-09-06 13:54:56 +03:00
|
|
|
<x-link href="{{ route($routeButtonEdit, [$transaction->id, 'type' => $type]) }}" id="show-more-actions-edit-{{ $transaction->type }}">
|
2022-06-04 20:26:53 +03:00
|
|
|
{{ trans('general.edit') }}
|
|
|
|
</x-link>
|
|
|
|
@endcan
|
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
|
|
|
|
@stack('edit_button_end')
|