Skip to content

Commit

Permalink
debugging os modal prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophia-15 committed Jun 10, 2024
1 parent 747b0f4 commit 7e00638
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app_company/templates/app_company/service-order.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
<i data-lucide="x" class="close" id="closeIcon"></i>
</a>

<h1> {{ debug_current_url }} </h1>
<h1> {{ debug_previous_url }} </h1>

<div class="infos">
<h1>Solicitação {{service_order.id}}</h1>
<p class="{{service_order.status}} status">Status: {{ service_order.get_status_display }}</p>
Expand Down
4 changes: 3 additions & 1 deletion app_company/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,9 @@ def get(self, request, pk):
ctx = {
"all_orders": all_orders,
"employees": employees,
"previous_url": request.session['previous_url']
"previous_url": request.session['previous_url'] ,
"debug_current_url": current_url,
"debug_previous_url": previous_url
}

try:
Expand Down

0 comments on commit 7e00638

Please sign in to comment.