diff --git a/odex25_transactions/cm_odex_barcode/models/barcode.py b/odex25_transactions/cm_odex_barcode/models/barcode.py index 6765fcd5f..9e2ef3d51 100644 --- a/odex25_transactions/cm_odex_barcode/models/barcode.py +++ b/odex25_transactions/cm_odex_barcode/models/barcode.py @@ -61,10 +61,10 @@ class Transaction(models.Model): # draw_text(draw,(str(self.attachment_num) if self.attachment_num else '0')+ "رتبة المعاملة: " , (10, 140), font) # draw_text(draw, " رقم المعاملة : " + (self.name or ''), (10, 20), font) + draw_text(draw, " الموضوع : " + (self.subject or ''), (10, 60), font) draw_text(draw, " تاريخ المعاملة الهجري : " + (self.transaction_date_hijri or '').replace('-', '/'), (10, 80), font) draw_text(draw, " تاريخ المعاملة الميلادي : " + (str(self.transaction_date) if self.transaction_date else '').replace('-', '/'), (10, 120), font) draw_text(draw, " رتبة المعاملة : " + (str(self.attachment_num) if self.attachment_num else '0'), (120, 160), font) - draw_text(draw, " الموضوع : " + (self.subject or ''), (10, 200), font) # Generate barcode