Code format

This commit is contained in:
2025-07-08 13:18:04 +02:00
parent 1dc07159c1
commit 335bbc3bab
3 changed files with 37 additions and 40 deletions

View File

@@ -1,4 +1,4 @@
import { useState, useEffect } from 'react';
import { useState } from 'react';
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card';
import { Button } from '@/components/ui/button';
import { Textarea } from '@/components/ui/textarea';

View File

@@ -109,8 +109,7 @@ const JobCardMetrics: React.FC<JobCardMetricsProps> = ({ job }) => {
</span>
)}</div>
<div
className={`text-xs font-medium px-2 py-0.5 rounded-full inline-block ${
totalExpenditure <= job.projectedCost
className={`text-xs font-medium px-2 py-0.5 rounded-full inline-block ${totalExpenditure <= job.projectedCost
? 'bg-green-900/50 text-green-400'
: 'bg-red-900/50 text-red-400'
}`}
@@ -152,8 +151,7 @@ const JobCardMetrics: React.FC<JobCardMetricsProps> = ({ job }) => {
)}</div>
<div className="flex justify-center gap-2">
<div
className={`text-xs font-medium px-2 py-0.5 rounded-full inline-block ${
totalIncome >= job.projectedRevenue
className={`text-xs font-medium px-2 py-0.5 rounded-full inline-block ${totalIncome >= job.projectedRevenue
? 'bg-green-900/50 text-green-400'
: 'bg-yellow-900/50 text-yellow-400'
}`}
@@ -163,8 +161,7 @@ const JobCardMetrics: React.FC<JobCardMetricsProps> = ({ job }) => {
</div>
{showPerformanceIndicator && (
<div
className={`text-xs font-medium px-2 py-0.5 rounded-full inline-block ${
performancePercentage >= 100
className={`text-xs font-medium px-2 py-0.5 rounded-full inline-block ${performancePercentage >= 100
? 'bg-green-900/50 text-green-400'
: performancePercentage >= 90
? 'bg-yellow-900/50 text-yellow-400'