@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100'])
@section('content')
@include('layouts.navbars.auth.topnav', ['title' => ''])
{{-- Tombol Kembali --}}
{{-- ═══════════════════ SUMMARY STATISTICS ═══════════════════ --}}
Total Training
{{ number_format($total_training) }}
Total Cost
Rp {{ number_format($total_cost, 0, ',', '.') }}
Average Cost
Rp {{ number_format($avg_cost, 0, ',', '.') }}
@if($trainings->count() > 0)
{{-- ═══════════════════ GRAFIK COST BY TRAINER ═══════════════════ --}}
{{-- ═══════════════════ SUMMARY BY TRAINER ═══════════════════ --}}
| No |
Trainer Name |
Total Training |
Total Cost |
Average Cost |
@foreach($trainer_cost_summary as $index => $trainer)
| {{ $index + 1 }} |
{{ $trainer->trainer_name }} |
{{ $trainer->total_training }} |
Rp {{ number_format($trainer->total_cost, 0, ',', '.') }} |
Rp {{ number_format($trainer->avg_cost, 0, ',', '.') }} |
@endforeach
{{-- ═══════════════════ DETAIL DATA TRAINING COST ═══════════════════ --}}
| No |
Training Name |
Trainer Name |
Cost |
@foreach($trainings as $index => $training)
| {{ $index + 1 }} |
{{ $training->nama_trn }} |
{{ $training->trainer_name }} |
Rp {{ number_format($training->biaya, 0, ',', '.') }} |
@endforeach
@else
{{-- No Data Message --}}
Tidak ada data yang sesuai dengan filter yang Anda tentukan
@endif
@endsection
@push('css')
@endpush
@push('js')
@endpush