Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
TEXT TO m.pcOrderList TEXTMERGE NOSHOW
<options>
TF_TABLE_MARGIN="0px"
TF_TABLE_PADDING="0px"
</options>
<p style="tab-stops:left 50px left 120px left 190px right 290px;">
 <span style="font-weight:bold;font-style:italic;">Order list</span><br/>
 <span style="font-weight:bold;">Number<tab/>Date<tab/>Deliver by<tab/>Paid<tab/>Amount</span>
 <hr style="width:100%;border-width:1px;border-style:solid;border-color:'Black';"></hr><br>
 <data:template template="'Orders'">
  <span stylefor="{NOT PAID}{font-weight:bold;color:RGB(255,0,0)}"> 
   <vfpev>ALLTRIM(ORDER_ID)</vfpev><tab/>
   <vfpev>ORDER_DATE</vfpev><tab/>
   <vfpev>DELIVER_BY</vfpev><tab/>
   <vfpev>IIF(PAID, "Yes", "No")</vfpev><tab/>
   <vfpev pictureformat="9 999 999.99">order_amount.Amount</vfpev>
  </span><br>
  <table style="font-size:7pt;color:RGB(192,192,192)">
   <tr template="'Order_Line_Items'">
    <td style="width:140px;"><vfpev>ALLTRIM(products.Product_name)</vfpev></td>
    <td style="width:40px;text-align:right;"><vfpev pictureformat="$999.99">Order_Line_Items.Unit_PRICE</vfpev></td>
    <td style="width:55px;text-align:right;"><vfpev pictureformat="999 999.99">Order_Line_Items.QUANTITY</vfpev></td>
    <td style="width:100px;"><vfpev>ALLTRIM(products.quantity_in_unit)</vfpev></td>
   </tr>
  </table>
 </data:template>

</p>
ENDTEXT

...