Fix NotifyPayment().

This commit is contained in:
Yang Luo
2022-03-13 19:57:23 +08:00
parent 55a84644e1
commit fde8c4b5f6
5 changed files with 50 additions and 25 deletions

View File

@ -160,6 +160,16 @@ class PaymentEditPage extends React.Component {
}} />
</Col>
</Row>
<Row style={{marginTop: '20px'}} >
<Col style={{marginTop: '5px'}} span={(Setting.isMobile()) ? 22 : 2}>
{Setting.getLabel(i18next.t("payment:Message"), i18next.t("payment:Message - Tooltip"))} :
</Col>
<Col span={22} >
<Input value={this.state.payment.message} onChange={e => {
// this.updatePaymentField('message', e.target.value);
}} />
</Col>
</Row>
</Card>
)
}

View File

@ -36,9 +36,14 @@ class PaymentListPage extends BaseListPage {
user: "admin",
productId: "computer-1",
productName: "A notebook computer",
price: 300.00,
detail: "This is a computer with excellent CPU, memory and disk",
tag: "Promotion-1",
currency: "USD",
price: 300.00,
payUrl: "https://pay.com/pay.php",
returnUrl: "https://door.casdoor.com/payments",
state: "Paid",
message: "",
}
}