You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.3 KiB
27 lines
1.3 KiB
<div class="panel panel-default">
|
|
<div class="panel-heading"><h3 class="panel-title">{{ __('job.detail') }}</h3></div>
|
|
<table class="table table-condensed">
|
|
<tbody>
|
|
<tr><th class="col-md-4">{{ __('job.name') }}</th><td class="col-md-8">{{ $job->name }}</td></tr>
|
|
<tr><th>{{ __('job.type') }}</th><td>{{ $job->type() }}</td></tr>
|
|
@can('see-pricings', $job)
|
|
<tr><th>{{ __('job.price') }}</th><td>{{ format_money($job->price) }}</td></tr>
|
|
@endcan
|
|
<tr><th>{{ __('job.progress') }}</th><td>{{ format_decimal($job->progress) }}%</td></tr>
|
|
<tr><th>{{ __('job.worker') }}</th><td>{{ $job->worker->name }}</td></tr>
|
|
<tr><th>{{ __('time.updated_at') }}</th><td>{{ $job->updated_at }}</td></tr>
|
|
<tr><th>{{ __('job.description') }}</th><td>{!! nl2br($job->description) !!}</td></tr>
|
|
<tr>
|
|
<th>{{ __('job.files') }}</th>
|
|
<td>
|
|
@if ($job->hasMedia())
|
|
@foreach ($job->getMedia() as $item)
|
|
<a target="_blank" href="{{route('show-job-file', ['job' => $job->id , 'media_id' => $item->id])}}">{{$item->name}}</a>
|
|
@endforeach
|
|
@else
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|