diff --git a/src/components/MoneyRequestConfirmationList.js b/src/components/MoneyRequestConfirmationList.js index d6fd80057c25..2b9036d25881 100755 --- a/src/components/MoneyRequestConfirmationList.js +++ b/src/components/MoneyRequestConfirmationList.js @@ -80,6 +80,12 @@ const propTypes = { /** IOU Tag */ iouTag: PropTypes.string, + /** IOU isBillable */ + iouIsBillable: PropTypes.bool, + + /** Callback to toggle the billable state */ + onToggleBillable: PropTypes.func, + /** Selected participants from MoneyRequestModal with login / accountID */ selectedParticipants: PropTypes.arrayOf(optionPropTypes).isRequired, @@ -165,6 +171,8 @@ const defaultProps = { iouType: CONST.IOU.MONEY_REQUEST_TYPE.REQUEST, iouCategory: '', iouTag: '', + iouIsBillable: false, + onToggleBillable: () => {}, payeePersonalDetails: null, canModifyParticipants: false, isReadOnly: false, diff --git a/src/pages/iou/propTypes/index.js b/src/pages/iou/propTypes/index.js index 586f8424a2c2..d41b4cbf1724 100644 --- a/src/pages/iou/propTypes/index.js +++ b/src/pages/iou/propTypes/index.js @@ -21,6 +21,9 @@ const iouPropTypes = PropTypes.shape({ /** The category name */ category: PropTypes.string, + /** Whether the request is billable */ + billable: PropTypes.bool, + /** The tag */ tag: PropTypes.string, @@ -42,6 +45,7 @@ const iouDefaultProps = { merchant: '', category: '', tag: '', + billable: false, created: '', participants: [], receiptPath: '',