diff --git a/hesabixCore/templates/pdf/person_card.html.twig b/hesabixCore/templates/pdf/person_card.html.twig index 742ae7f..e2f399f 100644 --- a/hesabixCore/templates/pdf/person_card.html.twig +++ b/hesabixCore/templates/pdf/person_card.html.twig @@ -83,23 +83,69 @@
+ + جمع بستانکار: + + {{ sumBs | number_format }} + + |
+
+ + جمع بدهکار: + + {{ sumBd | number_format }} + + |
+
+ + تراز حساب: + + {{ (sumBs - sumBd) | abs |number_format }} + + |
+
+ + وضعیت: + + {% if sumBs > sumBd%} + بستانکار + {% elseif sumBs == sumBd %} + تسویه شده + {% else %} + بدهکار + {% endif %} + + |
+