@extends('layouts.admin.master') @section('title')Settings {{ $title }} @endsection @push('css') @endpush @section('content')
@csrf
@if(base64_decode(request()->get('action'))=='edit')
@endif

@if(isset($data)) @foreach(json_decode($data->template) as $dt) @endforeach @endif
Type Template #
@php $templateList = getTemplate(); @endphp
{{$dt->type}} {{$dt->id}} {{$dt->name}}
@if(isset($data)) @foreach(json_decode($data->conditions) as $dt) @endforeach @endif
Criteria condition value Query #
{{$dt->module}} {{$dt->condition}} {{$dt->value}} {{$dt->query}}
@push('scripts') @if($data ?? '') @endif @endpush @endsection