Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/components/MoneyRequestConfirmationList.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down Expand Up @@ -162,6 +168,8 @@ const defaultProps = {
iouType: CONST.IOU.MONEY_REQUEST_TYPE.REQUEST,
iouCategory: '',
iouTag: '',
iouIsBillable: false,
onToggleBillable: () => {},
payeePersonalDetails: null,
canModifyParticipants: false,
isReadOnly: false,
Expand Down
4 changes: 4 additions & 0 deletions src/pages/iou/propTypes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand All @@ -42,6 +45,7 @@ const iouDefaultProps = {
merchant: '',
category: '',
tag: '',
billable: false,
created: '',
participants: [],
receiptPath: '',
Expand Down