billing frontend for mariadb. setup as otb_billing for outsidethebox.top accounting. also involved with outsidethedb
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

69 lines
1.4 KiB

<!doctype html>
<html>
<head>
<title>Add Credit</title>
</head>
<body>
<h1>Add Credit</h1>
<p><a href="/">Home</a></p>
<p><a href="/credits/{{ client.id }}">Back to Credit Ledger</a></p>
<h3>{{ client.client_code }} - {{ client.company_name }}</h3>
{% if errors %}
<div style="border:1px solid red; padding:10px; margin-bottom:15px;">
<strong>Please fix the following:</strong>
<ul>
{% for error in errors %}
<li>{{ error }}</li>
{% endfor %}
</ul>
</div>
{% endif %}
<form method="post">
<p>
Entry Type *<br>
<select name="entry_type" required>
<option value="manual_credit">manual_credit</option>
<option value="payment_credit">payment_credit</option>
<option value="invoice_deduction">invoice_deduction</option>
<option value="refund">refund</option>
<option value="adjustment">adjustment</option>
</select>
</p>
<p>
Amount *<br>
<input type="number" step="0.00000001" name="amount" required>
</p>
<p>
Currency Code *<br>
<select name="currency_code" required>
<option value="CAD">CAD</option>
<option value="USD">USD</option>
<option value="EUR">EUR</option>
<option value="ETHO">ETHO</option>
<option value="EGAZ">EGAZ</option>
<option value="ALT">ALT</option>
</select>
</p>
<p>
Notes<br>
<textarea name="notes" rows="5" cols="60"></textarea>
</p>
<p>
<button type="submit">Add Credit Entry</button>
</p>
</form>
{% include "footer.html" %}
</body>
</html>