@extends('layouts.admin') @section('content')
@include('admin.partials.pro-hero', [ 'icon' => 'fas fa-robot', 'title' => __('Chatbot Packages'), 'subtitle' => __('Manage chatbot subscription packages'), 'breadcrumbs' => [ ['label' => __('Dashboard'), 'url' => route('admin.dashboard')], ['label' => __('Chatbot Packages'), 'url' => null], ], 'action' => [ 'type' => 'link', 'url' => route('admin.chatbot.packages.create'), 'label' => __('Add New Package'), 'icon' => 'fas fa-plus', ], ]) @include('includes.admin.form-error') @include('includes.admin.form-success')

{{ __('Manage Chatbot Packages') }}

@forelse($packages as $package) @empty @endforelse
{{ __('Package Name') }} {{ __('Price') }} {{ __('Duration') }} {{ __('Page Limit') }} {{ __('Message Limit') }} {{ __('Features') }} {{ __('Status') }} {{ __('Options') }}
{{ $package->name }} @if($package->is_popular) Popular @endif
@if($package->name_bn) {{ $package->name_bn }} @endif
৳{{ number_format($package->price, 0) }} @if((int) $package->duration_days === 365) ১ বছর @elseif((int) $package->duration_days === 30) ১ মাস @else {{ $package->duration_days }} days @endif {{ $package->page_limit }} pages {{ number_format($package->message_limit) }}/month
@if($package->product_carousel)Carousel@endif @if($package->analytics)Analytics@endif @if($package->broadcast)Broadcast@endif
@if($package->status) Active @else Inactive @endif
{{ __('No packages found. Create your first chatbot package!') }}
@endsection @section('scripts') @endsection