urls in customer_view page
This commit is contained in:
parent
d18d4326b3
commit
1b18e71518
@ -147,20 +147,20 @@
|
||||
<tbody class="list" id="customer-order-table-body">
|
||||
{% for lead in leads %}
|
||||
<tr>
|
||||
<td><a href="#">{{lead}} ({{ forloop.counter }})<a></td>
|
||||
<td>{{lead.opportunity}} ({{ forloop.counter }})</td>
|
||||
<td><a href="{% url 'lead_detail' request.dealer.slug lead.slug%}">{{lead}} ({{ forloop.counter }})<a></td>
|
||||
<td><a href="{$ url 'opportunity_detail' lead.opportunity.slug request.dealer.slug}">{{lead.opportunity}} ({{ forloop.counter }})</a></td>
|
||||
|
||||
<td>
|
||||
|
||||
{% for estimate in lead.customer.customer_model.estimatemodel_set.all %}
|
||||
<div class="me-2">{{estimate}}</div>
|
||||
<div class="me-2"><a href="{% url 'estimate_detail' request.dealer.slug estimate.pk %}">{{estimate}}</a></div>
|
||||
<hr>
|
||||
{% endfor %}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
{% for estimate in lead.customer.customer_model.estimatemodel_set.all %}
|
||||
<div>{{estimate.sale_orders.first}}</div>
|
||||
<div><a href={% url 'order_detail' request.dealer.slug estimate.sale_orders.first.pk%}>{{estimate.sale_orders.first}}</a></div>
|
||||
<hr>
|
||||
{% endfor %}
|
||||
</td>
|
||||
@ -169,11 +169,11 @@
|
||||
|
||||
{% if invoice.is_paid %}
|
||||
<span class="badge badge-phoenix fs-10 badge-phoenix-success">
|
||||
<div>{{invoice}}</div>
|
||||
<div><a href="{% url 'invoice_detail' request.dealer.slug request.entity.slug invoice.pk %}">{{invoice}}</a></div>
|
||||
</span>
|
||||
{%else%}
|
||||
<span class="badge badge-phoenix fs-10 badge-phoenix-info">
|
||||
<div>{{invoice}}</div>
|
||||
<div><a href="{% url 'invoice_detail' request.dealer.slug request.entity.slug invoice.pk %}">{{invoice}}</a></div>
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
@ -182,7 +182,7 @@
|
||||
</td>
|
||||
<td>
|
||||
{% for estimate in lead.customer.customer_model.invoicemodel_set.all %}
|
||||
<div>{{estimate.itemtransactionmodel_set.first.item_model.name}}</div>
|
||||
<div><a href="#">{{estimate.itemtransactionmodel_set.first.item_model.name}}</a></div>
|
||||
<hr>
|
||||
{% endfor %}
|
||||
<td>
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
align-items: center; /* Center content horizontally */
|
||||
}
|
||||
.empty-state-image {
|
||||
max-width: 50%; /* Responsive image size */
|
||||
max-width: 40%; /* Responsive image size */
|
||||
height: auto;
|
||||
margin-bottom: 10px;
|
||||
border-radius: 10px; /* Rounded corners for image */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user