@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) @section('content') @include('layouts.navbars.auth.topnav', ['title' => 'Detail Master COA Template'])
Informasi Template
Detail konfigurasi template COA
COA Type {{ $template->coa_type_name ?? '-' }}
Layout @if ($template->column_type == 2) 2 Kolom / Reguler @elseif ($template->column_type == 3) 3 Kolom / Multiple @elseif ($template->column_type == 4) 4 Kolom / DWA @else Unknown @endif
Status @if ($template->is_active) Active @else Inactive @endif
Judul Dokumen
Title {{ $template->title ?? '-' }}
Subtitle @if ($template->subtitle_hidden) Disembunyikan @else {{ $template->subtitle ?? '-' }} @endif
Spec Header {{ $template->spec_header ?? '-' }}
Result Header {{ $template->result_header ?? '-' }}
Options
Standard Test Method Note Merge Result
Pengaturan Baris Format COA
Format Custom @if ($template->use_custom_format)
DO Number @if (isset($custom_formats['DO_Number']) && $custom_formats['DO_Number']) @else @endif
Roll No / Lot Product @if (isset($custom_formats['Roll_no']) && $custom_formats['Roll_no']) @else @endif
Product Item @if (isset($custom_formats['Product_Item']) && $custom_formats['Product_Item']) @else @endif
ER/Pattern / Color @if (isset($custom_formats['ER_Pattern_Color']) && $custom_formats['ER_Pattern_Color']) @else @endif
Raw Material @if (isset($custom_formats['Raw_Material']) && $custom_formats['Raw_Material']) @else @endif
@else
Menggunakan default semua baris format COA.
@endif
Pengaturan Khusus

Customer Override:
{{ $template->customer_name_override ?? '-' }}

Static Rows:

@php $staticRows = []; if (!empty($template->static_rows)) { $staticRows = json_decode($template->static_rows, true) ?: []; } @endphp @if (!empty($staticRows))
@foreach ($staticRows as $row) @endforeach
Label Value
{{ $row[0] ?? '-' }} {{ $row[1] ?? '-' }}
@else Tidak ada static rows @endif
Edit
Preview
Preview kerangka template COA
@endsection @push('js') @endpush