@if (($addProjectMilestonePermission == 'all' || $project->project_admin == user()->id) && !$project->trashed())
@lang('modules.projects.createMilestone')
@endif
@if ($viewProjectMilestonePermission == 'all' || $viewProjectMilestonePermission == 'added' || ($viewProjectMilestonePermission == 'owned' && user()->id == $project->client_id))
# |
@lang('modules.projects.milestoneTitle') |
@lang('modules.projects.milestoneCost') |
@lang('app.status') |
@lang('app.action') |
@forelse($project->milestones as $key=>$item)
{{ $key + 1 }} |
{{ ucfirst($item->milestone_title) }}
|
@if (!is_null($item->currency_id))
{{ currency_formatter($item->cost, $item->currency->currency_symbol) }}
@else
{{ currency_formatter($item->cost) }}
@endif
|
@if ($item->status == 'complete')
{{ trans('app.' . $item->status) }}
@else
{{ trans('app.' . $item->status) }}
@endif
|
|
@empty
|
@endforelse
@else
@endif