2022-06-01 07:15:55 +00:00
|
|
|
<x-show.accordion type="receive" :open="($accordionActive == 'receive')">
|
|
|
|
|
<x-slot name="head">
|
|
|
|
|
<x-show.accordion.head
|
|
|
|
|
title="{{ trans('general.receive') }}"
|
|
|
|
|
description="{!! trans($description, [
|
2023-10-03 08:06:08 +00:00
|
|
|
'user' => $user_name,
|
|
|
|
|
'type' => $type_lowercase,
|
|
|
|
|
'date' => $last_received_date,
|
2022-06-01 07:15:55 +00:00
|
|
|
]) !!}"
|
|
|
|
|
/>
|
|
|
|
|
</x-slot>
|
|
|
|
|
|
|
|
|
|
<x-slot name="body">
|
2025-01-10 09:58:13 +00:00
|
|
|
@stack('timeline_receive_body_start')
|
|
|
|
|
|
2022-06-01 07:15:55 +00:00
|
|
|
<div class="flex flex-wrap space-x-3 rtl:space-x-reverse">
|
2025-01-10 09:58:13 +00:00
|
|
|
@stack('timeline_receive_body_button_mark_received_start')
|
|
|
|
|
|
2022-06-01 07:15:55 +00:00
|
|
|
@if (! $hideMarkReceived)
|
|
|
|
|
@can($permissionUpdate)
|
|
|
|
|
@if ($document->status == 'draft')
|
2022-09-06 10:54:56 +00:00
|
|
|
<x-link href="{{ route($markReceivedRoute, $document->id) }}" id="show-slider-actions-mark-received-{{ $document->type }}" kind="secondary" @click="e => e.target.classList.add('disabled')">
|
2023-08-14 07:03:21 +00:00
|
|
|
<x-link.loading>
|
|
|
|
|
{{ trans($textMarkReceived) }}
|
|
|
|
|
</x-link.loading>
|
2022-06-01 07:15:55 +00:00
|
|
|
</x-link>
|
|
|
|
|
@else
|
2023-10-03 08:06:08 +00:00
|
|
|
<x-button kind="disabled" disabled="disabled">
|
2022-06-01 07:15:55 +00:00
|
|
|
{{ trans($textMarkReceived) }}
|
|
|
|
|
</x-button>
|
|
|
|
|
@endif
|
|
|
|
|
@endcan
|
|
|
|
|
@endif
|
2025-01-10 09:58:13 +00:00
|
|
|
|
|
|
|
|
@stack('timeline_receive_body_button_mark_received_end')
|
2022-06-01 07:15:55 +00:00
|
|
|
</div>
|
2025-01-10 09:58:13 +00:00
|
|
|
|
|
|
|
|
@stack('timeline_receive_body_end')
|
2022-06-01 07:15:55 +00:00
|
|
|
</x-slot>
|
|
|
|
|
</x-show.accordion>
|