Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eindklant toevoegen #299

Open
Laoujin opened this issue Jul 31, 2024 · 3 comments
Open

Eindklant toevoegen #299

Laoujin opened this issue Jul 31, 2024 · 3 comments

Comments

@Laoujin
Copy link
Member

Laoujin commented Jul 31, 2024

Bij New/Edit Project, een extra switch toevoegen (default: false)

structure:

client: {
  ...,
  endCustomer: {
     active: true/false --> switch
     clientId: string --> client id
     contact: string --> person
     notes: string
  }
}

--> Check of je het kan doen zonder de true/false zelf bij te houden op project niveau --> misschien kan je zowel de switch als de id bijhouden in hetzelfde

image

Bij aanvinken:

image

Bij uitvinken:
Delete alles van de endCustomer opnieuw (clientId, contact & notes resetten)

@Laoujin
Copy link
Member Author

Laoujin commented Jul 31, 2024

In the project list: add a new column before client
Show a font-awesome icon when endCustomer.active is true
For example: fa fa-shopping-bag

When the user hovers over the icon, he sees a tooltip (or popover) with details of the client:

"Client name
project.endCustomer.contact

project.endCustomer.notes"

When he click on the icon (mouse should be a cursor: pointer) a modal opens
--> show default ClientModal for the endclient

Example:
image

@Laoujin
Copy link
Member Author

Laoujin commented Jul 31, 2024

Maandelijkse facturatie:

image

Klikken in de timesheet cell opens a modal:

image

Wanneer er een eindklant is, toon hier dan ook de naam van de eindklant

@Laoujin
Copy link
Member Author

Laoujin commented Dec 2, 2024

There is already a partial implementation here:
https://github.com/Brauwer/confac/tree/feature/issue-299-eindklant-toevoegen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant