@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) @section('content') @include('layouts.navbars.auth.topnav', ['title' => ''])
{{-- Header Card --}}
Report Data User
Monitoring seluruh data order dan batch yang ditarik oleh user produksi
{{ date('d F Y, H:i') }}
{{-- Alert Info Note --}}
Catatan: Menu ini menampilkan data yang ditarik oleh seluruh user produksi (data testing msjit dikecualikan). Anda dapat memilih filter atau langsung klik Execute untuk menampilkan seluruh data.
{{-- Database Selection Form --}}
Filter Parameter
@csrf
{{-- Row 1: Gedung --}}
@if(!empty($is_msjit) || empty($user_gedung_id)) @else @endif
{{-- Row 2: No Order (Single Input) --}}
{{-- Row 3: Production Date Range --}}
s/d
{{-- Row 4: Material --}}
{{-- Row 5: Batch No --}}
{{-- Row 6: Resource (Work Center) --}}
{{-- Row 7: View Mode --}}

{{-- Action Buttons --}} @php $currentUser = auth()->user(); $userRoles = $currentUser ? (method_exists($currentUser, 'getRolesListAttribute') ? $currentUser->roles_list : array_map('trim', explode(',', $currentUser->idroles ?? ''))) : []; $isMsjIt = $currentUser ? ($currentUser->username === 'msjit' || (method_exists($currentUser, 'isMsjIt') && $currentUser->isMsjIt())) : false; $canExport = $isMsjIt || in_array('admins', $userRoles) || in_array('admbat', $userRoles); @endphp
@if($canExport) @endif
@endsection