add db to repo
This commit is contained in:
parent
f2fc2362a7
commit
9b3973805e
7 changed files with 97 additions and 55 deletions
|
@ -62,7 +62,7 @@ def installation_report_step(request, instance_id, step_id):
|
|||
assignment = InstallationAssignment.objects.filter(process_instance=instance).first()
|
||||
existing_report = InstallationReport.objects.filter(assignment=assignment).order_by('-created').first()
|
||||
edit_mode = True if request.GET.get('edit') == '1' else False
|
||||
|
||||
print("edit_mode", edit_mode)
|
||||
# current quote items baseline
|
||||
quote = Quote.objects.filter(process_instance=instance).first()
|
||||
quote_items = list(quote.items.select_related('item').all()) if quote else []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue