mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 15:44:33 -04:00
Merge pull request #8984 from turbo124/v5-develop
Add link to invoice - if it exists
This commit is contained in:
commit
64a6c56b4d
@ -47,7 +47,17 @@
|
|||||||
{{ $task->project?->name }}
|
{{ $task->project?->name }}
|
||||||
</td>
|
</td>
|
||||||
<td class="px-6 py-4 whitespace-nowrap text-sm leading-5 text-gray-500">
|
<td class="px-6 py-4 whitespace-nowrap text-sm leading-5 text-gray-500">
|
||||||
|
<div class="flex">
|
||||||
{!! $task->stringStatus() !!}
|
{!! $task->stringStatus() !!}
|
||||||
|
|
||||||
|
@if($task->invoice_id && ($task->invoice->status_id != \App\Models\Invoice::STATUS_DRAFT || $task->invoice->status_id != \App\Models\Invoice::STATUS_CANCELLED || !$task->invoice->is_deleted))
|
||||||
|
|
||||||
|
<a href="{{ route('client.invoice.show', $task->invoice->hashed_id) }}" class="button-link text-primary">
|
||||||
|
<img src="{{ asset('images/svg/dark/file-text.svg') }}" class="w-5 h-5 fill-current text-white mr-3 ml-1">
|
||||||
|
</a>
|
||||||
|
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="px-6 py-4 whitespace-nowrap text-sm leading-5 text-gray-500">
|
<td class="px-6 py-4 whitespace-nowrap text-sm leading-5 text-gray-500">
|
||||||
{{ \Carbon\CarbonInterval::seconds($task->calcDuration())->cascade()->forHumans() }}
|
{{ \Carbon\CarbonInterval::seconds($task->calcDuration())->cascade()->forHumans() }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user