{% extends 'base.html' %} {% block content %}

Withdraw - {{ account.name }}

Back to Account

Current Balance

{{ balance|currency }}
After Withdrawal
{{ balance|currency }}
{% if balance < 0 %}
⚠️ Account is currently overdrawn
{% endif %}
{{ form.hidden_tag() }}
{{ form.date(class="form-control") }} {% if form.date.errors %}
{{ form.date.errors[0] }}
{% endif %}
{{ form.amount(class="form-control", placeholder="0.00", step="0.01", id="amount-input") }} {% if form.amount.errors %}
{{ form.amount.errors[0] }}
{% endif %} Enter the amount to withdraw
{{ form.description(class="form-control", placeholder="e.g., Cash withdrawal, Payment to supplier, etc.") }} {% if form.description.errors %}
{{ form.description.errors[0] }}
{% endif %} Brief description of the withdrawal
{{ form.ref_customer_id(class="form-control") }} {% if form.ref_customer_id.errors %}
{{ form.ref_customer_id.errors[0] }}
{% endif %} Link this withdrawal to a customer (optional)
{{ form.submit(class_='btn-outline', style='color: #dc2626; border-color: #dc2626;') }} Cancel
{% endblock %}