show billing info on order details - frontend panel
This commit is contained in:
@@ -161,7 +161,11 @@ export const orderTexts = {
|
|||||||
INSTALLATION_DATE: 'Installation date',
|
INSTALLATION_DATE: 'Installation date',
|
||||||
INSTALLATION_NOT_REQUIRED:'Installation is not required for this package',
|
INSTALLATION_NOT_REQUIRED:'Installation is not required for this package',
|
||||||
PRELIMINARY_INSTALLATION_DATE_LABEL: 'Preliminary installation date',
|
PRELIMINARY_INSTALLATION_DATE_LABEL: 'Preliminary installation date',
|
||||||
PROJECT: 'Project'
|
PROJECT: 'Project',
|
||||||
|
BILLING_FIRST_NAME: 'Billing first name',
|
||||||
|
BILLING_LAST_NAME: 'Billing last name',
|
||||||
|
BILLING_MAIL: 'Invoice mail',
|
||||||
|
BILLING_ADDRESS: 'Billing address'
|
||||||
},
|
},
|
||||||
buttons: {
|
buttons: {
|
||||||
ACCEPT_INSTALLATION: 'I agree',
|
ACCEPT_INSTALLATION: 'I agree',
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ class OrderInfo extends Component {
|
|||||||
const orderPackages = installationData.packages;
|
const orderPackages = installationData.packages;
|
||||||
const isInstallationInPackage = installationData.isInstallationInPackage;
|
const isInstallationInPackage = installationData.isInstallationInPackage;
|
||||||
const orderInfo = this.props.orderInfo.info;
|
const orderInfo = this.props.orderInfo.info;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Container fluid={true} id="order-info-description">
|
<Container fluid={true} id="order-info-description">
|
||||||
<Row>
|
<Row>
|
||||||
@@ -65,6 +65,16 @@ class OrderInfo extends Component {
|
|||||||
<span>{orderInfo.commercialLead}</span>
|
<span>{orderInfo.commercialLead}</span>
|
||||||
|
|
||||||
</Col>
|
</Col>
|
||||||
|
<Col xl="2">
|
||||||
|
<div className="subtitle"><h6>{orderTexts.labels.BILLING_FIRST_NAME}:</h6></div>
|
||||||
|
<span>{orderInfo.billingFirstName || '-'}</span>
|
||||||
|
<div className="subtitle"><h6>{orderTexts.labels.BILLING_LAST_NAME}:</h6></div>
|
||||||
|
<span>{orderInfo.billingLastName || '-'}</span>
|
||||||
|
<div className="subtitle"><h6>{orderTexts.labels.BILLING_MAIL}:</h6></div>
|
||||||
|
<span>{orderInfo.billingMail || '-'}</span>
|
||||||
|
<div className="subtitle"><h6>{orderTexts.labels.BILLING_ADDRESS}:</h6></div>
|
||||||
|
<span>{orderInfo.billingAddress || '-'}</span>
|
||||||
|
</Col>
|
||||||
<Col xl="2">
|
<Col xl="2">
|
||||||
<div>
|
<div>
|
||||||
<div className="subtitle"><h6>{orderTexts.labels.REFERENCE}:</h6></div>
|
<div className="subtitle"><h6>{orderTexts.labels.REFERENCE}:</h6></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user