Skip to content

Commit

Permalink
Merge pull request #308 from itenium-be/issue-299-eindklant-part3
Browse files Browse the repository at this point in the history
Issue 299 eindklant contact en notities in project month modal.
  • Loading branch information
Laoujin authored Dec 27, 2024
2 parents a9dab8e + b324dd8 commit e7c0455
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 e7c0455

Please sign in to comment.