Commission & earnings tracker
Work out commission on every deal
Every deal shows exactly what you should be paid.
What to do
- 1Paste the prompt and log a deal for each company.
- 2Check the commission matches the terms by hand.
- 3Mark a deal as refunded and see the clawback.
Copy into Base44
About me: Jordan Ellis, a remote appointment setter selling high-ticket coaching offers. Currency: GBP. My timezone: Europe/London. Brand colour: #0F5C45. Contact: jordan@example.com. Create a CommissionEntry entity with: company, date, prospect (first name or initials), cash_collected_minor, calls_booked (for Per call booked), commission_minor, status (Pending, Approved, Paid, Clawed back) and notes. Work out commission_minor automatically from the company's terms when I save: Percentage = cash collected × rate (rounded to the nearest minor unit); Fixed amount per deal = the fixed amount; Per call booked = calls_booked × amount. Show the calculation under the amount, e.g. "£3,000 × 10% = £300". If an entry is marked Clawed back, its commission counts as minus that amount in totals. Build a Deals page with a table, filters by company, month and status, and totals at the bottom. Keep every existing feature working. Build only this step. Show clear loading, empty, error and success states. If anything needs manual setup in the Base44 dashboard, tell me exactly what to do — don't pretend an integration is connected. Never put API keys or secrets in frontend code. When you're done, tell me exactly how to test this change.
Personalised for Jordan Ellis
What you should see
Each deal shows its commission and how it was worked out.
Check it works
Try each of these in your app, then tick it off.
In plain English
Clawback: Commission taken back because the customer refunded or cancelled. Most offers have a refund window, so track it.
Previous
Tick all 4 checks to mark this lesson done. Skip for now