-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathSectionDisclaimer.py
More file actions
68 lines (56 loc) · 1.94 KB
/
SectionDisclaimer.py
File metadata and controls
68 lines (56 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# -*- coding: utf-8 -*-
""" Disclaimer Section of the Document (you might want to subclass this one)
Contains:
* Company Name
* Company Rut
* Disclaimer of the Company (subclass if you want to change this)
"""
from .TemplateElement import TemplateElement
__all__ = [
'SectionDisclaimer',
'SectionDisclaimerDummy'
]
class SectionDisclaimer(TemplateElement):
"""
%%%% -----------------------------------------------------------------
%%%% SECTION - Disclaimer
%%%% -----------------------------------------------------------------
\\tiny{
%s\\ (%s) queda facultado(a) para informar y publicar en los registros
o bancos de datos personales que operan en el país, u otras empresas con similares
servicios, la mora o incumplimiento de las obligaciones expresadas en esta factura.
}
"""
def __init__(self, company_name, company_rut):
self._company_name = company_name
self._company_rut = company_rut
@property
def carta(self):
return self.__doc__ % (self._company_name, self._company_rut)
@property
def oficio(self):
return self.__doc__ % (self._company_name, self._company_rut)
@property
def thermal80mm(self):
return self.__doc__ % (self._company_name, self._company_rut)
class SectionDisclaimerDummy(TemplateElement):
"""
%%%% -----------------------------------------------------------------
%%%% SECTION - Disclaimer
%%%% -----------------------------------------------------------------
\\tiny{
Este documento ha sido emitido por una tercera parte, siendo esta impresion en papel
generada por el receptor para fines internos de archivacion u otros.
}
"""
def __init__(self):
pass
@property
def carta(self):
return self.__doc__
@property
def oficio(self):
return self.__doc__
@property
def thermal80mm(self):
return self.__doc__