[Vtigercrm-developers] [PATCH] TeX rendering API and invoice pdf

Minnie A minnie at vtiger.com
Sun Dec 30 21:59:41 PST 2007


Hi,

Kindly find the status of the patches which taken up for 5.0.4 release.


 S.No
Patch
Contributor
File
Message
Status
Comment
1
new functions and some cleanups  weigelt at metux.de01_PearDatabase_newfuncs.diff
Hi folks,

here are some patches (against latest trunk), which introduce
the new functions and so some cleanups.

cu Integrated

2
new functions and some cleanups  weigelt at metux.de
3_strip_useless_comments.diff
Integrated
3
remove noise in invoice module weigelt at metux.de02_nekrad-remove-noise.diffHi
folks,

this patch removes some noise in the invoice module ...

cuNot integrated
Expected behaviour.
4
PearDatabase.php sanity check in Move()weigelt at metux.de
08_nekrad_peardb_sanitycheck-1.diffHi folks,

as we sometimes get some errors like:

# Fatal error: Call to a member function Move() on a non-object
# in .../include/database/PearDatabase.php on line 443

Obviously sometimes the query_result() method is called with an
non-existing result object.

This patch adds an check which throws an exception on missing
result object, so we can easily track it down.


cu Integrated
5
Invoice: fix PDF link weigelt at metux.deinvoice-link-pdf.diff
Hi folks,

this patch fixes the really strange javascript link for pdf
invoice to an plain url.

cuDifferent fix has been integrated.

6
some new $adb (PearDatabase) methods weigelt at metux.de09_nekrad_peardb-
newfuncs.diff
Hi folks,

this patch adds two new functions to the PearDatabase ($adb)
class:

* sql_concat(array):
generates an sql expression for field concatenations, based
on selected RDBMS.

* run_query_field(string):
executes an given SQL query and returns only the first field
of the first record.


cu Integrated
7
leads module fix (postgres) weigelt at metux.de31_nekrad-leads-fix.diff
Hi folks,


the leads module (Tracker.php) suffers from an sql bug: it uses
mysql specific sql statements for concatenating fields. This ends
up in empty result objects and so the already mentioned error
of trying to call Move() on non-object.

This patch solves this by using the new PearDatabas::sql_concat()
function (see prev. patch) for creating the statement.

Also this patch calls the new PearDatabase::run_query_field()
for the one-field-query.


cuIntegrated with small modification.

8
Link leak in calendar module calendar viewjon at eyesopen.comcalendarlink.patch
Integrated


Thanks & Regards,
Minnie

On 12/29/07, Enrico Weigelt <weigelt at metux.de> wrote:
>
> * Enrico Weigelt <weigelt at metux.de> schrieb:
>
> Hi,
>
> > these patches add an universal rendering API for things like
> > invoices and an TeX renderer backend. The old invoice pdf code
> > is changed to run via the rendering API. Now it's very easy to
> > add new renderers. I also included my own templates as example.
> >
> > The API patch (renderapi-1) does not change anything but just
> > adding some new files in the lib/render/ subdir and could be
> > applied to 5.1 and 5.1_jens asap.
>
> What's the current status on my this patch ?
>
>
> cu
> _______________________________________________
> Reach hundreds of potential candidates - http://jobs.vtiger.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20071231/00d4f67a/attachment-0003.html 


More information about the vtigercrm-developers mailing list