[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [50] trunk



Revision: 50
          http://svn.sourceforge.net/ledger-smb/?rev=50&view=rev
Author:   einhverfr
Date:     2006-09-09 13:53:43 -0700 (Sat, 09 Sep 2006)

Log Message:
-----------
Added credit to Joshua Drake in the CONTRIBUTORS file.
CHanged the check printing behavior to warn when too many invoices are printed 
on the check stub.

Modified Paths:
--------------
    trunk/CONTRIBUTORS
    trunk/bin/mozilla/cp.pl
    trunk/ledger-smb.conf
    trunk/templates/Brazilian_Portuguese-check.tex
    trunk/templates/Danish-check.tex
    trunk/templates/Default-check.tex
    trunk/templates/Dutch-check.tex
    trunk/templates/Estonian-check.tex
    trunk/templates/Estonian_UTF8-check.tex
    trunk/templates/French-check.tex
    trunk/templates/German-check.tex
    trunk/templates/Hungarian-check.tex
    trunk/templates/Italian-check.tex
    trunk/templates/Norwegian-check.tex
    trunk/templates/Russian-check.tex
    trunk/templates/Service-check.tex
    trunk/templates/Spanish_A4-check.tex
    trunk/templates/Spanish_Letter-check.tex
    trunk/templates/Swedish-check.tex
    trunk/templates/Traditional_Chinese_Big5-check.tex
    trunk/templates/Traditional_Chinese_UTF8-check.tex

Modified: trunk/CONTRIBUTORS
===================================================================
--- trunk/CONTRIBUTORS	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/CONTRIBUTORS	2006-09-09 20:53:43 UTC (rev 50)
@@ -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.

Modified: trunk/bin/mozilla/cp.pl
===================================================================
--- trunk/bin/mozilla/cp.pl	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/bin/mozilla/cp.pl	2006-09-09 20:53:43 UTC (rev 50)
@@ -1249,11 +1249,17 @@
   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;

Modified: trunk/ledger-smb.conf
===================================================================
--- trunk/ledger-smb.conf	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/ledger-smb.conf	2006-09-09 20:53:43 UTC (rev 50)
@@ -18,10 +18,10 @@
 # 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;
 

Modified: trunk/templates/Brazilian_Portuguese-check.tex
===================================================================
--- trunk/templates/Brazilian_Portuguese-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/Brazilian_Portuguese-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -60,6 +60,6 @@
 \end{tabularx}
 
 \vfill
-
+<%message%>
 \end{document}
 

Modified: trunk/templates/Danish-check.tex
===================================================================
--- trunk/templates/Danish-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/Danish-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -70,6 +70,6 @@
 \end{tabularx}
 
 \vfill
-
+<%message%>
 \end{document}
 

Modified: trunk/templates/Default-check.tex
===================================================================
--- trunk/templates/Default-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/Default-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -72,6 +72,6 @@
 <%memo%>
 
 \vfill
-
+<%message%>
 \end{document}
 

Modified: trunk/templates/Dutch-check.tex
===================================================================
--- trunk/templates/Dutch-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/Dutch-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -70,6 +70,6 @@
 \end{tabularx}
 
 \vfill
-
+<%message%>
 \end{document}
 

Modified: trunk/templates/Estonian-check.tex
===================================================================
--- trunk/templates/Estonian-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/Estonian-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -72,6 +72,6 @@
 <%memo%>
 
 \vfill
-
+<%message%>
 \end{document}
 

Modified: trunk/templates/Estonian_UTF8-check.tex
===================================================================
--- trunk/templates/Estonian_UTF8-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/Estonian_UTF8-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -72,6 +72,6 @@
 <%memo%>
 
 \vfill
-
+<%message%>
 \end{document}
 

Modified: trunk/templates/French-check.tex
===================================================================
--- trunk/templates/French-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/French-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -70,6 +70,6 @@
 \end{tabularx}
 
 \vfill
-
+<%message%>
 \end{document}
 

Modified: trunk/templates/German-check.tex
===================================================================
--- trunk/templates/German-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/German-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -70,6 +70,6 @@
 \end{tabularx}
 
 \vfill
-
+<%message%>
 \end{document}
 

Modified: trunk/templates/Hungarian-check.tex
===================================================================
--- trunk/templates/Hungarian-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/Hungarian-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -74,7 +74,7 @@
 \end{tabularx}
 
 \vfill
-
+<%message%>
 \end{document}
 
 

Modified: trunk/templates/Italian-check.tex
===================================================================
--- trunk/templates/Italian-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/Italian-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -74,7 +74,7 @@
 \end{tabularx}
 
 \vfill
-
+<%message%>
 \end{document}
 
 

Modified: trunk/templates/Norwegian-check.tex
===================================================================
--- trunk/templates/Norwegian-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/Norwegian-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -74,7 +74,7 @@
 \end{tabularx}
 
 \vfill
-
+<%message%>
 \end{document}
 
 

Modified: trunk/templates/Russian-check.tex
===================================================================
--- trunk/templates/Russian-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/Russian-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -74,5 +74,5 @@
 <%memo%>
 
 \vfill
-
+<%message%>
 \end{document}

Modified: trunk/templates/Service-check.tex
===================================================================
--- trunk/templates/Service-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/Service-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -70,6 +70,6 @@
 \end{tabularx}
 
 \vfill
-
+<%message%>
 \end{document}
 

Modified: trunk/templates/Spanish_A4-check.tex
===================================================================
--- trunk/templates/Spanish_A4-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/Spanish_A4-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -70,6 +70,6 @@
 \end{tabularx}
 
 \vfill
-
+<%message%>
 \end{document}
 

Modified: trunk/templates/Spanish_Letter-check.tex
===================================================================
--- trunk/templates/Spanish_Letter-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/Spanish_Letter-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -70,6 +70,6 @@
 \end{tabularx}
 
 \vfill
-
+<%message%>
 \end{document}
 

Modified: trunk/templates/Swedish-check.tex
===================================================================
--- trunk/templates/Swedish-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/Swedish-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -74,7 +74,7 @@
 \end{tabularx}
 
 \vfill
-
+<%message%>
 \end{document}
 
 

Modified: trunk/templates/Traditional_Chinese_Big5-check.tex
===================================================================
--- trunk/templates/Traditional_Chinese_Big5-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/Traditional_Chinese_Big5-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -72,6 +72,6 @@
 <%memo%>
 
 \vfill
-
+<%message%>
 \end{document}
 

Modified: trunk/templates/Traditional_Chinese_UTF8-check.tex
===================================================================
--- trunk/templates/Traditional_Chinese_UTF8-check.tex	2006-09-09 17:43:07 UTC (rev 49)
+++ trunk/templates/Traditional_Chinese_UTF8-check.tex	2006-09-09 20:53:43 UTC (rev 50)
@@ -72,6 +72,6 @@
 <%memo%>
 
 \vfill
-
+<%message%>
 \end{document}
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.