@extends('layouts.app') @section('title', 'Edit Invoice BOM - Cost Furniture') @section('page-title', 'Edit Invoice BOM') @section('content')
1
Initial Form
2
Calculator
Step 2: Calculator Components
Product
{{ $invoice->product_name }}
Type
{{ $invoice->product_type }}
Code
{{ $invoice->product_code }}
Grand Total
Rp {{ number_format($invoice->grand_total, 0, ',', '.') }}
@php $components = [ ['index' => 0, 'name' => 'Top Panel', 'icon' => 'fa-layer-group', 'color' => '#3498db'], ['index' => 1, 'name' => 'Side Panel L', 'icon' => 'fa-layer-group', 'color' => '#9b59b6'], ['index' => 2, 'name' => 'Side Panel R', 'icon' => 'fa-layer-group', 'color' => '#9b59b6'], ['index' => 3, 'name' => 'Bottom Panel', 'icon' => 'fa-layer-group', 'color' => '#e74c3c'], ['index' => 4, 'name' => 'Back Panel', 'icon' => 'fa-layer-group', 'color' => '#f39c12'], ['index' => 5, 'name' => 'Front Frame', 'icon' => 'fa-border-all', 'color' => '#1abc9c'], ['index' => 6, 'name' => 'Back Frame', 'icon' => 'fa-border-all', 'color' => '#16a085'], ['index' => 7, 'name' => 'Face Drawer', 'icon' => 'fa-box-open', 'color' => '#2ecc71'], ['index' => 8, 'name' => 'Front Drawer', 'icon' => 'fa-box', 'color' => '#27ae60'], ['index' => 9, 'name' => 'Side Drawer L', 'icon' => 'fa-box', 'color' => '#8e44ad'], ['index' => 10, 'name' => 'Side Drawer R', 'icon' => 'fa-box', 'color' => '#8e44ad'], ['index' => 11, 'name' => 'Back Drawer', 'icon' => 'fa-box', 'color' => '#c0392b'], ['index' => 12, 'name' => 'Base Drawer', 'icon' => 'fa-box', 'color' => '#d35400'], ['index' => 13, 'name' => 'Support Drawer', 'icon' => 'fa-tools', 'color' => '#7f8c8d'], ['index' => 14, 'name' => 'Cleat Drawer', 'icon' => 'fa-tools', 'color' => '#95a5a6'], ]; @endphp @foreach($components as $component)
{{ $component['name'] }}
Belum diisi
Rp 0
@endforeach

Batal
@endsection @push('styles') @endpush @push('scripts') @endpush