mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-28 02:42:17 +00:00
Invoice template improvements
This commit is contained in:
@@ -1,35 +1,20 @@
|
|||||||
{% extends 'base_rigs.html' %}
|
{% extends 'base_rigs.html' %}
|
||||||
|
|
||||||
{% block title %}Delete payment on invoice {{ object.invoice.pk }}{% endblock %}
|
{% block title %}Delete Invoice {{ object.invoice.pk }}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="col-sm-offset-2 col-sm-8">
|
<div class="alert alert-danger" role="alert">
|
||||||
<div class="alert alert-danger" role="alert">
|
<h2>Delete Invoice {{ object.pk }}</h2>
|
||||||
<h2>Delete invoice {{ object.pk }}</h2>
|
|
||||||
|
|
||||||
<p>Are you sure you wish to delete invoice {{ object.pk }}?</p>
|
<p>Are you sure you wish to delete invoice {{ object.pk }}?</p>
|
||||||
|
|
||||||
<p class="text-center"><strong>This action cannot be undone!</strong></p>
|
<div class="text-right">
|
||||||
|
<form action="{{ action_link }}" method="post">
|
||||||
<div class="row">
|
{% csrf_token %}
|
||||||
<div class="col-sm-12">
|
<input type="hidden" name="next" value="{% url 'invoice_list' %}"/>
|
||||||
<form action="{{ action_link }}" method="post">{% csrf_token %}
|
<input type="submit" value="Yes" class="btn btn-danger col-sm-1"/>
|
||||||
<input type="hidden" name="next" value="{% url 'invoice_list' %}"/>
|
<a href="{% url 'invoice_detail' object.pk %}" class="btn btn-success col-sm-1">No</a>
|
||||||
<a href="{% url 'invoice_detail' object.pk %}" class="btn btn-default col-sm-1">No</a>
|
</form>
|
||||||
<a href="{% url 'invoice_detail' object.pk %}" class="btn btn-default col-sm-1">No</a>
|
|
||||||
<a href="{% url 'invoice_detail' object.pk %}" class="btn btn-default col-sm-1">No</a>
|
|
||||||
<input type="submit" value="Yes" class="btn btn-danger col-sm-1"/>
|
|
||||||
<a href="{% url 'invoice_detail' object.pk %}" class="btn btn-default col-sm-1">No</a>
|
|
||||||
<a href="{% url 'invoice_detail' object.pk %}" class="btn btn-default col-sm-1">No</a>
|
|
||||||
<a href="{% url 'invoice_detail' object.pk %}" class="btn btn-default col-sm-1">No</a>
|
|
||||||
<a href="{% url 'invoice_detail' object.pk %}" class="btn btn-default col-sm-1">No</a>
|
|
||||||
<a href="{% url 'invoice_detail' object.pk %}" class="btn btn-default col-sm-1">No</a>
|
|
||||||
<a href="{% url 'invoice_detail' object.pk %}" class="btn btn-default col-sm-1">No</a>
|
|
||||||
<a href="{% url 'invoice_detail' object.pk %}" class="btn btn-default col-sm-1">No</a>
|
|
||||||
<a href="{% url 'invoice_detail' object.pk %}" class="btn btn-default col-sm-1">No</a>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
</div>
|
||||||
|
{% endblock %}
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
<h2>{% block heading %}Invoices{% endblock %}</h2>
|
<h2>{% block heading %}Invoices{% endblock %}</h2>
|
||||||
{% block description %}{% endblock %}
|
{% block description %}{% endblock %}
|
||||||
{% block search %}{% endblock %}
|
{% block search %}{% endblock %}
|
||||||
<div class="table-responsive col-sm-12">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover">
|
<table class="table table-hover table-bordered table-sm">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col">Invoice #</th>
|
<th scope="col">Invoice #</th>
|
||||||
@@ -51,9 +51,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
<a href="{% url 'invoice_detail' invoice.pk %}" class="btn btn-primary">
|
<a href="{% url 'invoice_detail' invoice.pk %}" class="btn btn-primary"><span class="fas fa-eye"></span></a>
|
||||||
<i class="fas fa-edit"></i>
|
|
||||||
</a>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
@@ -13,11 +13,10 @@ All Invoices
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block search %}
|
{% block search %}
|
||||||
<div class="col-sm-3 col-sm-offset-9">
|
<div class="col-md-6">
|
||||||
<form class="form form-horizontal col-sm-12">
|
<form class="form form-horizontal">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input type="search" name="q" placeholder="Search" value="{{ request.GET.q }}"
|
<input type="search" name="q" placeholder="Search" value="{{ request.GET.q }}" class="form-control"/>
|
||||||
class="form-control"/>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user