diff options
-rw-r--r-- | CONTRIBUTORS | 12 | ||||
-rwxr-xr-x | bin/mozilla/cp.pl | 8 | ||||
-rw-r--r-- | ledger-smb.conf | 6 | ||||
-rwxr-xr-x | templates/Brazilian_Portuguese-check.tex | 2 | ||||
-rwxr-xr-x | templates/Danish-check.tex | 2 | ||||
-rwxr-xr-x | templates/Default-check.tex | 2 | ||||
-rwxr-xr-x | templates/Dutch-check.tex | 2 | ||||
-rwxr-xr-x | templates/Estonian-check.tex | 2 | ||||
-rwxr-xr-x | templates/Estonian_UTF8-check.tex | 2 | ||||
-rwxr-xr-x | templates/French-check.tex | 2 | ||||
-rwxr-xr-x | templates/German-check.tex | 2 | ||||
-rwxr-xr-x | templates/Hungarian-check.tex | 2 | ||||
-rwxr-xr-x | templates/Italian-check.tex | 2 | ||||
-rwxr-xr-x | templates/Norwegian-check.tex | 2 | ||||
-rwxr-xr-x | templates/Russian-check.tex | 2 | ||||
-rwxr-xr-x | templates/Service-check.tex | 2 | ||||
-rwxr-xr-x | templates/Spanish_A4-check.tex | 2 | ||||
-rwxr-xr-x | templates/Spanish_Letter-check.tex | 2 | ||||
-rwxr-xr-x | templates/Swedish-check.tex | 2 | ||||
-rwxr-xr-x | templates/Traditional_Chinese_Big5-check.tex | 2 | ||||
-rwxr-xr-x | templates/Traditional_Chinese_UTF8-check.tex | 2 |
21 files changed, 40 insertions, 22 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index cddd5eab..bf94c27a 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1,7 +1,19 @@ Copyright of individual lines of code may be owned in part by the contributors. Dieter Simader <dsimader @ sql-ledger.com> +Original author of SQL-Ledger, on which LedgerSMB is based. + Chris Travers <chris @ metatrontech.com> +Wrote the inventory activity report, helped with the session handling fix, +and other tasks. + Christopher Murtagh <christopher.murtagh @ gmail.com> +Wrote the session handling fix, has begun reformatting the files to fit the +current coding standards, and other contributions. + +Joshua Drake <jd @ commandprompt . com> +Contributed database fixes. + Christopher Browne <cbrowne @ acm.org> Tony Fraser <tony @ sybaspace.com> +Both of the above are mentioned as contributors to a single file in SQL-Ledger. diff --git a/bin/mozilla/cp.pl b/bin/mozilla/cp.pl index 8848c9cb..2e4aa8e7 100755 --- a/bin/mozilla/cp.pl +++ b/bin/mozilla/cp.pl @@ -1249,11 +1249,17 @@ sub print_payment { for (qw(company address)) { $form->{$_} = $myconfig{$_} } $form->{address} =~ s/\\n/\n/g; - @a = qw(name company address text_amount text_decimal address1 address2 city state zipcode country memo); + @a = qw(rowcount name company address text_amount text_decimal address1 address2 city state zipcode country memo); %temp = (); for (@a) { $temp{$_} = $form->{$_} } + if (scalar @{$form->{invnumber}} > $check_max_invoices) { + $#{$form->{invnumber}} = $check_max_invoices - 1; + $form->{invnumbers_maxed} = 1; + $form->{message} = $locale->text("Please see attatched report for list of invoices paid."); + } + $form->format_string(@a); &print_form; diff --git a/ledger-smb.conf b/ledger-smb.conf index cd16e308..dd415a71 100644 --- a/ledger-smb.conf +++ b/ledger-smb.conf @@ -18,9 +18,9 @@ $sendmail = "| /usr/sbin/sendmail -t"; # set language for login and admin $language = ""; -# Oracle -#$sid = "T80509"; -#$ENV{"ORACLE_HOME"} = "/usr/local/oracle"; +# Maximum number of invoices that can be printed on a check +$check_max_invoices = 5; + # if you have latex installed set to 1 $latex = 1; diff --git a/templates/Brazilian_Portuguese-check.tex b/templates/Brazilian_Portuguese-check.tex index ff3af006..477398af 100755 --- a/templates/Brazilian_Portuguese-check.tex +++ b/templates/Brazilian_Portuguese-check.tex @@ -60,6 +60,6 @@ \end{tabularx} \vfill - +<%message%> \end{document} diff --git a/templates/Danish-check.tex b/templates/Danish-check.tex index 6742b5b5..a3950c17 100755 --- a/templates/Danish-check.tex +++ b/templates/Danish-check.tex @@ -70,6 +70,6 @@ \end{tabularx} \vfill - +<%message%> \end{document} diff --git a/templates/Default-check.tex b/templates/Default-check.tex index 908f0e79..e1d5f566 100755 --- a/templates/Default-check.tex +++ b/templates/Default-check.tex @@ -72,6 +72,6 @@ <%memo%> \vfill - +<%message%> \end{document} diff --git a/templates/Dutch-check.tex b/templates/Dutch-check.tex index 6742b5b5..a3950c17 100755 --- a/templates/Dutch-check.tex +++ b/templates/Dutch-check.tex @@ -70,6 +70,6 @@ \end{tabularx} \vfill - +<%message%> \end{document} diff --git a/templates/Estonian-check.tex b/templates/Estonian-check.tex index 908f0e79..e1d5f566 100755 --- a/templates/Estonian-check.tex +++ b/templates/Estonian-check.tex @@ -72,6 +72,6 @@ <%memo%> \vfill - +<%message%> \end{document} diff --git a/templates/Estonian_UTF8-check.tex b/templates/Estonian_UTF8-check.tex index 908f0e79..e1d5f566 100755 --- a/templates/Estonian_UTF8-check.tex +++ b/templates/Estonian_UTF8-check.tex @@ -72,6 +72,6 @@ <%memo%> \vfill - +<%message%> \end{document} diff --git a/templates/French-check.tex b/templates/French-check.tex index 6742b5b5..a3950c17 100755 --- a/templates/French-check.tex +++ b/templates/French-check.tex @@ -70,6 +70,6 @@ \end{tabularx} \vfill - +<%message%> \end{document} diff --git a/templates/German-check.tex b/templates/German-check.tex index 881ee374..adad24d9 100755 --- a/templates/German-check.tex +++ b/templates/German-check.tex @@ -70,6 +70,6 @@ \end{tabularx} \vfill - +<%message%> \end{document} diff --git a/templates/Hungarian-check.tex b/templates/Hungarian-check.tex index 08c95c3d..c543be12 100755 --- a/templates/Hungarian-check.tex +++ b/templates/Hungarian-check.tex @@ -74,7 +74,7 @@ \end{tabularx} \vfill - +<%message%> \end{document} diff --git a/templates/Italian-check.tex b/templates/Italian-check.tex index a5c06aa6..0eafc60e 100755 --- a/templates/Italian-check.tex +++ b/templates/Italian-check.tex @@ -74,7 +74,7 @@ \end{tabularx} \vfill - +<%message%> \end{document} diff --git a/templates/Norwegian-check.tex b/templates/Norwegian-check.tex index 75699ba3..2af7f53b 100755 --- a/templates/Norwegian-check.tex +++ b/templates/Norwegian-check.tex @@ -74,7 +74,7 @@ \end{tabularx} \vfill - +<%message%> \end{document} diff --git a/templates/Russian-check.tex b/templates/Russian-check.tex index 7f25a218..c92dd218 100755 --- a/templates/Russian-check.tex +++ b/templates/Russian-check.tex @@ -74,5 +74,5 @@ <%memo%> \vfill - +<%message%> \end{document} diff --git a/templates/Service-check.tex b/templates/Service-check.tex index 6742b5b5..a3950c17 100755 --- a/templates/Service-check.tex +++ b/templates/Service-check.tex @@ -70,6 +70,6 @@ \end{tabularx} \vfill - +<%message%> \end{document} diff --git a/templates/Spanish_A4-check.tex b/templates/Spanish_A4-check.tex index 4e7cfc62..6311b71b 100755 --- a/templates/Spanish_A4-check.tex +++ b/templates/Spanish_A4-check.tex @@ -70,6 +70,6 @@ \end{tabularx} \vfill - +<%message%> \end{document} diff --git a/templates/Spanish_Letter-check.tex b/templates/Spanish_Letter-check.tex index 6742b5b5..a3950c17 100755 --- a/templates/Spanish_Letter-check.tex +++ b/templates/Spanish_Letter-check.tex @@ -70,6 +70,6 @@ \end{tabularx} \vfill - +<%message%> \end{document} diff --git a/templates/Swedish-check.tex b/templates/Swedish-check.tex index e36f6fbf..532fd026 100755 --- a/templates/Swedish-check.tex +++ b/templates/Swedish-check.tex @@ -74,7 +74,7 @@ \end{tabularx} \vfill - +<%message%> \end{document} diff --git a/templates/Traditional_Chinese_Big5-check.tex b/templates/Traditional_Chinese_Big5-check.tex index 908f0e79..e1d5f566 100755 --- a/templates/Traditional_Chinese_Big5-check.tex +++ b/templates/Traditional_Chinese_Big5-check.tex @@ -72,6 +72,6 @@ <%memo%> \vfill - +<%message%> \end{document} diff --git a/templates/Traditional_Chinese_UTF8-check.tex b/templates/Traditional_Chinese_UTF8-check.tex index 908f0e79..e1d5f566 100755 --- a/templates/Traditional_Chinese_UTF8-check.tex +++ b/templates/Traditional_Chinese_UTF8-check.tex @@ -72,6 +72,6 @@ <%memo%> \vfill - +<%message%> \end{document} |