@extends('layouts.app') @php $isHistoryRoute = request()->routeIs('qma.activity.support_timesheet'); @endphp @section('title', ($isHistoryRoute ? 'History Timesheet Unit Support' : 'Timesheet Unit Support') . ' - Admin QMA | PT Kerinci Merangin Hidro') @section('content')
@if($isHistoryRoute) Riwayat log operasional, utilisasi shift, pencatatan jam kerja mesin (HM/KM), serta konsumsi solar alat berat. @else Pencatatan jam kerja (HM/KM), penugasan operator, utilisasi shift, serta pemakaian solar alat berat. @endif
Total Timesheet
Total Jam Operasi
Unit Beroperasi
Kendala Breakdown
| NO | NO TIMESHEET | TANGGAL & SHIFT | KODE & TIPE UNIT | OPERATOR | ODOMETER AWAL | LOKASI & AKTIVITAS | STATUS | AKSI | ||
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $timesheets->firstItem() + $idx }} | {{ $ts->timesheet_no }} |
{{ $ts->date ? $ts->date->translatedFormat('d M Y') : '-' }}
{{ $ts->shift }}
@if($ts->start_time)
• {{ \Carbon\Carbon::parse($ts->start_time)->format('H:i') }}
@endif
|
{{ $ts->vehicle?->code ?: '-' }}
{{ $ts->vehicle?->brand_type ?: '-' }}
|
{{ $ts->operator?->name ?: '-' }}
NIK: {{ $ts->operator?->nik ?: '-' }}
|
{{ number_format($ts->start_meter, 1, ',', '.') }} {{ $ts->meter_type }} |
{{ $ts->location }}
{{ $ts->activity_type }}
@if($ts->task_description)
"{{ $ts->task_description }}" @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')
@if(!$isHistoryRoute)
@else
@endif
@endcan
|
||
|
Belum ada data timesheet unit support @if(!$isHistoryRoute)Gunakan tombol "Catat Timesheet" di atas untuk menambahkan laporan harian. @elseTidak ditemukan catatan timesheet yang sesuai dengan kriteria filter saat ini. @endif @if(request()->anyFilled(['start_date', 'end_date', 'vehicle_id', 'shift', 'search'])) @endif |
||||||||||