Editing Product

{% raw xsrf_form_html() %} {% if (action=='view') %} {% else %} {% end %}
Field name Field value
ProductID {{ data.ProductID }}
CategoryID {{ data.CategoryID }}
SupplierID {{ data.SupplierID }}
ProductName {{ data.ProductName }}
UnitPrice {{ data.UnitPrice }}
UnitsInStock {{ data.UnitsInStock }}
UnitsOnOrder {{ data.UnitsOnOrder }}
QuantityPerUnit {{ data.QuantityPerUnit }}
Discontinued {{ data.Discontinued }}
ReorderLevel {{ data.ReorderLevel }}
 
{{ 'autogenerated' if (action == 'add') else '' }}