name) . '.xls'; // header("Content-Disposition: attachment; filename=\"$filename\""); // header("Content-Type: application/vnd.ms-excel"); ?> {{-- --}} {{ $project->name }} @forelse($jobs as $key => $job) @if ($job->tasks->count()) @foreach($job->tasks as $task) @endforeach @endif @empty @endforelse
{{ trans('project.jobs') }} {{ $project->name }}
{{ trans('app.table_no') }} {{ trans('job.name') }} {{ trans('job.price') }} {{ trans('app.description') }}
{{ 1 + $key }} {{ $job->name }} {{ $job->price }} {!! nl2br($job->description) !!}
{{ $task->name }} {!! nl2br($task->description) !!}
{{ trans('job.empty') }}
Total {{ $jobs->sum('price') }}