File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,12 @@ const propTypes = {
80
80
/** IOU Tag */
81
81
iouTag : PropTypes . string ,
82
82
83
+ /** IOU isBillable */
84
+ iouIsBillable : PropTypes . bool ,
85
+
86
+ /** Callback to toggle the billable state */
87
+ onToggleBillable : PropTypes . func ,
88
+
83
89
/** Selected participants from MoneyRequestModal with login / accountID */
84
90
selectedParticipants : PropTypes . arrayOf ( optionPropTypes ) . isRequired ,
85
91
@@ -165,6 +171,8 @@ const defaultProps = {
165
171
iouType : CONST . IOU . MONEY_REQUEST_TYPE . REQUEST ,
166
172
iouCategory : '' ,
167
173
iouTag : '' ,
174
+ iouIsBillable : false ,
175
+ onToggleBillable : ( ) => { } ,
168
176
payeePersonalDetails : null ,
169
177
canModifyParticipants : false ,
170
178
isReadOnly : false ,
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ const iouPropTypes = PropTypes.shape({
21
21
/** The category name */
22
22
category : PropTypes . string ,
23
23
24
+ /** Whether the request is billable */
25
+ billable : PropTypes . bool ,
26
+
24
27
/** The tag */
25
28
tag : PropTypes . string ,
26
29
@@ -42,6 +45,7 @@ const iouDefaultProps = {
42
45
merchant : '' ,
43
46
category : '' ,
44
47
tag : '' ,
48
+ billable : false ,
45
49
created : '' ,
46
50
participants : [ ] ,
47
51
receiptPath : '' ,
You can’t perform that action at this time.
0 commit comments