From 3b83c9bc04e8c5d4ac3be024715694aa3019c93e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Wed, 3 Jan 2007 18:37:49 +0000 Subject: [PATCH] fix condition to display parameters summary. use a smaller font for account names git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11881 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../AccountingTransactionModule_journal_pdf_template.xml | 1 + .../AccountingTransactionModule_viewJournalAsPdf.xml | 2 +- bt5/erp5_accounting/bt/revision | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_journal_pdf_template.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_journal_pdf_template.xml index b14a154bd9..dedccbad65 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_journal_pdf_template.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_journal_pdf_template.xml @@ -82,6 +82,7 @@ <stylecmd expr="(\'VALIGN\', (0,0),(-1,-1), \'BOTTOM\')"/>\n </tablestyle>\n <tablestyle name=\'transaction_body\'>\n + <stylecmd expr="(\'FONT\', (0,0), (-1,-1), \'Helvetica\', 8)"/>\n <stylecmd expr="(\'LINEBEFORE\', (0,0),(2,0), 0.1, colors.black)"/>\n <stylecmd expr="(\'LINEAFTER\', (-3,0),(-1,0), 0.1, colors.black)"/>\n <stylecmd expr="(\'ALIGN\', (-2,0), (-1,-1), \'RIGHT\')"/>\n diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_viewJournalAsPdf.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_viewJournalAsPdf.xml index 6a38f6cba1..3a9ec40d5e 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_viewJournalAsPdf.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransactionModule_viewJournalAsPdf.xml @@ -66,7 +66,7 @@ \n <table splitbyrow="1" repeatrows="0"\n repeatcols="0" style="AttributesTable"\n - tal:condition="request/from_date | nothing">\n + tal:condition="request/at_date | nothing">\n <tr tal:condition="python: request.get(\'from_date\', 0)">\n <td colwidth="5cm"> <para style="TableHeader" tal:content="python: here.Base_translateString(\'From Date\')"/> </td>\n <td colwidth="15cm"> <para style="TableStandardRightAligned" tal:content="python: here.Base_FormatDate(request.get(\'from_date\'))"/></td> </tr>\n diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index b912dc118c..34bba940d1 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -155 \ No newline at end of file +156 \ No newline at end of file -- 2.30.9