complete new audit system
This commit is contained in:
@@ -36,6 +36,7 @@ import {
|
||||
ExternalLink,
|
||||
CheckCircle2,
|
||||
} from 'lucide-react';
|
||||
import { formatDate } from '../../utils/dateFormat';
|
||||
import type { CockpitContract, CockpitUrgencyLevel, ContractType } from '../../types';
|
||||
|
||||
const typeIcons: Record<ContractType, typeof Zap> = {
|
||||
@@ -570,7 +571,7 @@ export default function ContractCockpit() {
|
||||
</Badge>
|
||||
)}
|
||||
<p className="text-xs text-gray-500 mt-1">
|
||||
{new Date(alert.expiryDate).toLocaleDateString('de-DE')}
|
||||
{formatDate(alert.expiryDate)}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -623,7 +624,7 @@ export default function ContractCockpit() {
|
||||
</div>
|
||||
<p className="text-xs text-gray-600">
|
||||
Zähler {reading.meter.meterNumber} – <strong>{reading.value} {reading.unit}</strong> am{' '}
|
||||
{new Date(reading.readingDate).toLocaleDateString('de-DE')}
|
||||
{formatDate(reading.readingDate)}
|
||||
{reading.notes && ` – ${reading.notes}`}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user