brotherton-erpnext/erpnext/templates/includes/address_row.html
2016-07-04 15:41:07 +05:30

15 lines
647 B
HTML

<div class="web-list-item">
<a href="/addresses?name={{ doc.name | urlencode }}" class="no-decoration">
<div class="row">
<div class="col-xs-3">
<span class="indicator {{ "red" if doc.address_type=="Office" else "green" if doc.address_type=="Billing" else "blue" if doc.address_type=="Shipping" else "darkgrey" }}">{{ doc.address_title }}</span>
</div>
<div class="col-xs-2"> {{ doc.address_type }} </div>
<div class="col-xs-2"> {{ doc.city }} </div>
<div class="col-xs-5 text-right small text-muted">
{{ frappe.get_doc(doc).get_display() }}
</div>
</div>
</a>
</div>