@extends('layouts.app') @section('title', (request()->routeIs('qma.activity.support_timesheet') ? 'History Timesheet Unit Support' : 'Timesheet Unit Support') . ' - Admin QMA | PT Kerinci Merangin Hidro') @section('content')
MANAJEMEN QMA • {{ request()->routeIs('qma.activity.support_timesheet') ? 'Log Aktifitas' : 'Operasional Unit' }}

{{ request()->routeIs('qma.activity.support_timesheet') ? 'History Timesheet Unit Support' : 'Timesheet Unit Support' }}

Pencatatan jam kerja (HM/KM), penugasan operator, utilisasi shift, serta pemakaian solar alat berat.

@can('qma.logs.edit_odometer') @endcan

Total Timesheet

{{ number_format($totalEntries, 0, ',', '.') }}

Laporan Operasi

Total Jam Operasi

{{ number_format($totalOperatingHours, 1, ',', '.') }} Jam

Akumulasi Jam Mesin

Konsumsi Solar

{{ number_format($totalFuelLiters, 0, ',', '.') }} L

Pengisian Bahan Bakar

Unit Beroperasi

{{ number_format($activeUnitsCount, 0, ',', '.') }}

Unit Beroperasi

Kendala Breakdown

{{ number_format($breakdownCount, 0, ',', '.') }}

Status Breakdown
@if(request()->anyFilled(['start_date', 'end_date', 'vehicle_id', 'operator_id', 'shift', 'status', 'search'])) @endif
@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
Terdapat kesalahan pada isian form: {{ $errors->first() }}
@endif
@forelse($timesheets as $idx => $ts) @empty @endforelse
NO NO TIMESHEET TANGGAL & SHIFT KODE & TIPE UNIT OPERATOR METERAN (HM/KM) JAM KERJA LOKASI & AKTIVITAS SOLAR STATUS AKSI
{{ $timesheets->firstItem() + $idx }} {{ $ts->timesheet_no }}
{{ $ts->date ? $ts->date->translatedFormat('d M Y') : '-' }}
{{ $ts->shift }}
{{ $ts->vehicle?->code ?: '-' }}
{{ $ts->vehicle?->brand_type ?: '-' }}
{{ $ts->operator?->name ?: '-' }}
NIK: {{ $ts->operator?->nik ?: '-' }}
Awal: {{ number_format($ts->start_meter, 1, ',', '.') }}
Akhir: {{ number_format($ts->end_meter, 1, ',', '.') }}
{{ number_format($ts->operating_hours, 1, ',', '.') }} {{ $ts->meter_type }} @if($ts->standby_hours > 0 || $ts->breakdown_hours > 0)
@if($ts->standby_hours > 0) STB: {{ number_format($ts->standby_hours, 1) }}h @endif @if($ts->breakdown_hours > 0) BD: {{ number_format($ts->breakdown_hours, 1) }}h @endif
@endif
{{ $ts->location }}
{{ $ts->activity_type }}
@if($ts->task_description)

"{{ $ts->task_description }}"

@endif
@if($ts->fuel_liters) {{ number_format($ts->fuel_liters, 0, ',', '.') }} L @else - @endif @if($ts->status === 'Operation') Operation @elseif($ts->status === 'Standby') Standby @elseif($ts->status === 'Breakdown') Breakdown @else {{ $ts->status }} @endif
@can('qma.logs.edit_odometer') @endcan

Belum ada data timesheet unit support

Gunakan tombol "Catat Timesheet" di atas untuk menambahkan laporan harian.

@if(request()->anyFilled(['start_date', 'end_date', 'vehicle_id', 'shift', 'search'])) @endif
@if($timesheets->hasPages())
Menampilkan data {{ $timesheets->firstItem() }} sampai {{ $timesheets->lastItem() }} dari total {{ $timesheets->total() }} timesheet
{{ $timesheets->links() }}
@endif
@foreach($locationSuggestions as $loc) @endsection @section('scripts') @endsection