fix(admin): add twitterUrl/pinterestUrl to StoreSettings interface for settings page type safety

This commit is contained in:
chattie
2026-08-24 22:17:01 +02:00
parent 71165911ab
commit 9daed56819
2 changed files with 3 additions and 1 deletions

View File

@@ -371,6 +371,8 @@ export interface StoreSettings {
footerText: string;
facebookUrl: string;
instagramUrl: string;
twitterUrl: string;
pinterestUrl: string;
aiProvider: string;
aiBaseUrl: string;
aiModel: string;

View File

@@ -67,7 +67,7 @@ export default function ReceiptModal({
{/* Timestamp */}
<div className="flex justify-between items-center mb-2 text-xs text-gray-500">
<span>Ticket #{receipt.receiptNumber}</span>
<span>{new Date(receipt.createdAt).toLocaleString('es-ES', { dateStyle: 'short', timeStyle: 'short' })}</span>
<span>{new Date(receipt.issuedAt).toLocaleString('es-ES', { dateStyle: 'short', timeStyle: 'short' })}</span>
</div>
{/* Logo */}
<div className="mb-3 flex justify-center">