mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
[cleanup] [wip] portal, shopping cart cleanup
This commit is contained in:
@@ -1,29 +1,22 @@
|
||||
{% set doc = frappe.get_doc(doc) %}
|
||||
<div class="web-list-item">
|
||||
<a href="/{{ pathname }}/{{ doc.name }}" no-pjax>
|
||||
<div class="row">
|
||||
<div class="col-sm-6 col-xs-7">
|
||||
<div class="col-sm-8 col-xs-7">
|
||||
<div class="row">
|
||||
<div class="col-sm-9">{{ doc.customer or doc.supplier }}</div>
|
||||
<div class="col-sm-9">
|
||||
<div>{{ doc.name }}</div>
|
||||
<div class="small text-muted">{{ doc.items_preview }}</div>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
{%- if doc.status_percent > 0 -%}
|
||||
{%- if doc.status_percent % 100 == 0 -%}
|
||||
<span class="indicator green">{{ doc.status_display }}</span>
|
||||
{%- else -%}
|
||||
<span class="indicator orange">{{ doc.status_display }}</span>
|
||||
{%- endif -%}
|
||||
{%- elif doc.status -%}
|
||||
<span class="indicator blue">{{ doc.status }}</span>
|
||||
{%- endif -%}
|
||||
<span class="indicator {{ doc.indicator_color or "darkgrey" }}">
|
||||
{{ doc.indicator_title or doc.status or "Submitted" }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-2 col-xs-5 text-right">
|
||||
{{ doc.get_formatted("grand_total") }}
|
||||
</div>
|
||||
<div class="col-sm-2 text-muted text-right">
|
||||
{{ doc.name }}
|
||||
</div>
|
||||
<div class="col-sm-2 small text-muted text-right" title="{{ frappe.utils.format_datetime(doc.creation, "medium") }}">
|
||||
{{ frappe.utils.pretty_date(doc.creation) }}</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user