@@ -132,7 +132,13 @@ export default function EconomiaTab({ item }: EconomiaTabProps) {
132132 < div className = "text-[11px] text-stone-400" > IVA { fmtPct ( vatPct ) } incluido</ div >
133133 </ div >
134134 < div className = "bg-stone-50 rounded-lg px-4 py-3" >
135- < div className = "text-[10px] font-medium text-stone-400 tracking-widest uppercase mb-1" > Coste de producto</ div >
135+ { /* "Food cost" se queda EN INGLÉS a propósito (decisión de Julio,
136+ auditoría externa): es el término estándar del sector en toda
137+ la hostelería española, igual que "escandallo" o "mise en
138+ place" -- traducirlo suena más pulcro pero resta credibilidad
139+ profesional. Distinto de "Plate cost"/"Packaging", que sí eran
140+ spanglish descuidado y se tradujeron. No lo "arregles" de vuelta. */ }
141+ < div className = "text-[10px] font-medium text-stone-400 tracking-widest uppercase mb-1" > Food cost</ div >
136142 < div className = { `font-mono text-lg font-medium ${ hasCost ? 'text-[#BA7517]' : 'text-stone-300' } ` } > { hasCost ? fmtEur ( recipeCost ) : '—' } </ div >
137143 < div className = "text-[11px] text-stone-400" > { hasCost ? `${ fmtPct ( foodCostPct , 2 ) } del PVP` : 'Pendiente de escandallo' } </ div >
138144 </ div >
@@ -177,11 +183,11 @@ export default function EconomiaTab({ item }: EconomiaTabProps) {
177183 < div className = "flex items-center gap-2.5" > { badge } </ div >
178184 < div className = "text-right" >
179185 < span className = { `font-mono text-xl font-medium ${ margin >= 0 ? 'text-success' : 'text-danger' } ` } > { fmtEur ( margin ) } </ span >
180- < div className = "text-[12px] text-stone-400" > { fmtPct ( marginPct , 2 ) } del PVP{ ! e . costAvailable ? ' · sin coste de producto ' : '' } </ div >
186+ < div className = "text-[12px] text-stone-400" > { fmtPct ( marginPct , 2 ) } del PVP{ ! e . costAvailable ? ' · sin food cost ' : '' } </ div >
181187 </ div >
182188 </ div >
183189 < div className = "flex flex-wrap gap-x-4 gap-y-1 mb-2 text-[12px] text-stone-500" >
184- { e . costAvailable && < span className = "flex items-center gap-1.5" > < span className = "w-2 h-2 rounded-sm bg-[#A68B6B]" /> Coste de producto { fmtEur ( e . cost ) } </ span > }
190+ { e . costAvailable && < span className = "flex items-center gap-1.5" > < span className = "w-2 h-2 rounded-sm bg-[#A68B6B]" /> Food cost { fmtEur ( e . cost ) } </ span > }
185191 { e . commissionPct != null && < span className = "flex items-center gap-1.5" > < span className = "w-2 h-2 rounded-sm bg-[#4A6A8A]" /> Comisión { fmtPct ( e . commissionPct ) } ({ fmtEur ( commAmt ) } )</ span > }
186192 { hasOrderCosts && (
187193 < span className = "flex items-center gap-1.5 cursor-help"
@@ -215,8 +221,8 @@ export default function EconomiaTab({ item }: EconomiaTabProps) {
215221 prop, así que no hay ventana de desincronización). */ }
216222 < p className = "text-[12px] text-stone-500 mt-4 pt-3 border-t border-stone-200" >
217223 { item . targetFoodCostPct != null
218- ? `Objetivo de coste : ${ fmtPct ( item . targetFoodCostPct ) } · ${ foodCostPct != null ? ( foodCostPct <= item . targetFoodCostPct ? 'Dentro del objetivo' : 'Fuera del objetivo' ) : 'sin coste de producto para comparar' } `
219- : 'Sin objetivo de coste configurado.' }
224+ ? `Objetivo de food cost : ${ fmtPct ( item . targetFoodCostPct ) } · ${ foodCostPct != null ? ( foodCostPct <= item . targetFoodCostPct ? 'Dentro del objetivo' : 'Fuera del objetivo' ) : 'sin food cost para comparar' } `
225+ : 'Sin objetivo de food cost configurado.' }
220226 </ p >
221227 </ div >
222228 )
0 commit comments