Editing Product
Back to Product list
{% raw xsrf_form_html() %}
Field name
Field value
{% if (action=='view') %}
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 }}
{% else %}
ProductID
{{ 'autogenerated' if (action == 'add') else '' }}
CategoryID
SupplierID
ProductName
UnitPrice
UnitsInStock
UnitsOnOrder
QuantityPerUnit
Discontinued
ReorderLevel
{% end %}