...
This commit is contained in:
parent
299b4f686b
commit
e008ceac0c
@ -15,6 +15,8 @@ class Contrat:
|
||||
connection.cur.execute("INSERT INTO contrat (idContrat,dateDebut,dateFin, estEncours) VALUES (NULL,?,?,?);",( self.dateDebut, self.dateFin,1) )
|
||||
connection.seDeconnecter()
|
||||
def rompreContrat(self):
|
||||
|
||||
|
||||
connection = connexionBDD()
|
||||
connection.cur.execute("SELECT count(service.idSercice) FROM service;")
|
||||
connection.cur.execute("INSERT INTO contrat (idContrat,dateDebut,dateFin, estEncours) VALUES (NULL,?,?,?);",( self.dateDebut, self.dateFin,1) )
|
||||
|
Reference in New Issue
Block a user