@extends('layouts.customer') @section('title', 'Email Text Generator') @section('page-title', 'Email Text Generator') @section('content') @php($customer = auth('customer')->user())
@csrf
Generate
Generated
@php($aiTokenLimit = (int) ($customer ? $customer->groupSetting('ai.token_limit', 0) : 0)) Usage: {{ $customer ? (int) ($customer->ai_token_usage ?? 0) : 0 }} / {{ $aiTokenLimit > 0 ? $aiTokenLimit : 'Unlimited' }}
Generated output will appear here.
@endsection