@extends('layout.app') @section('content')
@if(session('success'))
{{ session('success') }}
@endif
@forelse($templates as $key => $template) @empty @endforelse
# Tên mẫu tin Sự kiện Template ID Tham số (param → nguồn dữ liệu) Trạng thái Thao tác
{{ $key + 1 }} {{ $template->name }} @if($template->note)
{{ $template->note }}
@endif
{{ $template->event_label }} {{ $template->template_id }} @forelse($template->params as $param)
{{ $param->param }} @if($param->source) → {{ $param->source }} @else → (để trống) @endif @if($param->max_length) · tối đa {{ $param->max_length }} ký tự @endif @if($param->is_required) * @endif
@empty Chưa định nghĩa tham số @endforelse
status == \App\Constants\StatusCode::ON ? 'checked' : '' }}>
Chưa có mẫu tin ZNS nào
@endsection @section('_script') @endsection