akaunting 3.0 (the last dance)
This commit is contained in:
28
resources/views/components/documents/show/schedule.blade.php
Normal file
28
resources/views/components/documents/show/schedule.blade.php
Normal file
@ -0,0 +1,28 @@
|
||||
<x-show.accordion type="schedule" :open="($accordionActive == 'schedule')">
|
||||
<x-slot name="head">
|
||||
<x-show.accordion.head
|
||||
title="{{ trans_choice('general.schedules', 1) }}"
|
||||
description="{!! $description !!}"
|
||||
/>
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="body" class="block" override="class">
|
||||
<div class="flex my-3 space-x-2 rtl:space-x-reverse">
|
||||
@if ($document->recurring && ($next = $document->recurring->getNextRecurring()))
|
||||
{{ trans('recurring.next_date', ['date' => $next->format(company_date_format())]) }}
|
||||
<br>
|
||||
@if (($document->recurring->limit_by == 'count'))
|
||||
@if ($document->recurring->limit_count == 0)
|
||||
{{ trans('recurring.ends_never') }}
|
||||
@else
|
||||
{{ trans('recurring.ends_after', ['times' => $document->recurring->limit_count]) }}
|
||||
@endif
|
||||
@else
|
||||
{{ trans('recurring.ends_date', ['date' => company_date($document->recurring->limit_date)]) }}
|
||||
@endif
|
||||
@else
|
||||
{{ trans('documents.statuses.ended') }}
|
||||
@endif
|
||||
</div>
|
||||
</x-slot>
|
||||
</x-show.accordion>
|
Reference in New Issue
Block a user