mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
remove translations
This commit is contained in:
parent
8de0d54940
commit
9567c8efca
@ -382,6 +382,7 @@ class OperationPDFView(CanViewMixin, DetailView):
|
|||||||
p.drawString(90, height - 100, _("Financial proof: ") + "OP%010d" % (id_op)) #Justificatif du libellé
|
p.drawString(90, height - 100, _("Financial proof: ") + "OP%010d" % (id_op)) #Justificatif du libellé
|
||||||
p.drawString(90, height - 130, _("Club: %(club_name)s") % ({"club_name": club_name}))
|
p.drawString(90, height - 130, _("Club: %(club_name)s") % ({"club_name": club_name}))
|
||||||
p.drawString(90, height - 160, _("Label: %(op_label)s") % {"op_label": op_label if op_label != None else ""})
|
p.drawString(90, height - 160, _("Label: %(op_label)s") % {"op_label": op_label if op_label != None else ""})
|
||||||
|
p.drawString(90, height - 190, _("Date: %(date)s") % {"date": date})
|
||||||
|
|
||||||
data = []
|
data = []
|
||||||
|
|
||||||
@ -419,6 +420,17 @@ class OperationPDFView(CanViewMixin, DetailView):
|
|||||||
('BOX', (0,0), (-1,-1), 0.25, colors.black),
|
('BOX', (0,0), (-1,-1), 0.25, colors.black),
|
||||||
]))
|
]))
|
||||||
|
|
||||||
|
signature = []
|
||||||
|
signature += [[_("Signature:")]]
|
||||||
|
|
||||||
|
tSig = Table(signature, colWidths=[(width-90*2)], rowHeights=[80])
|
||||||
|
tSig.setStyle(TableStyle([
|
||||||
|
('VALIGN',(0,0),(-1,-1),'TOP'),
|
||||||
|
('BOX', (0,0), (-1,-1), 0.25, colors.black)]))
|
||||||
|
|
||||||
|
w, h = tSig.wrapOn(p, 0, 0)
|
||||||
|
tSig.drawOn(p, 90, 200)
|
||||||
|
|
||||||
w, h = t.wrapOn(p, 0, 0)
|
w, h = t.wrapOn(p, 0, 0)
|
||||||
|
|
||||||
t.drawOn(p, 90, 350)
|
t.drawOn(p, 90, 350)
|
||||||
|
Loading…
Reference in New Issue
Block a user