akaunting 3.0 (the last dance)

This commit is contained in:
Burak Civan
2022-06-01 10:15:55 +03:00
parent cead09f6d4
commit d9c0764572
3812 changed files with 126831 additions and 102949 deletions

View File

@ -0,0 +1,29 @@
<x-show.accordion type="receive" :open="($accordionActive == 'receive')">
<x-slot name="head">
<x-show.accordion.head
title="{{ trans('general.receive') }}"
description="{!! trans($description, [
'user' => $document->owner->name,
'date' => $sent_date,
]) !!}"
/>
</x-slot>
<x-slot name="body">
<div class="flex flex-wrap space-x-3 rtl:space-x-reverse">
@if (! $hideMarkReceived)
@can($permissionUpdate)
@if ($document->status == 'draft')
<x-link href="{{ route($markReceivedRoute, $document->id) }}" kind="secondary" @click="e => e.target.classList.add('disabled')">
{{ trans($textMarkReceived) }}
</x-link>
@else
<x-button kind="secondary" disabled="disabled">
{{ trans($textMarkReceived) }}
</x-button>
@endif
@endcan
@endif
</div>
</x-slot>
</x-show.accordion>