{% extends 'base.html' %} {% load indonesian_filters %} {% block title %}Customer Details - {{ customer.name }}{% endblock %} {% block content %}
| Customer Code: | {{ customer.code }} |
|---|---|
| Customer Name: | {{ customer.name }} |
| Contact Person: | {{ customer.contact_person|default:"-" }} |
| Email: | {% if customer.email %} {{ customer.email }} {% else %} - {% endif %} |
| Phone: | {{ customer.phone|default:"-" }} |
| Tax ID: | {{ customer.tax_id|default:"-" }} |
|---|---|
| Status: | {% if customer.is_active %} Active {% else %} Inactive {% endif %} |
| Created: | {{ customer.created_at|date:"M d, Y H:i" }} |
| Last Updated: | {{ customer.updated_at|date:"M d, Y H:i" }} |
{{ customer.address|linebreaks }}
{{ customer.payment_terms|linebreaks }}
| Order Number | Order Date | Total Amount | Status | Actions |
|---|---|---|---|---|
| {{ order.so_number }} | {{ order.order_date|date:"M d, Y" }} | {{ order.total_amount|format_rupiah }} | {{ order.get_status_display }} | View |