feat(opportunities): Festpreis, Klick daneben, Kontakt von hier
Drei Dinge, die im Alltag gefehlt haben: - Projektdaten kennen jetzt einen Projektpreis. Ist er gesetzt, gilt er als Volumen statt Tagessatz x Laufzeit - Festpreisprojekte mussten bisher ausgerechnet und in den Tagessatz gefaelscht werden. - Dialoge schliessen auch per Klick in den Hintergrund, nicht nur ueber das X. Escape trifft dabei nur den obersten Dialog; eine Textmarkierung, die im Dialog beginnt und daneben endet, schliesst nichts. - Fehlt ein Ansprechpartner noch im CRM, oeffnet "Neuer Kontakt..." in der Opportunity denselben Dialog wie unter Kontakte. Der frische Kontakt haengt danach sofort als Ansprechpartner dran, ohne die Opportunity zu verlassen. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
30164e0ae7
commit
025390e18a
@@ -108,7 +108,12 @@ export const OpportunityGrid: React.FC<OpportunityGridProps> = ({
|
||||
{/* Projektdaten */}
|
||||
<div className="grid grid-cols-2 gap-3 border-t border-ink-100 pt-3">
|
||||
<Metric label="Volumen" value={formatEuro(opportunityVolume(opportunity))} />
|
||||
<Metric label="Tagessatz" value={formatEuro(opportunity.daily_rate)} />
|
||||
{/* Festpreisprojekte haben keinen Tagessatz - dann zaehlt der Preis. */}
|
||||
{opportunity.fixed_price !== null ? (
|
||||
<Metric label="Projektpreis" value={formatEuro(opportunity.fixed_price)} />
|
||||
) : (
|
||||
<Metric label="Tagessatz" value={formatEuro(opportunity.daily_rate)} />
|
||||
)}
|
||||
<Metric label="Laufzeit" value={formatDays(opportunity.duration_days)} />
|
||||
<Metric
|
||||
label="Zeitraum"
|
||||
|
||||
Reference in New Issue
Block a user