Skip to content

Commit 990b0cd

Browse files
committed
fix: issue #4300
1 parent 1a416c1 commit 990b0cd

File tree

1 file changed

+2
-1
lines changed
  • src/projects/detail/components/BillingAccountField

1 file changed

+2
-1
lines changed

src/projects/detail/components/BillingAccountField/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from 'react'
2+
import moment from 'moment'
23
import {HOC as hoc} from 'formsy-react'
34

45
import Select from '../../../../components/Select/Select'
@@ -14,7 +15,7 @@ import styles from './styles.module.scss'
1415
* @returns {{ label: string, value: number }} option for Select
1516
*/
1617
const buildOption = (billingAccountObj) => ({
17-
label: `${billingAccountObj.name} (${billingAccountObj.tcBillingAccountId})`,
18+
label: `${billingAccountObj.name} (${billingAccountObj.tcBillingAccountId}) - ${moment(billingAccountObj.endDate).format('DD MMM YYYY')}`,
1819
value: billingAccountObj.tcBillingAccountId
1920
})
2021

0 commit comments

Comments
 (0)