fix: Item dashboard style
This commit is contained in:
parent
ecc7eedd10
commit
a43e760703
@ -39,8 +39,9 @@
|
|||||||
|
|
||||||
.dashboard-list-item {
|
.dashboard-list-item {
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
padding: 5px 0px;
|
border-bottom: 1px solid var(--border-color);
|
||||||
border-bottom: 1px solid @border-color;
|
font-size: var(--text-md);
|
||||||
|
color: var(--text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
#page-stock-balance .dashboard-list-item {
|
#page-stock-balance .dashboard-list-item {
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
{% for d in data %}
|
{% for d in data %}
|
||||||
<div class="dashboard-list-item">
|
<div class="dashboard-list-item">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-3 small" style="margin-top: 8px;">
|
<div class="col-sm-3" style="margin-top: 8px;">
|
||||||
<a data-type="warehouse" data-name="{{ d.warehouse }}">{{ d.warehouse }}</a>
|
<a data-type="warehouse" data-name="{{ d.warehouse }}">{{ d.warehouse }}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-3 small" style="margin-top: 8px;">
|
<div class="col-sm-3" style="margin-top: 8px;">
|
||||||
{% if show_item %}
|
{% if show_item %}
|
||||||
<a data-type="item"
|
<a data-type="item"
|
||||||
data-name="{{ d.item_code }}">{{ d.item_code }}
|
data-name="{{ d.item_code }}">{{ d.item_code }}
|
||||||
@ -12,7 +12,7 @@
|
|||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-4 small">
|
<div class="col-sm-4">
|
||||||
<span class="inline-graph">
|
<span class="inline-graph">
|
||||||
<span class="inline-graph-half" title="{{ __("Reserved Qty") }}">
|
<span class="inline-graph-half" title="{{ __("Reserved Qty") }}">
|
||||||
<span class="inline-graph-count">{{ d.total_reserved }}</span>
|
<span class="inline-graph-count">{{ d.total_reserved }}</span>
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{% if can_write %}
|
{% if can_write %}
|
||||||
<div class="col-sm-2 text-right" style="margin-top: 8px;">
|
<div class="col-sm-2 text-right" style="margin: var(--margin-sm) 0;">
|
||||||
{% if d.actual_qty %}
|
{% if d.actual_qty %}
|
||||||
<button class="btn btn-default btn-xs btn-move"
|
<button class="btn btn-default btn-xs btn-move"
|
||||||
data-disable_quick_entry="{{ d.disable_quick_entry }}"
|
data-disable_quick_entry="{{ d.disable_quick_entry }}"
|
||||||
|
@ -31,6 +31,10 @@ def get_data():
|
|||||||
'items': ['Material Request', 'Supplier Quotation', 'Request for Quotation',
|
'items': ['Material Request', 'Supplier Quotation', 'Request for Quotation',
|
||||||
'Purchase Order', 'Purchase Receipt', 'Purchase Invoice']
|
'Purchase Order', 'Purchase Receipt', 'Purchase Invoice']
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'label': _('Manufacture'),
|
||||||
|
'items': ['Production Plan', 'Work Order', 'Item Manufacturer']
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'label': _('Traceability'),
|
'label': _('Traceability'),
|
||||||
'items': ['Serial No', 'Batch']
|
'items': ['Serial No', 'Batch']
|
||||||
@ -38,10 +42,6 @@ def get_data():
|
|||||||
{
|
{
|
||||||
'label': _('Move'),
|
'label': _('Move'),
|
||||||
'items': ['Stock Entry']
|
'items': ['Stock Entry']
|
||||||
},
|
|
||||||
{
|
|
||||||
'label': _('Manufacture'),
|
|
||||||
'items': ['Production Plan', 'Work Order', 'Item Manufacturer']
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user