Ajout des fonctions d'impression des factures sur l'imprimante thermique
This commit is contained in:
parent
6b08464bfc
commit
2d4647e9bf
5 changed files with 133 additions and 11 deletions
|
@ -62,7 +62,10 @@ else:
|
|||
ticket = Ticket()
|
||||
if 'uid' in item and conf_reset_password:
|
||||
ticket.reset_password(item)
|
||||
if hasattr(item, 'machines'):
|
||||
|
||||
if item.ldap_name is 'facture':
|
||||
ticket.add_facture(item)
|
||||
elif hasattr(item, 'machines'):
|
||||
for m in item.machines():
|
||||
if not conf_wifi_only or 'machineWifi' in m['objectClass']:
|
||||
ticket.add_machine(m)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue