Show attachments on recurring invoices page

This commit is contained in:
Benjamin Beganović 2021-06-30 20:41:11 +02:00
parent 1bf94ad452
commit aeef084bc5

View File

@ -59,12 +59,15 @@
</div>
</div>
@include('portal.ninja2020.components.entity-documents', ['entity' => $invoice])
@if($invoice->auto_bill === 'optin' || $invoice->auto_bill === 'optout')
<div class="bg-white shadow overflow-hidden lg:rounded-lg mt-4">
<div class="flex flex-col md:flex-row items-start justify-between px-4 py-5 sm:p-6">
<div>
<h3 class="text-lg leading-6 font-medium text-gray-900">Auto Bill</h3>
<p class="mt-1 max-w-2xl text-sm leading-5 text-gray-500">Change your update bill preferences.</p>
<p class="mt-1 max-w-2xl text-sm leading-5 text-gray-500">Change your update bill
preferences.</p>
</div>
<div class="flex mt-4 space-x-2">