@extends('layouts.teknisi') @section('title', 'Laporan Produksi - Teknisi') @section('content')

Laporan Produksi

Ringkasan lengkap biaya dan status produksi yang ditugaskan kepada Anda @if(request('start_date') || request('end_date')) | Periode: {{ request('start_date') ? \Carbon\Carbon::parse(request('start_date'))->format('d M Y') : 'Awal' }} - {{ request('end_date') ? \Carbon\Carbon::parse(request('end_date'))->format('d M Y') : 'Akhir' }} @endif

Total Produksi

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

Biaya Bahan

Rp {{ number_format($totalMaterialCost, 0, ',', '.') }}

Biaya Sparepart

Rp {{ number_format($totalSparepartCost, 0, ',', '.') }}

Labor Cost

Rp {{ number_format($totalLaborCost, 0, ',', '.') }}

Total Biaya

Rp {{ number_format($totalProductionCost, 0, ',', '.') }}

@if (request()->hasAny(['start_date', 'end_date', 'status'])) @endif
@if (request()->hasAny(['start_date', 'end_date', 'status']))
Filter Aktif: @if (request('start_date') || request('end_date')) Periode: {{ request('start_date') ? date('d M Y', strtotime(request('start_date'))) : 'Awal' }} - {{ request('end_date') ? date('d M Y', strtotime(request('end_date'))) : 'Akhir' }} @endif @if (request('status')) Status: {{ ucfirst(str_replace('_', ' ', request('status'))) }} @endif
@endif

Data Produksi

Menampilkan {{ $productions->firstItem() ?? 0 }} - {{ $productions->lastItem() ?? 0 }} dari {{ $productions->total() }} produksi
@forelse($productions as $prd) @php $total = ($prd->total_material_cost ?? 0) + ($prd->total_sparepart_cost ?? 0) + ($prd->labor_cost ?? 0); @endphp @empty @endforelse
ID Order & Customer Produk Biaya Bahan Biaya Sparepart Upah Labor Total Biaya Status Tanggal Aksi
#{{ $prd->id }} #{{ $prd->order->id ?? '-' }}
{{ $prd->order->customer_name ?? '-' }}
{{ $prd->product->product_title ?? '-' }} Rp {{ number_format($prd->total_material_cost ?? 0,0,',','.') }} Rp {{ number_format($prd->total_sparepart_cost ?? 0,0,',','.') }} Rp {{ number_format($prd->labor_cost ?? 0,0,',','.') }} Rp {{ number_format($total,0,',','.') }} {{ ucfirst(str_replace('_', ' ', $prd->status)) }} {{ $prd->created_at?->format('d/m/Y') }}
{{ $prd->created_at?->format('H:i') }}
Detail

Tidak ada data produksi

Belum ada data produksi yang ditemukan.

@if ($productions->hasPages())
{{ $productions->appends(request()->query())->links() }}
@endif
@push('scripts') @endpush @push('styles') @endpush @endsection