# Version 1.5 Notes

## Fixes

- Fixed won revenue handling when a lead is marked as `won`.
- If a lead is marked `won` and the actual won revenue field is blank, the app now copies the estimated value into the actual won revenue field automatically.
- Dashboard summary now counts won revenue from leads marked `won` or `closed`, instead of treating every entered value as won revenue.
- Marking leads as `booked`, `won`, or `closed` automatically marks them as qualified.
- Marking leads as `lost`, `spam_test`, or `do_not_contact` automatically marks them as not qualified.

## Admin UI improvements

- Added a real appointment date/time picker using the browser's native calendar/time selector.
- Added a dedicated "Mark won" button.
- Updated labels to make "Won revenue / actual job value" clearer.
- Lead table now shows the appointment date/time when available.

## cPanel update

Upload/replace these files:

```text
public/admin.html
src/leadRepository.js
docs/VERSION_1_5_NOTES.md
README.md
```

Do not replace `data.json` unless you want to wipe/reset current demo leads and system settings.
