Add notes panel to product details view
This commit is contained in:
parent
c3b15f76b5
commit
89a4b5645c
|
@ -97,6 +97,15 @@
|
||||||
</div>
|
</div>
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
|
<%def name="notes_panel()">
|
||||||
|
<div class="panel">
|
||||||
|
<h2>Notes</h2>
|
||||||
|
<div class="panel-body">
|
||||||
|
${render_field_readonly(form.fieldset.notes)}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</%def>
|
||||||
|
|
||||||
|
|
||||||
<div class="form-wrapper">
|
<div class="form-wrapper">
|
||||||
<ul class="context-menu">
|
<ul class="context-menu">
|
||||||
|
@ -178,6 +187,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
${self.notes_panel()}
|
||||||
|
|
||||||
${self.lookup_codes_panel()}
|
${self.lookup_codes_panel()}
|
||||||
|
|
||||||
${self.extra_right_panels()}
|
${self.extra_right_panels()}
|
||||||
|
|
|
@ -312,6 +312,7 @@ class ProductsView(MasterView):
|
||||||
fs.discountable,
|
fs.discountable,
|
||||||
fs.special_order,
|
fs.special_order,
|
||||||
fs.not_for_sale,
|
fs.not_for_sale,
|
||||||
|
fs.notes,
|
||||||
fs.deleted,
|
fs.deleted,
|
||||||
fs.last_sold,
|
fs.last_sold,
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue