diff --git a/odex25_transactions/cm_odex_barcode/models/barcode.py b/odex25_transactions/cm_odex_barcode/models/barcode.py index cb3f62d26..40ce697ea 100644 --- a/odex25_transactions/cm_odex_barcode/models/barcode.py +++ b/odex25_transactions/cm_odex_barcode/models/barcode.py @@ -55,8 +55,8 @@ class Transaction(models.Model): draw.text(position, text, "black", font=font) # Draw text elements - draw_text(draw, ' :رقم المعاملة'+(self.name or ''), (10, 20), font) - # draw_text(draw, (self.name or '')+' :رقم المعاملة ', (10, 20), font) + # draw_text(draw, ' :رقم المعاملة'+(self.name or ''), (10, 20), font) + draw_text(draw, (self.name or '')+' :رقم المعاملة ', (10, 20), font) draw_text(draw, (self.transaction_date_hijri or '').replace('-', '/')+" :تاريخ المعاملة الهجري ", (10, 60), font) draw_text(draw,(str(self.transaction_date) if self.transaction_date else '').replace('-', '/')+" :تاريخ المعاملة الميلادي ", (10, 100), font) draw_text(draw,(str(self.attachment_num) if self.attachment_num else '0')+ " :رتبة المعاملة " , (10, 140), font)