akaunting 3.0 (the last dance)
This commit is contained in:
@ -1,9 +1,17 @@
|
||||
|
||||
@if ($attachment)
|
||||
<div class="row align-items-center">
|
||||
@foreach ($attachment as $file)
|
||||
<div class="col-xs-12 col-sm-4 mb-4">
|
||||
@include('partials.media.file')
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
<x-show.accordion type="attachment" :open="($accordionActive == 'attachment')">
|
||||
<x-slot name="head">
|
||||
<x-show.accordion.head
|
||||
title="{{ trans_choice('general.attachments', 2) }}"
|
||||
description="{{ trans('documents.form_description.attachment', ['type' => $type]) }}"
|
||||
/>
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="body">
|
||||
@foreach ($attachment as $file)
|
||||
<x-media.file :file="$file" />
|
||||
@endforeach
|
||||
</x-slot>
|
||||
</x-show.accordion>
|
||||
@endif
|
||||
|
Reference in New Issue
Block a user