diff options
| author | levinse <levinse> | 2011-02-16 07:39:02 +0000 |
|---|---|---|
| committer | levinse <levinse> | 2011-02-16 07:39:02 +0000 |
| commit | b9d2d7f2c80e5e89358bba0b2c3ba1de9f406c82 (patch) | |
| tree | ba5e4b7646d5239bdb2348a2af8eb06ced60020d /conf/invoice_html | |
| parent | a250f5db876181a0014c94cff750e985f55bcb38 (diff) | |
add barcodes to invoices, HTML part, RT10698
Diffstat (limited to 'conf/invoice_html')
| -rw-r--r-- | conf/invoice_html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/conf/invoice_html b/conf/invoice_html index 2073d7ff4..fc553d5d5 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -78,6 +78,14 @@ : '' %> <td align="right"> + <%= + if($barcode_cid) { + $OUT .= qq! <img src="cid:$barcode_cid"><br> !; + } + elsif($barcode_img) { + $OUT .= qq! <img src="cust_bill-barcode.cgi?invnum=$invnum;template=$template"><br> !; + } + %> Terms: <%= $terms %><BR> <%= $po_line %> </td> |
