mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-28 10:52:16 +00:00
Fixed merge issues
This commit is contained in:
@@ -100,7 +100,6 @@ class InvoiceArchive(generic.ListView):
|
|||||||
model = models.Invoice
|
model = models.Invoice
|
||||||
template_name = 'RIGS/invoice_list_archive.html'
|
template_name = 'RIGS/invoice_list_archive.html'
|
||||||
paginate_by = 25
|
paginate_by = 25
|
||||||
template_name="RIGS/invoice_archive.html"
|
|
||||||
|
|
||||||
def get_queryset(self):
|
def get_queryset(self):
|
||||||
q = self.request.GET.get('q', "")
|
q = self.request.GET.get('q', "")
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
{% extends 'RIGS/invoice_list.html' %}
|
|
||||||
|
|
||||||
{% block search %}
|
|
||||||
<div class="col-sm-3 col-sm-offset-9">
|
|
||||||
<form class="form form-horizontal col-sm-12">
|
|
||||||
<div class="form-group">
|
|
||||||
<input type="search" name="q" placeholder="Search" value="{{ request.GET.q }}"
|
|
||||||
class="form-control"/>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
|
||||||
@@ -12,6 +12,7 @@
|
|||||||
{% paginator %}
|
{% paginator %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% block search %}{% endblock %}
|
||||||
<div class="table-responsive col-sm-12">
|
<div class="table-responsive col-sm-12">
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
|
|||||||
@@ -11,3 +11,14 @@ All Invoices
|
|||||||
{% block description %}
|
{% block description %}
|
||||||
<p>This page displays all invoices: outstanding, paid, and void</p>
|
<p>This page displays all invoices: outstanding, paid, and void</p>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block search %}
|
||||||
|
<div class="col-sm-3 col-sm-offset-9">
|
||||||
|
<form class="form form-horizontal col-sm-12">
|
||||||
|
<div class="form-group">
|
||||||
|
<input type="search" name="q" placeholder="Search" value="{{ request.GET.q }}"
|
||||||
|
class="form-control"/>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user