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

SF.net SVN: ledger-smb:[4009] branches/1.3



Revision: 4009
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4009&view=rev
Author:   einhverfr
Date:     2011-11-17 09:16:16 +0000 (Thu, 17 Nov 2011)
Log Message:
-----------
Fixes for xelatex templates, fixes for order entry and company name display

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/LedgerSMB/OE.pm
    branches/1.3/templates/xedemo/ap_transaction.tex
    branches/1.3/templates/xedemo/ar_transaction.tex
    branches/1.3/templates/xedemo/bin_list.tex
    branches/1.3/templates/xedemo/check.tex
    branches/1.3/templates/xedemo/check_multiple.tex
    branches/1.3/templates/xedemo/invoice.tex
    branches/1.3/templates/xedemo/packing_list.tex
    branches/1.3/templates/xedemo/pick_list.tex
    branches/1.3/templates/xedemo/purchase_order.tex
    branches/1.3/templates/xedemo/receipt.tex
    branches/1.3/templates/xedemo/request_quotation.tex
    branches/1.3/templates/xedemo/sales_order.tex
    branches/1.3/templates/xedemo/sales_quotation.tex
    branches/1.3/templates/xedemo/statement.tex
    branches/1.3/templates/xedemo/timecard.tex
    branches/1.3/templates/xedemo/work_order.tex

Added Paths:
-----------
    branches/1.3/templates/xedemo/

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2011-11-15 11:17:04 UTC (rev 4008)
+++ branches/1.3/Changelog	2011-11-17 09:16:16 UTC (rev 4009)
@@ -2,6 +2,13 @@
 Initial Release:  Monday, Oct 12 2011
 Supported Presently
 
+Changelog for LedgerSMB 1.3.6
+* Including xelatex templates under directory templates/xedemo (Chris T)
+* Fix for company name in order entry (David B)
+
+Chris T is Chris Travers
+David B is David Bandel
+
 Changelog for LedgerSMB 1.3.5
 * Fixing Menu and Permissions bug 3430820 (Chris T)
 * Fixing permissions bug 3433644 (Chris T)

Modified: branches/1.3/LedgerSMB/OE.pm
===================================================================
--- branches/1.3/LedgerSMB/OE.pm	2011-11-15 11:17:04 UTC (rev 4008)
+++ branches/1.3/LedgerSMB/OE.pm	2011-11-17 09:16:16 UTC (rev 4009)
@@ -151,7 +151,7 @@
 
         $query = qq|
 			SELECT DISTINCT o.id, o.ordnumber, o.transdate,
-				o.reqdate, o.amount, ct.name, o.netamount, 
+				o.reqdate, o.amount, ct.legal_name, o.netamount, 
 				o.entity_credit_account as $form->{vc}_id, ex.$rate AS exchangerate,
 		 		o.closed, o.quonumber, o.shippingpoint, 
 				o.shipvia, ee.name AS employee, o.curr, 
@@ -200,7 +200,7 @@
         $query .= qq| AND o.$form->{vc}_id = $form->{"$form->{vc}_id"}|;
     }
     elsif ( $form->{ $form->{vc} } ne "" ) {
-        $query .= " AND lower(ct.name) LIKE ?";
+        $query .= " AND lower(ct.legal_name) LIKE ?";
         push @queryargs, $name;
     }
 

Modified: branches/1.3/templates/xedemo/ap_transaction.tex
===================================================================
--- branches/1.3/templates/demo/ap_transaction.tex	2011-11-14 21:57:48 UTC (rev 4004)
+++ branches/1.3/templates/xedemo/ap_transaction.tex	2011-11-17 09:16:16 UTC (rev 4009)
@@ -1,6 +1,7 @@
 <?lsmb FILTER latex -?>
 \documentclass{scrartcl}
-\usepackage[utf8]{inputenc}
+ \usepackage{xltxtra}
+ \setmainfont{Verdana}
 \usepackage{tabularx}
 \usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
 \usepackage{graphicx}
@@ -11,8 +12,6 @@
 \pagestyle{myheadings}
 \thispagestyle{empty}
 
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
 <?lsmb INCLUDE letterhead.tex ?>
 
 \centerline{\MakeUppercase{\textbf{<?lsmb text('AP Transaction') ?>}}}

Modified: branches/1.3/templates/xedemo/ar_transaction.tex
===================================================================
--- branches/1.3/templates/demo/ar_transaction.tex	2011-11-14 21:57:48 UTC (rev 4004)
+++ branches/1.3/templates/xedemo/ar_transaction.tex	2011-11-17 09:16:16 UTC (rev 4009)
@@ -1,6 +1,7 @@
 <?lsmb FILTER latex -?>
 \documentclass{scrartcl}
-\usepackage[utf8]{inputenc}
+ \usepackage{xltxtra}
+ \setmainfont{Verdana}
 \usepackage{tabularx}
 \usepackage[top=2cm,bottom=1.5cm,left=2cm,right=1cm]{geometry}
 \usepackage{graphicx}
@@ -10,8 +11,6 @@
 
 \pagestyle{empty}
 
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
 \parbox{\textwidth}{%
   \parbox[b]{.42\textwidth}{%
     <?lsmb company ?>

Modified: branches/1.3/templates/xedemo/bin_list.tex
===================================================================
--- branches/1.3/templates/demo/bin_list.tex	2011-11-14 21:57:48 UTC (rev 4004)
+++ branches/1.3/templates/xedemo/bin_list.tex	2011-11-17 09:16:16 UTC (rev 4009)
@@ -1,6 +1,7 @@
 <?lsmb FILTER latex -?>
 \documentclass{scrartcl}
-\usepackage[utf8]{inputenc}
+ \usepackage{xltxtra}
+ \setmainfont{Verdana}
 \usepackage{tabularx}
 \usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
 \usepackage{graphicx}
@@ -10,8 +11,6 @@
 \pagestyle{myheadings}
 \thispagestyle{empty}
 
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
 <?lsmb INCLUDE letterhead.tex ?>
 
 

Modified: branches/1.3/templates/xedemo/check.tex
===================================================================
--- branches/1.3/templates/demo/check.tex	2011-11-14 21:57:48 UTC (rev 4004)
+++ branches/1.3/templates/xedemo/check.tex	2011-11-17 09:16:16 UTC (rev 4009)
@@ -1,6 +1,7 @@
 <?lsmb FILTER latex ?>
 \documentclass{scrartcl}
-\usepackage[latin1]{inputenc}
+ \usepackage{xltxtra}
+ \setmainfont{Verdana}
 \usepackage{tabularx}
 \usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
 \usepackage{graphicx}
@@ -12,8 +13,6 @@
 \pagestyle{myheadings}
 \thispagestyle{empty}
 
-\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
-
 <?lsmb PROCESS check_single ?>
 
 \end{document}

Modified: branches/1.3/templates/xedemo/check_multiple.tex
===================================================================
--- branches/1.3/templates/demo/check_multiple.tex	2011-11-14 21:57:48 UTC (rev 4004)
+++ branches/1.3/templates/xedemo/check_multiple.tex	2011-11-17 09:16:16 UTC (rev 4009)
@@ -1,6 +1,7 @@
 <?lsmb FILTER latex ?>
 \documentclass{scrartcl}
-\usepackage[latin1]{inputenc}
+ \usepackage{xltxtra}
+ \setmainfont{Verdana}
 \usepackage{tabularx}
 \usepackage{graphicx}
 \usepackage{textpos}
@@ -12,7 +13,6 @@
 \pagestyle{myheadings}
 \thispagestyle{empty}
 
-\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
 <?lsmb FOR check = checks ?>
 <?lsmb INCLUDE check_single 
 	source = check.source

Modified: branches/1.3/templates/xedemo/invoice.tex
===================================================================
--- branches/1.3/templates/demo/invoice.tex	2011-11-14 21:57:48 UTC (rev 4004)
+++ branches/1.3/templates/xedemo/invoice.tex	2011-11-17 09:16:16 UTC (rev 4009)
@@ -1,8 +1,8 @@
 <?lsmb FILTER latex -?>
 \documentclass{scrartcl}
-\usepackage[utf8]{inputenc}
 \usepackage{tabularx}
 \usepackage{longtable}
+\setmainfont[]{Times}
 \usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
 \usepackage{graphicx}
 \setlength\LTleft{0pt}
@@ -12,8 +12,6 @@
 \pagestyle{myheadings}
 \thispagestyle{empty}
 
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
 <?lsmb BLOCK multiline -?>
 \begin{minipage}{2in}
 \medskip

Modified: branches/1.3/templates/xedemo/packing_list.tex
===================================================================
--- branches/1.3/templates/demo/packing_list.tex	2011-11-14 21:57:48 UTC (rev 4004)
+++ branches/1.3/templates/xedemo/packing_list.tex	2011-11-17 09:16:16 UTC (rev 4009)
@@ -1,6 +1,7 @@
 <?lsmb FILTER latex -?>
 \documentclass{scrartcl}
-\usepackage[utf8]{inputenc}
+ \usepackage{xltxtra}
+ \setmainfont{Verdana}
 \usepackage{tabularx}
 \usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
 \usepackage{graphicx}
@@ -10,8 +11,6 @@
 \pagestyle{myheadings}
 \thispagestyle{empty}
 
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
 \newsavebox{\ftr}
 \sbox{\ftr}{
   \parbox{\textwidth}{

Modified: branches/1.3/templates/xedemo/pick_list.tex
===================================================================
--- branches/1.3/templates/demo/pick_list.tex	2011-11-14 21:57:48 UTC (rev 4004)
+++ branches/1.3/templates/xedemo/pick_list.tex	2011-11-17 09:16:16 UTC (rev 4009)
@@ -1,6 +1,7 @@
 <?lsmb FILTER latex -?>
 \documentclass{scrartcl}
-\usepackage[utf8]{inputenc}
+ \usepackage{xltxtra}
+ \setmainfont{Verdana}
 \usepackage{tabularx}
 \usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
 \usepackage{graphicx}
@@ -10,8 +11,6 @@
 \pagestyle{myheadings}
 \thispagestyle{empty}
 
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
 <?lsmb INCLUDE letterhead.tex ?>
 
 

Modified: branches/1.3/templates/xedemo/purchase_order.tex
===================================================================
--- branches/1.3/templates/demo/purchase_order.tex	2011-11-14 21:57:48 UTC (rev 4004)
+++ branches/1.3/templates/xedemo/purchase_order.tex	2011-11-17 09:16:16 UTC (rev 4009)
@@ -1,6 +1,7 @@
 <?lsmb FILTER latex -?>
 \documentclass{scrartcl}
-\usepackage[utf8]{inputenc}
+ \usepackage{xltxtra}
+ \setmainfont{Verdana}
 \usepackage{tabularx}
 \usepackage{longtable}
 \setlength\LTleft{0pt}
@@ -14,8 +15,6 @@
 \pagestyle{myheadings}
 \thispagestyle{empty}
 
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
 <?lsmb INCLUDE letterhead.tex ?>
 
 

Modified: branches/1.3/templates/xedemo/receipt.tex
===================================================================
--- branches/1.3/templates/demo/receipt.tex	2011-11-14 21:57:48 UTC (rev 4004)
+++ branches/1.3/templates/xedemo/receipt.tex	2011-11-17 09:16:16 UTC (rev 4009)
@@ -1,6 +1,7 @@
 <?lsmb FILTER latex -?>
 \documentclass{scrartcl}
-\usepackage[utf8]{inputenc}
+ \usepackage{xltxtra}
+ \setmainfont{Verdana}
 \usepackage{tabularx}
 \usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
 \usepackage{graphicx}
@@ -10,8 +11,6 @@
 \pagestyle{myheadings}
 \thispagestyle{empty}
 
-\fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
-
 \parbox[t]{12cm}{
   <?lsmb company ?>
 

Modified: branches/1.3/templates/xedemo/request_quotation.tex
===================================================================
--- branches/1.3/templates/demo/request_quotation.tex	2011-11-14 21:57:48 UTC (rev 4004)
+++ branches/1.3/templates/xedemo/request_quotation.tex	2011-11-17 09:16:16 UTC (rev 4009)
@@ -1,6 +1,7 @@
 <?lsmb FILTER latex -?>
 \documentclass{scrartcl}
-\usepackage[utf8]{inputenc}
+ \usepackage{xltxtra}
+ \setmainfont{Verdana}
 \usepackage{tabularx}
 \usepackage{longtable}
 \setlength\LTleft{0pt}
@@ -13,8 +14,6 @@
 \pagestyle{myheadings}
 \thispagestyle{empty}
 
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
 <?lsmb INCLUDE letterhead.tex ?>
 
 

Modified: branches/1.3/templates/xedemo/sales_order.tex
===================================================================
--- branches/1.3/templates/demo/sales_order.tex	2011-11-14 21:57:48 UTC (rev 4004)
+++ branches/1.3/templates/xedemo/sales_order.tex	2011-11-17 09:16:16 UTC (rev 4009)
@@ -1,6 +1,7 @@
 <?lsmb FILTER latex -?>
 \documentclass{scrartcl}
-\usepackage[utf8]{inputenc}
+ \usepackage{xltxtra}
+ \setmainfont{Verdana}
 \usepackage{tabularx}
 \usepackage{longtable}
 \usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
@@ -13,8 +14,6 @@
 \pagestyle{myheadings}
 \thispagestyle{empty}
 
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
 <?lsmb INCLUDE letterhead.tex ?>
 
 

Modified: branches/1.3/templates/xedemo/sales_quotation.tex
===================================================================
--- branches/1.3/templates/demo/sales_quotation.tex	2011-11-14 21:57:48 UTC (rev 4004)
+++ branches/1.3/templates/xedemo/sales_quotation.tex	2011-11-17 09:16:16 UTC (rev 4009)
@@ -1,6 +1,7 @@
 <?lsmb FILTER latex -?>
 \documentclass{scrartcl}
-\usepackage[utf8]{inputenc}
+ \usepackage{xltxtra}
+ \setmainfont{Verdana}
 \usepackage{tabularx}
 \usepackage{longtable}
 \setlength\LTleft{0pt}
@@ -13,8 +14,6 @@
 \pagestyle{myheadings}
 \thispagestyle{empty}
 
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
 \newsavebox{\ftr}
 \sbox{\ftr}{
   \parbox{\textwidth}{

Modified: branches/1.3/templates/xedemo/statement.tex
===================================================================
--- branches/1.3/templates/demo/statement.tex	2011-11-14 21:57:48 UTC (rev 4004)
+++ branches/1.3/templates/xedemo/statement.tex	2011-11-17 09:16:16 UTC (rev 4009)
@@ -1,6 +1,7 @@
 <?lsmb FILTER latex -?>
 \documentclass{scrartcl}
-\usepackage[utf8]{inputenc}
+ \usepackage{xltxtra}
+ \setmainfont{Verdana}
 \usepackage{tabularx}
 \usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
 \usepackage{graphicx}
@@ -12,8 +13,6 @@
 \pagestyle{myheadings}
 \thispagestyle{empty}
 
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
 <?lsmb INCLUDE letterhead.tex ?>
 
 \parbox[t]{.5\textwidth}{

Modified: branches/1.3/templates/xedemo/timecard.tex
===================================================================
--- branches/1.3/templates/demo/timecard.tex	2011-11-14 21:57:48 UTC (rev 4004)
+++ branches/1.3/templates/xedemo/timecard.tex	2011-11-17 09:16:16 UTC (rev 4009)
@@ -1,6 +1,7 @@
 <?lsmb FILTER latex -?>
 \documentclass{scrartcl}
-\usepackage[utf8]{inputenc}
+ \usepackage{xltxtra}
+ \setmainfont{Verdana}
 \usepackage{tabularx}
 \usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
 \usepackage{graphicx}
@@ -10,8 +11,6 @@
 \pagestyle{myheadings}
 \thispagestyle{empty}
 
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
 <?lsmb INCLUDE letterhead.tex ?>
 
 \centerline{\textbf{\MakeUppercase{<?lsmb text('Time Card') ?>}}}

Modified: branches/1.3/templates/xedemo/work_order.tex
===================================================================
--- branches/1.3/templates/demo/work_order.tex	2011-11-14 21:57:48 UTC (rev 4004)
+++ branches/1.3/templates/xedemo/work_order.tex	2011-11-17 09:16:16 UTC (rev 4009)
@@ -1,6 +1,7 @@
 <?lsmb FILTER latex -?>
 \documentclass{scrartcl}
-\usepackage[utf8]{inputenc}
+ \usepackage{xltxtra}
+ \setmainfont{Verdana}
 \usepackage{tabularx}
 \usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
 \usepackage{graphicx}
@@ -10,8 +11,6 @@
 \pagestyle{myheadings}
 \thispagestyle{empty}
 
-\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
-
 <?lsmb INCLUDE letterhead.tex ?>
 
 

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