name) . '.xls'; // header("Content-Disposition: attachment; filename=\"$filename\""); // header("Content-Type: application/vnd.ms-excel"); ?> {{-- --}} {{ $project->name }} {{-- --}} {{-- --}} @forelse($features as $key => $feature) {{-- --}} {{-- --}} tasks->count()) @foreach($feature->tasks as $task) {{-- --}} @endforeach @endif */ ?> @empty @endforelse {{-- --}} {{-- --}}

{{ trans('project.features') }} {{ $project->name }}

{{ trans('app.table_no') }} {{ trans('feature.name') }} {{ trans('feature.progress') }}{{ trans('feature.price') }}{{ trans('app.description') }}
{{ 1 + $key }} {{ $feature->name }} {{ $feature->progress = $feature->tasks->avg('progress')/100 }}{{ $feature->price }}{!! nl2br($feature->description) !!}
{{ $task->name }} {!! nl2br($task->description) !!}
{{ trans('feature.empty') }}
Total {{ $project->getFeatureOveralProgress() }} %{{ $features->sum('price') }}