Browse Source

update hidden checkbox and text in online only

CR013B2
Alex Cheung 2 weeks ago
parent
commit
10ee4d9633
1 changed files with 23 additions and 15 deletions
  1. +23
    -15
      src/pages/Proof/Reply_Public/ProofForm.js

+ 23
- 15
src/pages/Proof/Reply_Public/ProofForm.js View File

@@ -427,21 +427,28 @@ const FormPanel = ({ formData }) => {
<table style={tabelStyle}> <table style={tabelStyle}>
<tbody> <tbody>
<tr style={tabelStyle}> <tr style={tabelStyle}>
<th style={tabelStyle} width="50" align="left"></th>
{!isOnlyOnlinePayment?
<th style={tabelStyle} width="50" align="left"></th>
:
null
}
<th style={tabelStyle} width="300" align="left"><FormattedMessage id="paymentMeans" /></th> <th style={tabelStyle} width="300" align="left"><FormattedMessage id="paymentMeans" /></th>
<th style={tabelStyle} width="300" align="left"><FormattedMessage id="commentDeadline" /></th> <th style={tabelStyle} width="300" align="left"><FormattedMessage id="commentDeadline" /></th>
<th style={tabelStyle} width="300" align="left"><FormattedMessage id="confirmingDealine" /></th> <th style={tabelStyle} width="300" align="left"><FormattedMessage id="confirmingDealine" /></th>
<th style={tabelStyle} width="400" align="left"><FormattedMessage id="PaymentCoonpletDealine" /></th> <th style={tabelStyle} width="400" align="left"><FormattedMessage id="PaymentCoonpletDealine" /></th>
</tr> </tr>
<tr> <tr>
<td style={tabelStyle}>
<Checkbox
checked={paymentMethod == "online"}
onChange={() => {
set_paymentMethod("online")
}}
/>
</td>
{!isOnlyOnlinePayment?
<td style={tabelStyle}>
<Checkbox
checked={paymentMethod == "online"}
onChange={() => {
set_paymentMethod("online")
}}
/>
</td>
:null
}
<td style={tabelStyle}> <td style={tabelStyle}>
<FormattedMessage id="payOnline" /> <FormattedMessage id="payOnline" />
{checkPaymentSuspention()? {checkPaymentSuspention()?
@@ -579,12 +586,13 @@ const FormPanel = ({ formData }) => {
<div style={{ padding: 12 }} dangerouslySetInnerHTML={{ __html: intl.formatMessage({ id: "proofNote" }) }} /> <div style={{ padding: 12 }} dangerouslySetInnerHTML={{ __html: intl.formatMessage({ id: "proofNote" }) }} />
</Typography> </Typography>
</Grid> */} </Grid> */}

<Grid item xs={12}>
<Typography variant="h6" height="100%" >
<div style={{ padding: 12 }} dangerouslySetInnerHTML={{ __html: intl.formatMessage({ id: "proofImportant" }) }} />
</Typography>
</Grid>
{!isOnlyOnlinePayment?
<Grid item xs={12}>
<Typography variant="h6" height="100%" >
<div style={{ padding: 12 }} dangerouslySetInnerHTML={{ __html: intl.formatMessage({ id: "proofImportant" }) }} />
</Typography>
</Grid>:null
}
</> </>
: :
actionValue ? actionValue ?


Loading…
Cancel
Save