@@ -6,7 +6,7 @@ import Notice from '../../components/Notice/Notice'
6
6
import { allowNull } from '../../resources/utilityFunctions'
7
7
import './document.scss'
8
8
9
- const Document = ( { document , addClass } ) => {
9
+ const Document = ( { acceptSOW , addClass, backgroundColor , document } ) => {
10
10
const {
11
11
adPO, date, documentStatusColor, documentType, documentTypeColor, documentStatus, identifier, lineItems, poNumber,
12
12
relatedSOWIdentifier, requestIdentifier, shippingPrice, shipTo, shipFrom, subtotalPrice, taxAmount, terms, totalPrice,
@@ -67,7 +67,7 @@ const Document = ({ document, addClass }) => {
67
67
< Notice
68
68
addClass = 'my-3'
69
69
alert = { {
70
- body : [ alertBody ] ,
70
+ body : [ `SOW ${ identifier } has been accepted successfully. Now awaiting purchase order.` ] ,
71
71
variant : 'success' ,
72
72
onClose : ( ) => setShowNotice ( false ) ,
73
73
} }
@@ -118,7 +118,6 @@ const Document = ({ document, addClass }) => {
118
118
119
119
Document . propTypes = {
120
120
addClass : PropTypes . string ,
121
- alertBody : PropTypes . string ,
122
121
backgroundColor : PropTypes . string ,
123
122
acceptSOW : PropTypes . func . isRequired ,
124
123
document : PropTypes . shape ( {
0 commit comments