@extends('layouts.app') @section('title', 'Data Components') @section('sidebar') @endsection @section('content')

Data Components

Kelola data komponen lain (Cleat, Support Drawer, dll)

+ Tambah Component
@if(session('success'))
{{ session('success') }}
@endif
@forelse($components as $component)
@if($component->is_active) Aktif @else Nonaktif @endif
🔧

{{ $component->name }}

Material: {{ $component->material }}

Harga per {{ $component->unit }}

Rp {{ number_format($component->price_per_unit, 0, ',', '.') }}

@if($component->description)

{{ Str::limit($component->description, 60) }}

@endif
Edit
@csrf @method('DELETE')
@empty
🔧

Belum ada data component

Tambah component pertama
@endforelse
{{ $components->links() }}
@endsection