From 8453dbd09851c48322b9f7f16d09c7c153f5dc5d Mon Sep 17 00:00:00 2001 From: zainab2097 <149927291+zainab2097@users.noreply.github.com> Date: Sun, 28 Jul 2024 22:58:24 +0300 Subject: [PATCH] Update barcode.py --- odex25_transactions/cm_odex_barcode/models/barcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odex25_transactions/cm_odex_barcode/models/barcode.py b/odex25_transactions/cm_odex_barcode/models/barcode.py index a91c7398f..9dfbc7c39 100644 --- a/odex25_transactions/cm_odex_barcode/models/barcode.py +++ b/odex25_transactions/cm_odex_barcode/models/barcode.py @@ -61,7 +61,7 @@ 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, 20), font) + draw_text(draw, " الموضوع : " + (self.subject or ''), (10, 50), 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'), (120, 140), font)