add logo and fix sign. in print
This commit is contained in:
parent
10810f8700
commit
e2e4a6dad8
11 changed files with 40 additions and 71 deletions
|
|
@ -168,10 +168,12 @@
|
|||
<div class="col-4">
|
||||
{% if instance.broker.company and instance.broker.company.signature %}
|
||||
<div class="row d-flex justify-content-center">
|
||||
<h6 class="mb-3 text-center">مهر و امضا</h6>
|
||||
{% if instance.broker.company.signature %}
|
||||
<h6 class="mb-3 text-center">مهر و امضا
|
||||
{% if instance.broker.company.signature %}
|
||||
<img class="img-fluid" src="{{ instance.broker.company.signature.url }}" alt="امضای شرکت" style="">
|
||||
{% endif %}
|
||||
</h6>
|
||||
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@
|
|||
.items-table td {
|
||||
border-bottom: 1px solid #dee2e6;
|
||||
text-align: center;
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
.total-section {
|
||||
|
|
@ -227,10 +228,12 @@
|
|||
<div class="col-4">
|
||||
{% if instance.broker.company and instance.broker.company.signature %}
|
||||
<div class="row d-flex justify-content-center">
|
||||
<h6 class="mb-3 text-center">مهر و امضا</h6>
|
||||
{% if instance.broker.company.signature %}
|
||||
<h6 class="mb-3 text-center">مهر و امضا
|
||||
{% if instance.broker.company.signature %}
|
||||
<img class="img-fluid" src="{{ instance.broker.company.signature.url }}" alt="امضای شرکت" style="">
|
||||
{% endif %}
|
||||
</h6>
|
||||
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1104,9 +1104,9 @@ def final_settlement_step(request, instance_id, step_id):
|
|||
step_instance.status = 'completed'
|
||||
step_instance.completed_at = timezone.now()
|
||||
step_instance.save()
|
||||
# if next_step:
|
||||
# instance.current_step = next_step
|
||||
# instance.save(update_fields=['current_step'])
|
||||
if next_step:
|
||||
instance.current_step = next_step
|
||||
instance.save(update_fields=['current_step'])
|
||||
# return redirect('processes:step_detail', instance_id=instance.id, step_id=next_step.id)
|
||||
# return redirect('processes:request_list')
|
||||
except Exception:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue