|
|
@ -171,22 +171,22 @@ class MailRoom(Bureau):
|
|
|
|
# make action barcodes
|
|
|
|
# make action barcodes
|
|
|
|
msg.un_bc = os.path.join("/tmp", "POun." + shortcode + ".png")
|
|
|
|
msg.un_bc = os.path.join("/tmp", "POun." + shortcode + ".png")
|
|
|
|
barcode.generate("code128", "POun." + shortcode,
|
|
|
|
barcode.generate("code128", "POun." + shortcode,
|
|
|
|
writer=barcode.writer.ImageWriter, output=msg.un_bc)
|
|
|
|
writer=barcode.writer.ImageWriter(), output=msg.un_bc)
|
|
|
|
msg.d_bc = os.path.join("/tmp", "POd." + shortcode + ".png")
|
|
|
|
msg.d_bc = os.path.join("/tmp", "POd." + shortcode + ".png")
|
|
|
|
barcode.generate("code128", "POd." + shortcode,
|
|
|
|
barcode.generate("code128", "POd." + shortcode,
|
|
|
|
writer=barcode.writer.ImageWriter, output=msg.d_bc)
|
|
|
|
writer=barcode.writer.ImageWriter(), output=msg.d_bc)
|
|
|
|
msg.sp_bc = os.path.join("/tmp", "POsp." + shortcode + ".png")
|
|
|
|
msg.sp_bc = os.path.join("/tmp", "POsp." + shortcode + ".png")
|
|
|
|
barcode.generate("code128", "POsp." + shortcode,
|
|
|
|
barcode.generate("code128", "POsp." + shortcode,
|
|
|
|
writer=barcode.writer.ImageWriter, output=msg.sp_bc)
|
|
|
|
writer=barcode.writer.ImageWriter(), output=msg.sp_bc)
|
|
|
|
msg.re_bc = os.path.join("/tmp", "POre." + shortcode + ".png")
|
|
|
|
msg.re_bc = os.path.join("/tmp", "POre." + shortcode + ".png")
|
|
|
|
barcode.generate("code128", "POre." + shortcode,
|
|
|
|
barcode.generate("code128", "POre." + shortcode,
|
|
|
|
writer=barcode.writer.ImageWriter, output=msg.re_bc)
|
|
|
|
writer=barcode.writer.ImageWriter(), output=msg.re_bc)
|
|
|
|
msg.rea_bc = os.path.join("/tmp", "POrea." + shortcode + ".png")
|
|
|
|
msg.rea_bc = os.path.join("/tmp", "POrea." + shortcode + ".png")
|
|
|
|
barcode.generate("code128", "POrea." + shortcode,
|
|
|
|
barcode.generate("code128", "POrea." + shortcode,
|
|
|
|
writer=barcode.writer.ImageWriter, output=msg.rea_bc)
|
|
|
|
writer=barcode.writer.ImageWriter(), output=msg.rea_bc)
|
|
|
|
msg.r_bc = os.path.join("/tmp", "POr." + shortcode + ".png")
|
|
|
|
msg.r_bc = os.path.join("/tmp", "POr." + shortcode + ".png")
|
|
|
|
barcode.generate("code128", "POr." + shortcode,
|
|
|
|
barcode.generate("code128", "POr." + shortcode,
|
|
|
|
writer=barcode.writer.ImageWriter, output=msg.r_bc)
|
|
|
|
writer=barcode.writer.ImageWriter(), output=msg.r_bc)
|
|
|
|
|
|
|
|
|
|
|
|
self.print_full("email.html", msg=msg, shortcode=shortcode)
|
|
|
|
self.print_full("email.html", msg=msg, shortcode=shortcode)
|
|
|
|
|
|
|
|
|
|
|
|