fixed crud list
fixed payments upload -a
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
<th>Vehicles left</th>
|
||||
<th>Created on</th>
|
||||
<th>Created by</th>
|
||||
<th>Status</th>
|
||||
{% endblock table_header %}
|
||||
|
||||
{% block table_data %}
|
||||
@@ -26,18 +27,11 @@
|
||||
<td>{{ object.vehicles_left }}</td>
|
||||
<td>{{ object.created_on }}</td>
|
||||
<td>{{ object.created_by.username }}</td>
|
||||
<td>{{ object.status }}</td>
|
||||
{% endblock %}
|
||||
|
||||
{% block buttons %}
|
||||
<a href="{% url 'client_booking_create' %}" class="btn btn-primary">Create Preinfo</a>
|
||||
<a href="#" id="editBtn" data-url="{% url 'client_booking_update' pk=0 %}" class="btn btn-primary" disabled>Edit Preinfo</a>
|
||||
<button id="deleteButton" class="btn btn-danger">Delete Preinfo</button>
|
||||
{% endblock buttons %}
|
||||
|
||||
{% block create_modal_header %}
|
||||
<h2>Create Booking</h2>
|
||||
{% endblock %}
|
||||
|
||||
{% block modal_header %}
|
||||
<h2>Edit Booking</h2>
|
||||
{% endblock modal_header %}
|
||||
{% endblock buttons %}
|
||||
Reference in New Issue
Block a user