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

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



Revision: 4935
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4935&view=rev
Author:   einhverfr
Date:     2012-06-21 06:15:24 +0000 (Thu, 21 Jun 2012)
Log Message:
-----------
Demo templates now do better breaking of paragraphs in notes

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/templates/demo/ap_transaction.html
    branches/1.3/templates/demo/ap_transaction.tex
    branches/1.3/templates/demo/ar_transaction.html
    branches/1.3/templates/demo/ar_transaction.tex
    branches/1.3/templates/demo/invoice.html
    branches/1.3/templates/demo/invoice.tex
    branches/1.3/templates/demo/packing_list.html
    branches/1.3/templates/demo/packing_list.tex
    branches/1.3/templates/demo/purchase_order.html
    branches/1.3/templates/demo/purchase_order.tex
    branches/1.3/templates/demo/request_quotation.html
    branches/1.3/templates/demo/request_quotation.tex
    branches/1.3/templates/demo/sales_order.html
    branches/1.3/templates/demo/sales_order.tex
    branches/1.3/templates/demo/sales_quotation.html
    branches/1.3/templates/demo/sales_quotation.tex
    branches/1.3/templates/demo/timecard.html
    branches/1.3/templates/demo/timecard.tex
    branches/1.3/templates/demo/work_order.html
    branches/1.3/templates/demo/work_order.tex
    branches/1.3/templates/xedemo/ap_transaction.html
    branches/1.3/templates/xedemo/ap_transaction.tex
    branches/1.3/templates/xedemo/ar_transaction.html
    branches/1.3/templates/xedemo/ar_transaction.tex
    branches/1.3/templates/xedemo/bin_list.html
    branches/1.3/templates/xedemo/invoice.html
    branches/1.3/templates/xedemo/invoice.tex
    branches/1.3/templates/xedemo/packing_list.html
    branches/1.3/templates/xedemo/packing_list.tex
    branches/1.3/templates/xedemo/pick_list.html
    branches/1.3/templates/xedemo/purchase_order.html
    branches/1.3/templates/xedemo/purchase_order.tex
    branches/1.3/templates/xedemo/request_quotation.html
    branches/1.3/templates/xedemo/request_quotation.tex
    branches/1.3/templates/xedemo/sales_order.html
    branches/1.3/templates/xedemo/sales_order.tex
    branches/1.3/templates/xedemo/sales_quotation.html
    branches/1.3/templates/xedemo/sales_quotation.tex
    branches/1.3/templates/xedemo/statement.html
    branches/1.3/templates/xedemo/timecard.html
    branches/1.3/templates/xedemo/timecard.tex
    branches/1.3/templates/xedemo/work_order.html
    branches/1.3/templates/xedemo/work_order.tex

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/Changelog	2012-06-21 06:15:24 UTC (rev 4935)
@@ -4,6 +4,7 @@
 
 Changelog for 1.3.20
 * Fixes for es_AR translation, duplicate keys removed (Andres B)
+* Demo templates provide better handling of paragraph breaks in notes (Chris T)
 
 Changelog for 1.3.19
 * New link for customer/vendor when not a dropdown (Chris T)

Modified: branches/1.3/templates/demo/ap_transaction.html
===================================================================
--- branches/1.3/templates/demo/ap_transaction.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/ap_transaction.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -164,9 +164,9 @@
   <tr>
     <td>&nbsp;</td>
 
-    <td>
-      <?lsmb notes ?>
-    </td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
   </tr>
 
   <?lsmb IF paid_1 ?>

Modified: branches/1.3/templates/demo/ap_transaction.tex
===================================================================
--- branches/1.3/templates/demo/ap_transaction.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/ap_transaction.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -96,8 +96,11 @@
 
 <?lsmb IF notes ?>
 \vspace{0.3cm}
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
+
 <?lsmb END ?>
+<?lsmb END ?>
 
 \vspace{0.3cm}
 

Modified: branches/1.3/templates/demo/ar_transaction.html
===================================================================
--- branches/1.3/templates/demo/ar_transaction.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/ar_transaction.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -163,9 +163,9 @@
   <tr>
     <td>&nbsp;</td>
 
-    <td>
-      <?lsmb notes ?>
-    </td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
   </tr>
 
   <?lsmb IF paid_1 ?>

Modified: branches/1.3/templates/demo/ar_transaction.tex
===================================================================
--- branches/1.3/templates/demo/ar_transaction.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/ar_transaction.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -113,8 +113,11 @@
 
 <?lsmb IF notes ?>
 \vspace{0.3cm}
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
+
 <?lsmb END ?>
+<?lsmb END ?>
 
 \vspace{0.3cm}
 

Modified: branches/1.3/templates/demo/invoice.html
===================================================================
--- branches/1.3/templates/demo/invoice.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/invoice.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -211,7 +211,9 @@
       <table width="100%">
         <tr valign=top>
           <?lsmb IF notes ?>
-          <td><?lsmb notes ?></td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
           <?lsmb END ?>
 
 	  <td><?lsmb text_amount ?> ***** <?lsmb decimal ?>/100</td>

Modified: branches/1.3/templates/demo/invoice.tex
===================================================================
--- branches/1.3/templates/demo/invoice.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/invoice.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -185,8 +185,10 @@
 <?lsmb text('All prices in [_1].', currency) ?>
 
 \vspace{12pt}
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
 
-<?lsmb notes ?>
+<?lsmb END ?>
 }
 
 \vfill

Modified: branches/1.3/templates/demo/packing_list.html
===================================================================
--- branches/1.3/templates/demo/packing_list.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/packing_list.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -157,7 +157,9 @@
       <table width="100%">
 	<tr valign=top>
 	  <td>Notes</td>
-	  <td><?lsmb notes ?></td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
 	</tr>
       </table>
     </td>

Modified: branches/1.3/templates/demo/packing_list.tex
===================================================================
--- branches/1.3/templates/demo/packing_list.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/packing_list.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -134,8 +134,11 @@
 
 \vspace{12pt}
 
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
 
+<?lsmb END ?>
+
 }
 
 \vfill

Modified: branches/1.3/templates/demo/purchase_order.html
===================================================================
--- branches/1.3/templates/demo/purchase_order.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/purchase_order.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -217,7 +217,9 @@
     <table width="100%">
       <tr valign=top>
 	<td><?lsmb text('Notes') ?></td>
-	<td><?lsmb notes ?></td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
       </tr>
 
     </table>

Modified: branches/1.3/templates/demo/purchase_order.tex
===================================================================
--- branches/1.3/templates/demo/purchase_order.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/purchase_order.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -154,8 +154,11 @@
 
 \vspace{12pt}
 
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
 
+<?lsmb END ?>
+
 }
 
 

Modified: branches/1.3/templates/demo/request_quotation.html
===================================================================
--- branches/1.3/templates/demo/request_quotation.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/request_quotation.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -173,7 +173,9 @@
       <table width="100%">
 	<tr valign=top>
 	  <td<?lsmb text('Notes') ?></td>
-	  <td><?lsmb notes ?></td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
 	</tr>
 
       </table>

Modified: branches/1.3/templates/demo/request_quotation.tex
===================================================================
--- branches/1.3/templates/demo/request_quotation.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/request_quotation.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -138,8 +138,11 @@
 
 \hfill
 
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
 
+<?lsmb END ?>
+
 }
 
 \end{document}

Modified: branches/1.3/templates/demo/sales_order.html
===================================================================
--- branches/1.3/templates/demo/sales_order.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/sales_order.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -203,7 +203,9 @@
 	<tr valign=top>
 	  <?lsmb IF notes ?>
 	  <td><?lsmb text('Notes') ?></td>
-	  <td><?lsmb notes ?></td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
 	  <?lsmb END ?>
 	  <td align=right nowrap>
 	  <?lsmb text('All prices in [_1] Funds', currency) ?>

Modified: branches/1.3/templates/demo/sales_order.tex
===================================================================
--- branches/1.3/templates/demo/sales_order.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/sales_order.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -163,8 +163,11 @@
 
 \vspace{12pt}
 
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
 
+<?lsmb END ?>
+
 }
 
 \vfill

Modified: branches/1.3/templates/demo/sales_quotation.html
===================================================================
--- branches/1.3/templates/demo/sales_quotation.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/sales_quotation.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -171,7 +171,9 @@
 	<tr valign=top>
           <?lsmb IF notes ?>
 	  <td><?lsmb text('Notes') ?></td>
-	  <td><?lsmb notes ?></td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
           <?lsmb END ?>
 	  <td align=right>
 	  <?lsmb text('All prices in [_1] Funds', currency) ?>

Modified: branches/1.3/templates/demo/sales_quotation.tex
===================================================================
--- branches/1.3/templates/demo/sales_quotation.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/sales_quotation.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -128,8 +128,11 @@
 
 \vspace{12pt}
 
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
 
+<?lsmb END ?>
+
 }
 
 \vfill

Modified: branches/1.3/templates/demo/timecard.html
===================================================================
--- branches/1.3/templates/demo/timecard.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/timecard.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -118,9 +118,9 @@
   <tr>
     <td>&nbsp;</td>
 
-    <td>
-      <?lsmb notes ?>
-    </td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
   </tr>
   <?lsmb END ?>
 

Modified: branches/1.3/templates/demo/timecard.tex
===================================================================
--- branches/1.3/templates/demo/timecard.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/timecard.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -47,7 +47,10 @@
   
 \vspace{0.3cm}
 
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
+
+<?lsmb END ?>
  
 \end{document}
 <?lsmb END ?>

Modified: branches/1.3/templates/demo/work_order.html
===================================================================
--- branches/1.3/templates/demo/work_order.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/work_order.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -159,7 +159,9 @@
     <td>&nbsp;</td>
 
     <?lsmb IF notes ?>
-    <td><?lsmb notes ?></td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
     <?lsmb END ?>
   </tr>
 </table>

Modified: branches/1.3/templates/demo/work_order.tex
===================================================================
--- branches/1.3/templates/demo/work_order.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/demo/work_order.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -141,7 +141,10 @@
 
 \vspace{12pt}
 
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
+
+<?lsmb END ?>
 }
 
 \vfill

Modified: branches/1.3/templates/xedemo/ap_transaction.html
===================================================================
--- branches/1.3/templates/xedemo/ap_transaction.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/ap_transaction.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -4,7 +4,6 @@
   <title><?lsmb text('AP Transaction') ?></title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 </head>
-
 <body bgcolor=ffffff>
 
 <table width="100%">
@@ -165,9 +164,9 @@
   <tr>
     <td>&nbsp;</td>
 
-    <td>
-      <?lsmb notes ?>
-    </td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
   </tr>
 
   <?lsmb IF paid_1 ?>

Modified: branches/1.3/templates/xedemo/ap_transaction.tex
===================================================================
--- branches/1.3/templates/xedemo/ap_transaction.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/ap_transaction.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -95,8 +95,11 @@
 
 <?lsmb IF notes ?>
 \vspace{0.3cm}
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
+
 <?lsmb END ?>
+<?lsmb END ?>
 
 \vspace{0.3cm}
 

Modified: branches/1.3/templates/xedemo/ar_transaction.html
===================================================================
--- branches/1.3/templates/xedemo/ar_transaction.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/ar_transaction.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -4,7 +4,6 @@
   <title><?lsmb text('AR Transaction') ?></title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 </head>
-
 <body bgcolor=ffffff>
 
 <table width="100%">
@@ -164,9 +163,9 @@
   <tr>
     <td>&nbsp;</td>
 
-    <td>
-      <?lsmb notes ?>
-    </td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
   </tr>
 
   <?lsmb IF paid_1 ?>

Modified: branches/1.3/templates/xedemo/ar_transaction.tex
===================================================================
--- branches/1.3/templates/xedemo/ar_transaction.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/ar_transaction.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -112,8 +112,11 @@
 
 <?lsmb IF notes ?>
 \vspace{0.3cm}
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
+
 <?lsmb END ?>
+<?lsmb END ?>
 
 \vspace{0.3cm}
 

Modified: branches/1.3/templates/xedemo/bin_list.html
===================================================================
--- branches/1.3/templates/xedemo/bin_list.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/bin_list.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -4,7 +4,6 @@
   <title><?lsmb text('Bin List') ?></title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 </head>
-
 <body bgcolor=ffffff>
 
 <table width="100%">

Modified: branches/1.3/templates/xedemo/invoice.html
===================================================================
--- branches/1.3/templates/xedemo/invoice.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/invoice.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -211,7 +211,9 @@
       <table width="100%">
         <tr valign=top>
           <?lsmb IF notes ?>
-          <td><?lsmb notes ?></td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
           <?lsmb END ?>
 
 	  <td><?lsmb text_amount ?> ***** <?lsmb decimal ?>/100</td>

Modified: branches/1.3/templates/xedemo/invoice.tex
===================================================================
--- branches/1.3/templates/xedemo/invoice.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/invoice.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -184,7 +184,10 @@
 
 \vspace{12pt}
 
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
+
+<?lsmb END ?>
 }
 
 \vfill

Modified: branches/1.3/templates/xedemo/packing_list.html
===================================================================
--- branches/1.3/templates/xedemo/packing_list.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/packing_list.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -4,7 +4,6 @@
   <title><?lsmb text('Packing List') ?></title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 </head>
-
 <body bgcolor=ffffff>
 
 <table width="100%">
@@ -158,7 +157,9 @@
       <table width="100%">
 	<tr valign=top>
 	  <td>Notes</td>
-	  <td><?lsmb notes ?></td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
 	</tr>
       </table>
     </td>

Modified: branches/1.3/templates/xedemo/packing_list.tex
===================================================================
--- branches/1.3/templates/xedemo/packing_list.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/packing_list.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -133,8 +133,11 @@
 
 \vspace{12pt}
 
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
 
+<?lsmb END ?>
+
 }
 
 \vfill

Modified: branches/1.3/templates/xedemo/pick_list.html
===================================================================
--- branches/1.3/templates/xedemo/pick_list.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/pick_list.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -4,7 +4,6 @@
   <title><?lsmb text('Pick List') ?></title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 </head>
-
 <body bgcolor=ffffff>
 
 <table width="100%">

Modified: branches/1.3/templates/xedemo/purchase_order.html
===================================================================
--- branches/1.3/templates/xedemo/purchase_order.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/purchase_order.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -4,7 +4,6 @@
   <title><?lsmb text('Purchase Order') ?></title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 </head>
-
 <body bgcolor=ffffff>
 
 <table width="100%">
@@ -218,7 +217,9 @@
     <table width="100%">
       <tr valign=top>
 	<td><?lsmb text('Notes') ?></td>
-	<td><?lsmb notes ?></td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
       </tr>
 
     </table>

Modified: branches/1.3/templates/xedemo/purchase_order.tex
===================================================================
--- branches/1.3/templates/xedemo/purchase_order.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/purchase_order.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -153,8 +153,11 @@
 
 \vspace{12pt}
 
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
 
+<?lsmb END ?>
+
 }
 
 

Modified: branches/1.3/templates/xedemo/request_quotation.html
===================================================================
--- branches/1.3/templates/xedemo/request_quotation.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/request_quotation.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -4,7 +4,6 @@
   <title><?lsmb text('Request for Quotation') ?></title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 </head>
-
 <body bgcolor=ffffff>
 
 <table width="100%">
@@ -174,7 +173,9 @@
       <table width="100%">
 	<tr valign=top>
 	  <td<?lsmb text('Notes') ?></td>
-	  <td><?lsmb notes ?></td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
 	</tr>
 
       </table>

Modified: branches/1.3/templates/xedemo/request_quotation.tex
===================================================================
--- branches/1.3/templates/xedemo/request_quotation.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/request_quotation.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -137,8 +137,11 @@
 
 \hfill
 
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
 
+<?lsmb END ?>
+
 }
 
 \end{document}

Modified: branches/1.3/templates/xedemo/sales_order.html
===================================================================
--- branches/1.3/templates/xedemo/sales_order.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/sales_order.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -203,7 +203,9 @@
 	<tr valign=top>
 	  <?lsmb IF notes ?>
 	  <td><?lsmb text('Notes') ?></td>
-	  <td><?lsmb notes ?></td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
 	  <?lsmb END ?>
 	  <td align=right nowrap>
 	  <?lsmb text('All prices in [_1] Funds', currency) ?>

Modified: branches/1.3/templates/xedemo/sales_order.tex
===================================================================
--- branches/1.3/templates/xedemo/sales_order.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/sales_order.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -162,8 +162,11 @@
 
 \vspace{12pt}
 
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
 
+<?lsmb END ?>
+
 }
 
 \vfill

Modified: branches/1.3/templates/xedemo/sales_quotation.html
===================================================================
--- branches/1.3/templates/xedemo/sales_quotation.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/sales_quotation.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -4,7 +4,6 @@
   <title><?lsmb text('Quotation') ?></title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 </head>
-
 <body bgcolor=ffffff>
 
 <table width="100%">
@@ -172,7 +171,9 @@
 	<tr valign=top>
           <?lsmb IF notes ?>
 	  <td><?lsmb text('Notes') ?></td>
-	  <td><?lsmb notes ?></td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
           <?lsmb END ?>
 	  <td align=right>
 	  <?lsmb text('All prices in [_1] Funds', currency) ?>

Modified: branches/1.3/templates/xedemo/sales_quotation.tex
===================================================================
--- branches/1.3/templates/xedemo/sales_quotation.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/sales_quotation.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -129,8 +129,11 @@
 
 \vspace{12pt}
 
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
 
+<?lsmb END ?>
+
 }
 
 \vfill

Modified: branches/1.3/templates/xedemo/statement.html
===================================================================
--- branches/1.3/templates/xedemo/statement.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/statement.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -4,7 +4,6 @@
   <title><?lsmb text('Statement') ?></title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 </head>
-
 <body bgcolor=ffffff>
 
 <?lsmb FOREACH customer IN data ?>

Modified: branches/1.3/templates/xedemo/timecard.html
===================================================================
--- branches/1.3/templates/xedemo/timecard.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/timecard.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -118,9 +118,9 @@
   <tr>
     <td>&nbsp;</td>
 
-    <td>
-      <?lsmb notes ?>
-    </td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
   </tr>
   <?lsmb END ?>
 

Modified: branches/1.3/templates/xedemo/timecard.tex
===================================================================
--- branches/1.3/templates/xedemo/timecard.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/timecard.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -46,7 +46,10 @@
   
 \vspace{0.3cm}
 
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
+
+<?lsmb END ?>
  
 \end{document}
 <?lsmb END ?>

Modified: branches/1.3/templates/xedemo/work_order.html
===================================================================
--- branches/1.3/templates/xedemo/work_order.html	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/work_order.html	2012-06-21 06:15:24 UTC (rev 4935)
@@ -159,7 +159,9 @@
     <td>&nbsp;</td>
 
     <?lsmb IF notes ?>
-    <td><?lsmb notes ?></td>
+          <td><?lsmb  FOREACH P IN notes.split('\n\n') ?>
+                    <p><?lsmb P ?></p>
+               <?lsmb END ?></td>
     <?lsmb END ?>
   </tr>
 </table>

Modified: branches/1.3/templates/xedemo/work_order.tex
===================================================================
--- branches/1.3/templates/xedemo/work_order.tex	2012-06-21 05:23:31 UTC (rev 4934)
+++ branches/1.3/templates/xedemo/work_order.tex	2012-06-21 06:15:24 UTC (rev 4935)
@@ -140,7 +140,10 @@
 
 \vspace{12pt}
 
-<?lsmb notes ?>
+<?lsmb FOREACH P IN notes.split('\n\n') ?>
+<?lsmb P ?>\medskip
+
+<?lsmb END ?>
 }
 
 \vfill

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