Skip to content

Commit

Permalink
Feedback wouter: contact & notes toevoegen aan project month modal
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHub committed Dec 27, 2024
1 parent e976d35 commit e83e9ba
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion frontend/src/components/project/controls/ProjectMonthModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {singleProjectMonthResolve} from '../../hooks/useProjects';
import './ProjectMonthModal.scss';
import { useDispatch } from 'react-redux';
import { saveProject } from '../../../actions';
import { Icon } from '../../controls/Icon';


type ProjectMonthModalProps = {
Expand Down Expand Up @@ -91,7 +92,17 @@ export const ProjectMonthModal = ({onClose, projectMonth}: ProjectMonthModalProp
{fullProjectMonth.endCustomer &&
<div>
<hr/>
<h5>{fullProjectMonth.endCustomer.name}</h5>
<h5>{t('project.endCustomer.clientId')}: {fullProjectMonth.endCustomer.name}</h5>

{fullProjectMonth.project.endCustomer?.contact &&
<div>
<Icon fa="fa fa-user" size={1} style={{ marginRight: '5px'}}/>
<span>{fullProjectMonth.project.endCustomer?.contact}</span>
</div>
}
{fullProjectMonth.project.endCustomer?.notes &&
<span><b>{t('project.endCustomer.notes')}</b>: {fullProjectMonth.project.endCustomer?.notes}</span>
}
</div>
}

Expand Down

0 comments on commit e83e9ba

Please sign in to comment.