{% extends 'base.html' %} {% load subscription_tags %} {% block title %}{{ form.instance.pk|yesno:"Edit,New" }} Category - POS{% endblock %} {% block content %}

{% if form.instance.pk %} Edit Category: {{ form.instance.name }} {% else %} New Category {% endif %}

Back to List
{% csrf_token %} {% if form.errors %} {% endif %}
Category Information
{{ form.name }} e.g., Electronics, Food & Beverage, Services
{{ form.name_bm }} Opsional: Contoh - Elektronik, Makanan & Minuman, Perkhidmatan
{{ form.description }} Brief description of this category
Accounting Settings
{{ form.default_income_account }} Products in this category will use this income account by default
Tip: Setting a default income account helps streamline accounting. Products can still override this setting individually.
{{ form.is_active }} Inactive categories won't appear in product selection
{% if form.instance.pk %}
Total Products: {{ form.instance.get_product_count }}
Created: {{ form.instance.created_at|date:"d M Y" }}
{% endif %}
Cancel
{% endblock %}