Ajoutez des fichiers projet.
This commit is contained in:
24
class_invoices.py
Normal file
24
class_invoices.py
Normal file
@@ -0,0 +1,24 @@
|
||||
class cls_Invoice:
|
||||
Intervention = None
|
||||
Patient = None
|
||||
Debtor = None
|
||||
Articles = None
|
||||
data = None
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def parse_item(self, obj: object):
|
||||
self.Intervention = obj["intervention"]
|
||||
self.Patient = obj["patient"]
|
||||
self.Debtor = obj["debtor"]
|
||||
self.Articles = obj["articles"]
|
||||
self.data = obj
|
||||
|
||||
class cls_Col:
|
||||
data = []
|
||||
def __init__(self):
|
||||
self.data = []
|
||||
for x in range(130):
|
||||
self.data.append("")
|
||||
|
||||
Reference in New Issue
Block a user