On Fri, Apr 24, 2009 at 1:17 AM, Maanus Kask <[email protected]> wrote:
> Hi,
>
> How can I prevent ledgersmb lefting logo.* files in /tmp/ after
> printing invoices?
>
> There is problem as soon as at least one company does not have a logo,
> then he gets someone else's logo in his invoice instead.

You could add an unlink call to LedgerSMB Form.pm (approx line 1013),
right after:

if ( $self->{format} =~ /(postscript|pdf)/ || $self->{media} eq 'email' ) {

and before:

if ( $self->{media} eq 'email' ) {

We may want to add this to fixes for 1.2.19.

Best Wishes,
Chris Travers

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ledger-smb-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users

Reply via email to