# Listing Form Parity — Tenant Admin vs Vendor Portal

Status: NEXT BUILD — vendor portal form audited, tenant admin needs matching scope

> **CURRENT STATE — verified 2026-04-21: DONE.** Every field this doc lists as "NO" on the tenant admin form is now present:
>
> ```
> grep -oE 'name="[a-z_]+"' resources/views/tenant-admin/vendors/partials/listings-tab.blade.php | sort -u
> ```
>
> Returns: `body_content, category_id, contact_visible, cta_id, cta_url, file, location_id, media_type, meta_description, meta_title, rfq_enabled, seo_follow_enabled, status, subtitle, summary, title, video_url` — 17 form fields covering all 10 "NO" items plus Phase 4 radius/location work.
>
> Keep this doc as history. No further action on form parity.

## Vendor Portal Listing Edit Form (`resources/views/vendor/listings/edit.blade.php`)

The vendor's own listing edit form has these sections:

### 1. Business Info (read-only for vendor)
- Title, vendor name, category, status
- Admin should have these EDITABLE

### 2. Location & Contact (read-only for vendor)  
- Address, city/state, phone, website
- Admin should have location SELECTOR (vendor's locations dropdown)

### 3. Description
- Subtitle (text input)
- Summary (textarea, 500 chars, appears in search results)
- Body content (full description, longtext)

### 4. Paid Features (plan-gated for vendor)
- Video URL (YouTube/Vimeo/Dailymotion/AVideo)
- Admin should have this ALWAYS editable (bypasses plan gate)

### 5. CTA Button
- CTA destination URL
- CTA label selector (system labels + vendor-custom labels)
- Preview of selected label
- Admin should have this editable

### 6. Categories with Live Pricing
- Checkbox list of all available categories
- Live pricing preview (server-side calculation via /pricing/preview)
- Pricing breakdown table (base, applied %, line total)
- Tiered pricing rules display
- Admin may not need pricing (admin bypasses billing) but should see category assignments

### 7. Lead Settings (plan-gated for vendor)
- RFQ enabled checkbox
- Contact visible checkbox  
- SEO follow checkbox
- Admin should have these ALWAYS editable

### 8. SEO & Social (plan-gated for vendor)
- Meta title
- Meta description
- Meta keywords
- OG image upload
- Admin should have these ALWAYS editable

### 9. Custom CTA Label (separate form)
- Add vendor-specific button labels
- Admin should be able to add these

### 10. Category Suggestions (separate form)
- Suggest up to 3 missing categories
- Goes to platform review queue

## What the Tenant Admin Listing Form Currently Has

- Title
- Category selector
- Summary (textarea)
- Status (draft/published/suspended/archived)
- Feature toggles (is_featured, RFQ, contact visible) — plan-gated

## What's Missing on Tenant Admin

| Feature | Vendor Portal | Tenant Admin |
|---------|--------------|--------------|
| Subtitle | Yes | NO |
| Body content | Yes | NO |
| Video URL | Yes (plan-gated) | NO |
| CTA URL + label | Yes | NO |
| Location selector | Read-only | NO (needs dropdown) |
| SEO fields | Yes (plan-gated) | NO |
| OG image | Yes (plan-gated) | NO |
| Category assignments | Yes with pricing | NO (single category only) |
| seo_follow_enabled | Yes (plan-gated) | Partially (checkbox exists) |

## Implementation Priority

1. **Location selector** — dropdown of vendor's locations on each listing
2. **Body content** — full description textarea
3. **Subtitle** — text input
4. **Video URL** — always editable for admin
5. **CTA URL + label** — CTA fields
6. **SEO fields** — meta title, description, keywords
7. **Category assignments** — multi-category support (may not need pricing UI for admin)
