We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a416c1 commit 990b0cdCopy full SHA for 990b0cd
src/projects/detail/components/BillingAccountField/index.js
@@ -1,4 +1,5 @@
1
import React from 'react'
2
+import moment from 'moment'
3
import {HOC as hoc} from 'formsy-react'
4
5
import Select from '../../../../components/Select/Select'
@@ -14,7 +15,7 @@ import styles from './styles.module.scss'
14
15
* @returns {{ label: string, value: number }} option for Select
16
*/
17
const buildOption = (billingAccountObj) => ({
- label: `${billingAccountObj.name} (${billingAccountObj.tcBillingAccountId})`,
18
+ label: `${billingAccountObj.name} (${billingAccountObj.tcBillingAccountId}) - ${moment(billingAccountObj.endDate).format('DD MMM YYYY')}`,
19
value: billingAccountObj.tcBillingAccountId
20
})
21
0 commit comments