Merge branch 'customer-null-values' into 'staging'
Don't display null customer details See merge request startinblox/applications/sib-app!96
This commit is contained in:
commit
29dbd1f649
@ -150,7 +150,7 @@
|
|||||||
li {
|
li {
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
|
|
||||||
&::before {
|
span::before {
|
||||||
color: $color-43-100-50;
|
color: $color-43-100-50;
|
||||||
font-size: 2.2rem;
|
font-size: 2.2rem;
|
||||||
margin: 0 1rem 0 0;
|
margin: 0 1rem 0 0;
|
||||||
|
@ -5,15 +5,13 @@ sib-widget(name='hd-customer')
|
|||||||
h3 Client:
|
h3 Client:
|
||||||
ul
|
ul
|
||||||
li #[span Business name: ]${await value.name}
|
li #[span Business name: ]${await value.name}
|
||||||
li #[span Company register: ]${await value.companyRegister}
|
li ${await value.companyRegister ? `<span>Company register: </span> ${await value.companyRegister}` : ``}
|
||||||
li
|
li ${await value.address ? `<span>Address: </span><br/><p>${await value.address}</p>`: ``}
|
||||||
span Address:
|
|
||||||
br
|
|
||||||
p ${await value.address}
|
|
||||||
div
|
div
|
||||||
h3 Contact:
|
h3 Contact:
|
||||||
ul
|
ul
|
||||||
li(class='mdi-account-outline') #[span ${await value.firstName} ${await value.lastName}], ${await value.role}
|
li #[span(class='mdi-account-outline') ${await value.firstName} ${await value.lastName ? await value.lastName : ""}]${await value.role ? `, ${await value.role}` : ""}
|
||||||
li(class='mdi-email-outline')
|
li
|
||||||
|
span(class='mdi-email-outline')
|
||||||
a(href='mailto:${await value.email}') ${await value.email}
|
a(href='mailto:${await value.email}') ${await value.email}
|
||||||
li(class='mdi-cellphone-iphone') ${await value.phone}
|
span ${await value.phone ? `<li><span class='mdi-cellphone-iphone'>${await value.phone}</span></li>` : ``}
|
||||||
|
Loading…
Reference in New Issue
Block a user