1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 14:12:44 +01:00

Make client clickable on project form

This commit is contained in:
Hillel Coren 2017-06-04 22:47:21 +03:00
parent 33a0187a4d
commit 6a2ad59de1
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
@if ($project)
{!! Former::plaintext('client_name')
->value($project->client ? $project->client->getDisplayName() : '') !!}
->value($project->client ? $project->client->present()->link : '') !!}
@else
{!! Former::select('client_id')
->addOption('', '')

View File

@ -50,7 +50,7 @@
@if ($task && $task->invoice_id)
{!! Former::plaintext()
->label('client')
->value($task->client->getDisplayName()) !!}
->value($task->client->present()->link) !!}
@if ($task->project)
{!! Former::plaintext()
->label('project')