@extends('layouts.admin')
@section('content')

<div class="card">
    <div class="card-header">
        {{ trans('global.show') }} {{ trans('cruds.kegiatanpkapk.title') }}
    </div>

    <div class="card-body">
        <div>
            <table class="table table-bordered table-striped">
                <tbody>
                    <tr>
                        <th>
                            {{ trans('cruds.kegiatanpkapk.fields.nama') }}
                        </th>
                        <td>
                            {{ $kegiatanpkapk->nama->nama ?? '' }}
                        </td>
                    </tr>
                    <tr>
                        <th>
                            {{ trans('cruds.kegiatanpkapk.fields.kegiatan') }}
                        </th>
                        <td>
                            {{ $kegiatanpkapk->kegiatan->detail_kegiatan ?? '' }}
                        </td>
                    </tr>
                    <tr>
                        <th>
                            {{ trans('cruds.kegiatanpkapk.fields.nama_klien') }}
                        </th>
                        <td>
                            {{ $kegiatanpkapk->nama_klien->nama ?? '' }}
                        </td>
                    </tr>
                    <tr>
                        <th>
                            {{ trans('cruds.kegiatanpkapk.fields.penilaian') }}
                        </th>
                        <td>
                            {{ App\Kegiatanpkapk::PENILAIAN_RADIO[$kegiatanpkapk->penilaian] }}
                        </td>
                    </tr>
                </tbody>
            </table>
            <a style="margin-top:20px;" class="btn btn-default" href="{{ url()->previous() }}">
                Back
            </a>
        </div>
    </div>
</div>
@endsection