{% extends "base.html" %} {% load static %} {% block title %}{% if object %}Edit {{ object.name }}{% else %}Add Supplier{% endif %} - {{ block.super }}{% endblock %} {% block content %}

{% if object %}Edit Supplier{% else %}Add New Supplier{% endif %}

Back {% if object %} View Details {% endif %}
{% csrf_token %}
Basic Information
{{ form.supplier_code }} {% if form.supplier_code.errors %}
{{ form.supplier_code.errors.0 }}
{% endif %}
Unique identifier for the supplier
{{ form.name }} {% if form.name.errors %}
{{ form.name.errors.0 }}
{% endif %}
{{ form.supplier_type }} {% if form.supplier_type.errors %}
{{ form.supplier_type.errors.0 }}
{% endif %}
{{ form.is_active }}
{% if form.is_active.errors %}
{{ form.is_active.errors.0 }}
{% endif %}
{{ form.description }} {% if form.description.errors %}
{{ form.description.errors.0 }}
{% endif %}
Brief description of the supplier and their services
Contact Information
{{ form.contact_person }} {% if form.contact_person.errors %}
{{ form.contact_person.errors.0 }}
{% endif %}
{{ form.contact_title }} {% if form.contact_title.errors %}
{{ form.contact_title.errors.0 }}
{% endif %}
{{ form.phone }}
{% if form.phone.errors %}
{{ form.phone.errors.0 }}
{% endif %}
{{ form.email }}
{% if form.email.errors %}
{{ form.email.errors.0 }}
{% endif %}
{{ form.website }}
{% if form.website.errors %}
{{ form.website.errors.0 }}
{% endif %}
Address Information
{{ form.address }} {% if form.address.errors %}
{{ form.address.errors.0 }}
{% endif %}
{{ form.city }} {% if form.city.errors %}
{{ form.city.errors.0 }}
{% endif %}
{{ form.state }} {% if form.state.errors %}
{{ form.state.errors.0 }}
{% endif %}
{{ form.zip_code }} {% if form.zip_code.errors %}
{{ form.zip_code.errors.0 }}
{% endif %}
{{ form.country }} {% if form.country.errors %}
{{ form.country.errors.0 }}
{% endif %}
Business Information
{{ form.tax_id }} {% if form.tax_id.errors %}
{{ form.tax_id.errors.0 }}
{% endif %}
Tax identification number
{{ form.license_number }} {% if form.license_number.errors %}
{{ form.license_number.errors.0 }}
{% endif %}
Business license or registration number
{{ form.payment_terms }} {% if form.payment_terms.errors %}
{{ form.payment_terms.errors.0 }}
{% endif %}
$ {{ form.credit_limit }}
{% if form.credit_limit.errors %}
{{ form.credit_limit.errors.0 }}
{% endif %}
Maximum credit amount allowed
{{ form.rating }} {% if form.rating.errors %}
{{ form.rating.errors.0 }}
{% endif %}
Supplier performance rating (1-5 stars)
Additional Notes
{{ form.notes }} {% if form.notes.errors %}
{{ form.notes.errors.0 }}
{% endif %}
Additional information about the supplier
Cancel
Form Help

  • Supplier Code: Unique identifier for internal use
  • Name: Official business name
  • Type: Category of products/services provided
  • Status: Whether the supplier is currently active

  • Contact Person: Primary contact at the supplier
  • Phone: Primary phone number
  • Email: Primary email address
  • Website: Company website URL

  • Tax ID: Federal tax identification number
  • License: Business license or registration
  • Payment Terms: Standard payment terms
  • Credit Limit: Maximum outstanding balance
{% if object %} {% endif %}
{% endblock %}