@extends('layouts.master') @section('content')
| Nama | Hits | Link | |
|---|---|---|---|
| {{ $row->title }} | {{ $row->hits }} | @php $count = $row->document->count() ?? 0; $jumlah = 1; @endphp @foreach ($row->document as $item) @if($count > 1) slug/$item->name" }}" target="_blank">Download File ke - {{ $jumlah++ }} @else slug/$item->name" }}" target="_blank">Download @endif @endforeach |