Replace BPS Excel stub with multi-client calendar template.
Official download now generates a blank workbook with catalog autofill, notas_internas ignored on import, and the same template for every tenant. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -56,23 +56,26 @@ export default function CalendarUpload({
|
||||
Subir calendario (CSV, Excel o JSON)
|
||||
</h3>
|
||||
<p className="text-xs text-gray-500 mt-1">
|
||||
Plantilla oficial: Excel por mes con filas SEMANA / Story / POST
|
||||
(como Brava Octubre). También CSV con columnas fecha + título. Si
|
||||
el mes ya existía, se reemplaza.
|
||||
Plantilla oficial multi-cliente: escribe{' '}
|
||||
<strong>fecha + nombre_publicacion</strong> y se rellenan
|
||||
plataforma, formato, pilar, hora y CTA. Usa{' '}
|
||||
<strong>notas_internas</strong> para WhatsApp / PENDIENTE (nunca van
|
||||
al caption). Misma plantilla para todos los clientes
|
||||
{tenantLabel ? ` · ahora: ${tenantLabel}` : ''}.
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex flex-wrap items-center gap-2">
|
||||
<a
|
||||
href="/plantillas/calendario-rrss-oficial.xlsx"
|
||||
href="/api/calendar/template?format=xlsx"
|
||||
className="rounded-xl border border-gray-200 bg-white px-3 py-2 text-xs font-semibold text-gray-700 hover:border-brand-300"
|
||||
>
|
||||
Plantilla Excel (oficial)
|
||||
</a>
|
||||
<a
|
||||
href="/api/calendar/upload"
|
||||
href="/api/calendar/template?format=csv"
|
||||
className="rounded-xl border border-gray-200 bg-white px-3 py-2 text-xs font-semibold text-gray-500 hover:border-brand-300"
|
||||
>
|
||||
CSV alternativo
|
||||
CSV / Google Sheets
|
||||
</a>
|
||||
<button
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user