|
@ -26,37 +26,37 @@ export const InvoiceModalRender = function () { |
|
|
<div className="col-lg-8 form-group form-material vertical-align-middle"> |
|
|
<div className="col-lg-8 form-group form-material vertical-align-middle"> |
|
|
<form> |
|
|
<form> |
|
|
<label |
|
|
<label |
|
|
className="control-label" |
|
|
className="control-label" |
|
|
htmlFor="qrAddress"> |
|
|
htmlFor="qrAddress"> |
|
|
{ translate('INDEX.RECEIVING_ADDRESS') } |
|
|
{ translate('INDEX.RECEIVING_ADDRESS') } |
|
|
</label> |
|
|
</label> |
|
|
<select |
|
|
<select |
|
|
className="form-control" |
|
|
className="form-control" |
|
|
name="qrAddress" |
|
|
name="qrAddress" |
|
|
id="qrAddress" |
|
|
id="qrAddress" |
|
|
value={ this.state.qrAddress } |
|
|
value={ this.state.qrAddress } |
|
|
onChange={ this.updateInput }> |
|
|
onChange={ this.updateInput }> |
|
|
<option value="-1"> |
|
|
<option value="-1"> |
|
|
{ translate('INDEX.CHOOSE_RECEIVING_ADDRESS') } |
|
|
{ translate('INDEX.CHOOSE_RECEIVING_ADDRESS') } |
|
|
</option> |
|
|
</option> |
|
|
{ this.renderAddressList('public') } |
|
|
{ this.renderAddressList('public') } |
|
|
{ this.isNativeMode() && this.renderAddressList('private') } |
|
|
{ this.isNativeMode() && this.renderAddressList('private') } |
|
|
</select> |
|
|
</select> |
|
|
<label |
|
|
<label |
|
|
className="control-label margin-top-20" |
|
|
className="control-label margin-top-20" |
|
|
htmlFor="qrCoinAmount"> |
|
|
htmlFor="qrCoinAmount"> |
|
|
{ this.props.ActiveCoin.coin } |
|
|
{ this.props.ActiveCoin.coin } |
|
|
</label> |
|
|
</label> |
|
|
<input |
|
|
<input |
|
|
type="number" |
|
|
type="number" |
|
|
min="0" |
|
|
min="0" |
|
|
className="form-control" |
|
|
className="form-control" |
|
|
id="qrCoinAmount" |
|
|
id="qrCoinAmount" |
|
|
name="qrAmount" |
|
|
name="qrAmount" |
|
|
placeholder="0" |
|
|
placeholder="0" |
|
|
autoComplete="off" |
|
|
autoComplete="off" |
|
|
value={ this.state.qrAmount } |
|
|
value={ this.state.qrAmount } |
|
|
onChange={ this.updateInput } /> |
|
|
onChange={ this.updateInput } /> |
|
|
</form> |
|
|
</form> |
|
|
</div> |
|
|
</div> |
|
|
<div className="col-lg-4"> |
|
|
<div className="col-lg-4"> |
|
@ -65,10 +65,10 @@ export const InvoiceModalRender = function () { |
|
|
size={ 198 } /> |
|
|
size={ 198 } /> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div className="row"> |
|
|
<div className="row hide"> |
|
|
<div className="col-lg-12"> |
|
|
<div className="col-lg-12"> |
|
|
<p className="help-block"> |
|
|
<p className="help-block"> |
|
|
{ translate('INDEX.QR_CONTENT') }:<br /> |
|
|
{ translate('INDEX.QR_CONTENT') }:<br /> |
|
|
{ this.state.content } |
|
|
{ this.state.content } |
|
|
</p> |
|
|
</p> |
|
|
</div> |
|
|
</div> |
|
@ -87,10 +87,10 @@ export const InvoiceModalRender = function () { |
|
|
export const InvoiceModalButtonRender = function () { |
|
|
export const InvoiceModalButtonRender = function () { |
|
|
return ( |
|
|
return ( |
|
|
<span> |
|
|
<span> |
|
|
<button type="button" |
|
|
<button type="button" |
|
|
className="btn btn-success waves-effect waves-light margin-right-10" |
|
|
className="btn btn-success waves-effect waves-light margin-right-10" |
|
|
onClick={ this.openModal }> |
|
|
onClick={ this.openModal }> |
|
|
<i className="icon fa-file-text-o"></i> |
|
|
<i className="icon fa-file-text-o"></i> |
|
|
{ translate('INDEX.CREATE_INVOICE') } |
|
|
{ translate('INDEX.CREATE_INVOICE') } |
|
|
</button> |
|
|
</button> |
|
|
</span> |
|
|
</span> |
|
|