{% extends "base.html" %} {% block title %}{{ customer['CompanyName'] }} - Northwind Traders{% endblock %} {% block content %}
← Back to Customers
Edit Customer
Customer Information
ID:{{ customer['CustomerID'] }}
Company:{{ customer['CompanyName'] }}
Contact:{{ customer['ContactName'] or '-' }}
Title:{{ customer['ContactTitle'] or '-' }}
Address:{{ customer['Address'] or '-' }}
City:{{ customer['City'] or '-' }}
Region:{{ customer['Region'] or '-' }}
Postal Code:{{ customer['PostalCode'] or '-' }}
Country:{{ customer['Country'] or '-' }}
Phone:{{ customer['Phone'] or '-' }}
Fax:{{ customer['Fax'] or '-' }}
Order History
{{ orders|length }} Orders
{% if orders %}
{% for order in orders %} {% endfor %}
Order ID Date Shipper Total Amount
#{{ order['OrderID'] }} {{ order['OrderDate'] }} {{ order['Shipper'] }} ${{ "%.2f"|format(order['TotalAmount']) }}
{% else %}

No orders found for this customer

{% endif %}
{% endblock %}