fixed client dashboard
fixed employee sidebar nomenclatures buttons
This commit is contained in:
@@ -139,11 +139,11 @@
|
||||
</div>
|
||||
<div class="detail-row">
|
||||
<div class="detail-label">Preinfo:</div>
|
||||
<div class="detail-value">{{ container.preinfo }}</div>
|
||||
<div class="detail-value">{{ container.preinfo.id }}</div>
|
||||
</div>
|
||||
<div class="detail-row">
|
||||
<div class="detail-label">Received On:</div>
|
||||
<div class="detail-value">{{ container.received_on|date:"Y-m-d H:i" }}</div>
|
||||
<div class="detail-value">{{ container.received_on|bg_date }}</div>
|
||||
</div>
|
||||
<div class="detail-row">
|
||||
<div class="detail-label">Receive Vehicle:</div>
|
||||
@@ -163,7 +163,7 @@
|
||||
<div class="detail-label">Booking:</div>
|
||||
<div class="detail-value">
|
||||
{% if container.booking %}
|
||||
{{ container.booking.name }}
|
||||
{{ container.booking.id }}
|
||||
{% else %}
|
||||
-
|
||||
{% endif %}
|
||||
@@ -204,15 +204,19 @@
|
||||
|
||||
{% block table_header %}
|
||||
<th style="display: none;">Select</th>
|
||||
<th>Company name</th>
|
||||
<th>Company short name</th>
|
||||
<th>Description</th>
|
||||
<th>Company</th>
|
||||
<th>Receive date</th>
|
||||
<th>Swept</th>
|
||||
<th>Washed</th>
|
||||
<th>Expedited date</th>
|
||||
{% endblock table_header %}
|
||||
|
||||
{% block table_data %}
|
||||
<td>{{ object.number }}</td>
|
||||
<td>{{ object.number }}</td>
|
||||
<td>{{ object.number }}</td>
|
||||
<td>{{ object.line.company.short_name }}</td>
|
||||
<td>{{ object.received_on|bg_date }}</td>
|
||||
<td>{{ object.swept|yesno:"Yes,-" }}</td>
|
||||
<td>{{ object.washed|yesno:"Yes,-" }}</td>
|
||||
<td>{{ object.expedited_on|bg_date }}</td>
|
||||
{% endblock %}
|
||||
|
||||
{% block buttons %}
|
||||
|
||||
@@ -30,12 +30,5 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block buttons %}
|
||||
{# <a href="{% url 'client_booking_create' %}" class="btn btn-primary">Create booking</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>#}
|
||||
{# #}
|
||||
{# <button class="btn btn-primary" type="button" onclick="window.location.href='{% url 'client_booking_create' %}'">Create booking</button>#}
|
||||
{# <button class="btn btn-primary" type="button" id="editBtn" data-url="{% url 'client_booking_update' pk=0 %}" data-requires-selection disabled>Edit booking</button>#}
|
||||
{# <button class="btn btn-primary" type="button" id="deleteBtn" data-url="{% url 'client_booking_active' pk=0 %}" data-requires-selection disabled>Delete booking</button> #}
|
||||
|
||||
{% endblock buttons %}
|
||||
Reference in New Issue
Block a user