Build header for customers when creating projects and correct link to invoices.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user