[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[4709] branches/1.3
- Subject: SF.net SVN: ledger-smb:[4709] branches/1.3
- From: ..hidden..
- Date: Sun, 13 May 2012 14:10:33 +0000
Revision: 4709
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4709&view=rev
Author: einhverfr
Date: 2012-05-13 14:10:33 +0000 (Sun, 13 May 2012)
Log Message:
-----------
Removed breakpoints accidently left in
Fixed is_zero error when printing invoice
Modified Paths:
--------------
branches/1.3/Changelog
branches/1.3/LedgerSMB/IS.pm
branches/1.3/bin/io.pl
branches/1.3/sql/Pg-database.sql
branches/1.3/templates/demo/invoice.tex
Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog 2012-05-13 09:24:26 UTC (rev 4708)
+++ branches/1.3/Changelog 2012-05-13 14:10:33 UTC (rev 4709)
@@ -9,7 +9,9 @@
* Fixed company name/address missing from balance sheet (Chris T, h/t Mark L)
* Optional image retrieval with size detection for latex templates (Chris T)
* Added option to attach images to LaTeX PDF invoices/orders/etc (Chris T)
+* Corrected one is_zero error with latest Math::BigInt (Chris T)
+
Mark L is Matt Lubratt
Changelog for 1.3.16
Modified: branches/1.3/LedgerSMB/IS.pm
===================================================================
--- branches/1.3/LedgerSMB/IS.pm 2012-05-13 09:24:26 UTC (rev 4708)
+++ branches/1.3/LedgerSMB/IS.pm 2012-05-13 14:10:33 UTC (rev 4709)
@@ -714,6 +714,8 @@
$form->format_string(qw(text_amount text_decimal));
+ $form->{invtotal} ||= 0;
+ $form->{paid} ||= 0;
$form->{total} =
$form->format_amount( $myconfig, $form->{invtotal} - $form->{paid}, 2 );
Modified: branches/1.3/bin/io.pl
===================================================================
--- branches/1.3/bin/io.pl 2012-05-13 09:24:26 UTC (rev 4708)
+++ branches/1.3/bin/io.pl 2012-05-13 14:10:33 UTC (rev 4709)
@@ -1592,11 +1592,8 @@
);
$form->{file_list} = ..hidden..;
$form->{file_path} = $file->file_path;
- $form->error($file->file_path);
}
- $form->error;
-
&validate_items;
$form->{"${inv}date"} = $form->{transdate};
Modified: branches/1.3/sql/Pg-database.sql
===================================================================
--- branches/1.3/sql/Pg-database.sql 2012-05-13 09:24:26 UTC (rev 4708)
+++ branches/1.3/sql/Pg-database.sql 2012-05-13 14:10:33 UTC (rev 4709)
@@ -3769,7 +3769,7 @@
CREATE TABLE mime_type (
id serial not null unique,
mime_type text primary key,
- invoice_include bool default false,
+ invoice_include bool default false
);
COMMENT ON TABLE mime_type IS
Modified: branches/1.3/templates/demo/invoice.tex
===================================================================
--- branches/1.3/templates/demo/invoice.tex 2012-05-13 09:24:26 UTC (rev 4708)
+++ branches/1.3/templates/demo/invoice.tex 2012-05-13 14:10:33 UTC (rev 4709)
@@ -1,4 +1,4 @@
-<?lsmb FILTER latex -?>
+<?lsmb # FILTER latex -?>
\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{tabularx}
@@ -215,4 +215,4 @@
\usebox{\ftr}
\end{document}
-<?lsmb END ?>
+<?lsmb # END ?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.