mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-19 16:01:34 +02:00
Working on projects
This commit is contained in:
parent
a9121e9a72
commit
ebd6a78711
@ -89,7 +89,7 @@
|
||||
@endif
|
||||
|
||||
@if (Auth::user()->can('create', $entityType) && empty($vendorId))
|
||||
{!! Button::primary(mtrans($entityType, "new_{$entityType}"))->asLinkTo(url(Utils::pluralizeEntityType($entityType) . '/create/' . (isset($clientId) ? $clientId : '')))->appendIcon(Icon::create('plus-sign')) !!}
|
||||
{!! Button::primary(mtrans($entityType, "new_{$entityType}"))->asLinkTo(url(Utils::pluralizeEntityType($entityType) . '/create/' . (isset($clientId) ? ($clientId . (isset($projectId) ? '/' . $projectId : '')) : '')))->appendIcon(Icon::create('plus-sign')) !!}
|
||||
@endif
|
||||
|
||||
</div>
|
||||
|
@ -13,6 +13,7 @@
|
||||
@if ($project)
|
||||
{!! Former::populate($project) !!}
|
||||
{!! Former::populateField('task_rate', floatval($project->task_rate) ? Utils::roundSignificant($project->task_rate) : '') !!}
|
||||
{!! Former::populateField('budgeted_hours', floatval($project->budgeted_hours) ? $project->budgeted_hours : '') !!}
|
||||
@endif
|
||||
|
||||
<span style="display:none">
|
||||
|
@ -58,6 +58,7 @@
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<h3>{{ trans('texts.details') }}</h3>
|
||||
{{ trans('texts.client') }}: {!! $project->client->present()->link !!}<br/>
|
||||
@if ($project->due_date)
|
||||
{{ trans('texts.due_date') . ': ' . Utils::fromSqlDate($project->due_date) }}<br/>
|
||||
@endif
|
||||
|
Loading…
Reference in New Issue
Block a user