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.
 
 
 
 

95 lines
2.0 KiB

<!doctype html>
<html>
<head>
<title>New Service Template</title>
<link rel="icon" type="image/png" href="/static/favicon.png">
</head>
<body>
<h1>Add Service Template</h1>
<p><a href="/">Home</a></p>
<p><a href="/service-templates">Back to Service Templates</a></p>
{% 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>
Template Name *<br>
<input name="template_name" required>
</p>
<p>
Service Type *<br>
<select name="service_type" required>
<option value="hosting">hosting</option>
<option value="consulting">consulting</option>
<option value="crypto_infra">Crypto Infra</option>
<option value="saas">SaaS</option>
<option value="other">other</option>
</select>
</p>
<p>
Billing Cycle *<br>
<select name="billing_cycle" required>
<option value="one_time">one_time</option>
<option value="monthly" selected>monthly</option>
<option value="quarterly">quarterly</option>
<option value="yearly">yearly</option>
<option value="manual">manual</option>
</select>
</p>
<p>
Currency Code *<br>
<select name="currency_code" required>
<option value="CAD" selected>CAD</option>
<option value="ETHO">ETHO</option>
<option value="EGAZ">EGAZ</option>
<option value="ALT">ALT</option>
</select>
</p>
<p>
Recurring Amount *<br>
<input type="number" step="0.00000001" min="0" name="recurring_amount" value="0.00000000" required>
</p>
<p>
Setup Amount *<br>
<input type="number" step="0.00000001" min="0" name="setup_amount" value="0.00000000" required>
</p>
<p>
Description<br>
<textarea name="description" rows="6" cols="70"></textarea>
</p>
<p>
Active<br>
<select name="is_active">
<option value="1" selected>yes</option>
<option value="0">no</option>
</select>
</p>
<p>
<button type="submit">Create Service Template</button>
</p>
</form>
{% include "footer.html" %}
</body>
</html>