diff --git a/ordr2/static/css/style.css b/ordr2/static/css/style.css index a86d3cd..ecf0bba 100755 --- a/ordr2/static/css/style.css +++ b/ordr2/static/css/style.css @@ -750,3 +750,4 @@ input.number { text-align:right; } .moneyinput .amount { width:167px; text-align:right;} .moneyinput .currency { width:30px; text-align:center;} .controls .form-control-static { padding-top:5px; } +.form-like-display.form-horizontal .control-group { margin-bottom:0px; } diff --git a/ordr2/templates/orders/view.jinja2 b/ordr2/templates/orders/view.jinja2 new file mode 100644 index 0000000..3ec3f0a --- /dev/null +++ b/ordr2/templates/orders/view.jinja2 @@ -0,0 +1,156 @@ +{% extends "ordr2:templates/layout.jinja2" %} +{% import 'ordr2:templates/macros.jinja2' as macros with context %} + +{% block subtitle %} Order | View | {{ context.model.cas_desctiption }} {% endblock subtitle %} + +{% block content %} + +
{{ context.model.placed }}
+{{ context.model.approved }}
+{{ context.model.ordered }}
+{{ context.model.completed }}
+{{ context.model.cas_description }}
+{{ context.model.category.value|capitalize }}
+{{ context.model.catalog_nr }}
+{{ context.model.vendor }}
+{{ context.model.package_size }}
+{{ context.model.unit_price }} {{ context.model.currency }}
+{{ context.model.amount }}
+{{ context.model.total_price }} {{ context.model.currency }}
+{{ context.model.account }}
+{{ context.model.comment.replace('\n', '
') }}