Build header for customers when creating projects and correct link to invoices.

This commit is contained in:
2025-05-13 15:32:54 +02:00
parent 5deef877ba
commit f478b4aed6
2 changed files with 8 additions and 2 deletions

View File

@@ -76,7 +76,7 @@
@foreach($project->invoices as $invoice)
<details class="even:bg-gray-100 odd:bg-white hover:bg-gray-400">
<summary class="cursor-pointer flex flex-row w-full"
@click="window.location.href='/invoice/' + invoice.id;">
onclick="window.location.href='/invoice/{{ $invoice->id }}'">
<div class="w-1/6">{{ $invoice->number }}</div>
<div class="w-1/3">{{ $invoice->customer->name }}</div>
<div class="w-1/4">{{ $invoice->address->name }}</div>