@extends('templates.dashboard') @section('isi')

{{ $title }}

@if (count($target_kinerjas) <= 0) @else @foreach ($target_kinerjas as $key => $tk) @endforeach @endif
No. Nomor Target Nama Pegawai Jabatan Target Pribadi % Bonus Pribadi Target Team % Bonus Team Tanggal Awal Tanggal Akhir Actions
Tidak Ada Data
{{ ($target_kinerjas->currentpage() - 1) * $target_kinerjas->perpage() + $key + 1 }}. {{ $tk->nomor ?? '-' }} @foreach ($tk->team as $index => $team) {{ $team->user->name ?? '-' }} @if ($index < count($tk->team) - 1)
@endif @endforeach
@foreach ($tk->team as $index => $team) {{ $team->jabatan->nama_jabatan ?? '-' }} @if ($index < count($tk->team) - 1)
@endif @endforeach
@foreach ($tk->team as $index => $team) Rp {{ number_format($team->target_pribadi) }} @if ($index < count($tk->team) - 1)
@endif @endforeach
@foreach ($tk->team as $index => $team) {{ $team->jumlah_persen_pribadi ?? '-' }}% @if ($index < count($tk->team) - 1)
@endif @endforeach
@foreach ($tk->team as $index => $team) Rp {{ number_format($team->bonus_pribadi) }} @if ($index < count($tk->team) - 1)
@endif @endforeach
Rp {{ number_format($tk->target_team) }} {{ $tk->jumlah_persen_team ?? '-' }}% Rp {{ number_format($tk->bonus_team) }} @if ($tk->tanggal_awal) @php Carbon\Carbon::setLocale('id'); $tanggal_awal = Carbon\Carbon::createFromFormat('Y-m-d', $tk->tanggal_awal); $new_tanggal_awal = $tanggal_awal->translatedFormat('d F Y'); @endphp {{ $new_tanggal_awal }} @else - @endif @if ($tk->tanggal_akhir) @php Carbon\Carbon::setLocale('id'); $tanggal_akhir = Carbon\Carbon::createFromFormat('Y-m-d', $tk->tanggal_akhir); $new_tanggal_akhir = $tanggal_akhir->translatedFormat('d F Y'); @endphp {{ $new_tanggal_akhir }} @else - @endif
  • @method('delete') @csrf
{{ $target_kinerjas->links() }}

@push('style') @endpush @push('script') @endpush @endsection