Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

Permalink
Fix order details display
Browse files Browse the repository at this point in the history
  • Loading branch information
alecritson committed Oct 14, 2019
1 parent 7760bea commit 56a0af9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,16 +291,16 @@
{{ order.shipping_details.state }}<br v-if="order.shipping_details.state">
{{ order.shipping_details.country }}<br>
{{ order.shipping_details.zip }} <br>
{{ order.billing_details.phone }} <br>
{{ order.billing_details.email }}
{{ order.shipping_details.phone }} <br>
{{ order.shipping_details.email }}
</div>
<div class="col-md-4">
<p>
<strong style="margin-bottom:5px;display:block;">Contact Information</strong>
Email: {{ order.contact_details.email }} <span class="text-muted" v-if="!order.contact_details.email">Not provided</span> <br>
Telephone:
<span v-if="order.contact_details.phone">{{ order.contact_details.phone }}</span>
<span v-else-if="order.shipping_details.phone">{{ order.shipping_details.phone }}</span>
<span v-else-if="order.billing_details.phone">{{ order.billing_details.phone }}</span>
<span v-else-if="order.shipping_details.phone">{{ order.shipping_details.phone }}</span>
<span class="text-muted" v-else>Not provided</span>
</p>
Expand Down

0 comments on commit 56a0af9

Please sign in to comment.