@extends('layouts.app') @section('content') @php $totalQuestions = $questions->count(); $activeQuestions = $questions->where('status', 1)->count(); $inactiveQuestions = $totalQuestions - $activeQuestions; $withActions = $questions->filter(function ($question) { return !empty($question->action_text) && !empty($question->action_url); })->count(); @endphp
Manage quick replies, answers, action buttons, and display order for your portfolio chatbot.
| Order | Question & Answer | Action | Status | Updated | Management |
|---|---|---|---|---|---|
| {{ $question->sort_order }} |
{{ $question->question }}
{{ \Illuminate\Support\Str::limit($question->answer, 115) }} |
@if($question->action_text && $question->action_url) {{ $question->action_text }} @else No action @endif | {{ $isActive ? 'Active' : 'Inactive' }} | {{ $question->updated_at ? $question->updated_at->format('d M, Y') : 'Not updated yet' }} {{ $question->updated_at ? $question->updated_at->diffForHumans() : 'Fresh draft' }} | |
No Chatbot Questions YetCreate your first quick reply to help visitors find the right portfolio details faster. Create First Question |
|||||