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.
48 lines
1.0 KiB
48 lines
1.0 KiB
<!doctype html> |
|
<html> |
|
<head> |
|
<title>Service Templates</title> |
|
<link rel="icon" type="image/png" href="/static/favicon.png"> |
|
</head> |
|
<body> |
|
|
|
<h1>Service Templates</h1> |
|
|
|
<p><a href="/">Home</a></p> |
|
<p> |
|
<a href="/services">Back to Services</a> | |
|
<a href="/service-templates/new">Add Service Template</a> |
|
</p> |
|
|
|
<table border="1" cellpadding="6"> |
|
<tr> |
|
<th>ID</th> |
|
<th>Template Name</th> |
|
<th>Type</th> |
|
<th>Cycle</th> |
|
<th>Currency</th> |
|
<th>Recurring</th> |
|
<th>Setup</th> |
|
<th>Active</th> |
|
<th>Actions</th> |
|
</tr> |
|
|
|
{% for t in templates %} |
|
<tr> |
|
<td>{{ t.id }}</td> |
|
<td>{{ t.template_name }}</td> |
|
<td>{{ t.service_type }}</td> |
|
<td>{{ t.billing_cycle }}</td> |
|
<td>{{ t.currency_code }}</td> |
|
<td>{{ t.recurring_amount|money(t.currency_code) }}</td> |
|
<td>{{ t.setup_amount|money(t.currency_code) }}</td> |
|
<td>{% if t.is_active %}yes{% else %}no{% endif %}</td> |
|
<td><a href="/service-templates/edit/{{ t.id }}">Edit</a></td> |
|
</tr> |
|
{% endfor %} |
|
|
|
</table> |
|
|
|
{% include "footer.html" %} |
|
</body> |
|
</html>
|
|
|