payments
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
{% extends 'employee-base.html' %}
|
||||
{% extends 'list-crud.html' %}
|
||||
{% load static %}
|
||||
|
||||
{% block content %}
|
||||
<table>
|
||||
<tr>
|
||||
{% block table_header %}
|
||||
<th>Container №</th>
|
||||
<th>Container type</th>
|
||||
<th>Line</th>
|
||||
@@ -12,25 +10,26 @@
|
||||
<th>Swept</th>
|
||||
<th>Washed</th>
|
||||
<th>Booking</th>
|
||||
</tr>
|
||||
{% endblock table_header %}
|
||||
|
||||
{% for container in containers %}
|
||||
<tr>
|
||||
<td>{{ container.number }}</td>
|
||||
<td>{{ container.container_type }}</td>
|
||||
<td>{{ container.line.short_name }}</td>
|
||||
<td>{{ container.received_on }}</td>
|
||||
<td>{{ container.position }}</td>
|
||||
<td>{{ container.swept }}</td>
|
||||
<td>{{ container.washed }}</td>
|
||||
<td>{{ container.booking.id }}</td>
|
||||
<td>
|
||||
{# <a href="{% url 'employee:preinfo_edit' preinfo.id %}">Edit</a> |#}
|
||||
{# <a href="{% url 'employee:preinfo_delete' preinfo.id %}">Delete</a>#}
|
||||
</td>
|
||||
</tr>
|
||||
{% block table_data %}
|
||||
<td>{{ object.number }}</td>
|
||||
<td>{{ object.container_type }}</td>
|
||||
<td>{{ object.line.short_name }}</td>
|
||||
<td>{{ object.received_on }}</td>
|
||||
<td>{{ object.position }}</td>
|
||||
<td>{{ object.swept }}</td>
|
||||
<td>{{ object.washed }}</td>
|
||||
<td>{{ object.booking.number }}</td>
|
||||
{% endblock %}
|
||||
|
||||
{% endfor %}
|
||||
{% block buttons %}
|
||||
{% endblock buttons %}
|
||||
|
||||
</table>
|
||||
{% endblock content %}
|
||||
{% block create_modal_header %}
|
||||
<h2>Create Container</h2>
|
||||
{% endblock %}
|
||||
|
||||
{% block modal_header %}
|
||||
<h2>Edit Container</h2>
|
||||
{% endblock modal_header %}
|
||||
Reference in New Issue
Block a user