From bc0bcc74b08004e939a0730b6d152c89dc7ba8e9 Mon Sep 17 00:00:00 2001 From: babak alizadeh Date: Tue, 16 Apr 2024 11:11:36 +0000 Subject: [PATCH] some progress --- hesabixCore/.gitignore | 2 +- .../templates/pdf/personsDebtors.html.twig | 38 +++++++++++++++++++ .../templates/pdf/personsDepositors.html.twig | 38 +++++++++++++++++++ 3 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 hesabixCore/templates/pdf/personsDebtors.html.twig create mode 100644 hesabixCore/templates/pdf/personsDepositors.html.twig diff --git a/hesabixCore/.gitignore b/hesabixCore/.gitignore index cc1b591..1721b50 100644 --- a/hesabixCore/.gitignore +++ b/hesabixCore/.gitignore @@ -6,7 +6,7 @@ /../public_html/bundles/ /../public_html/cdn/ /var/ -/templates/ + /vendor/ /../hesabixArchive/ ###< symfony/framework-bundle ### diff --git a/hesabixCore/templates/pdf/personsDebtors.html.twig b/hesabixCore/templates/pdf/personsDebtors.html.twig new file mode 100644 index 0000000..728e371 --- /dev/null +++ b/hesabixCore/templates/pdf/personsDebtors.html.twig @@ -0,0 +1,38 @@ +{% extends "pdf/base.html.twig" %} +{% block body %} + + + + + + + + + + + + + + + + + {% for person in persons %} + + + + + + + + + + + + + + + + {% endfor %} + +
 
ردیفنام و نام خانوادگینام مستعارشرکتکشوراستانشهرآدرسکد پستیتلفنموبایلمبلغ بدهی
{{ loop.index }}{{ person.name }}{{ person.nikename }}{{ person.company }}{{ person.keshvar }}{{ person.ostan }}{{ person.shahr }}{{ person.address }}{{ person.postalcode }}{{ person.tel }}{{ person.mobile }}{{ person.bd | number_format }}
+{% endblock %} \ No newline at end of file diff --git a/hesabixCore/templates/pdf/personsDepositors.html.twig b/hesabixCore/templates/pdf/personsDepositors.html.twig new file mode 100644 index 0000000..50eb3ef --- /dev/null +++ b/hesabixCore/templates/pdf/personsDepositors.html.twig @@ -0,0 +1,38 @@ +{% extends "pdf/base.html.twig" %} +{% block body %} + + + + + + + + + + + + + + + + + {% for person in persons %} + + + + + + + + + + + + + + + + {% endfor %} + +
 
ردیفنام و نام خانوادگینام مستعارشرکتکشوراستانشهرآدرسکد پستیتلفنموبایلمبلغ بستانکاری
{{ loop.index }}{{ person.name }}{{ person.nikename }}{{ person.company }}{{ person.keshvar }}{{ person.ostan }}{{ person.shahr }}{{ person.address }}{{ person.postalcode }}{{ person.tel }}{{ person.mobile }}{{ person.bs | number_format }}
+{% endblock %} \ No newline at end of file