Skip to content

Commit

Permalink
Version 1.10a
Browse files Browse the repository at this point in the history
  • Loading branch information
bsongis committed May 3, 2017
1 parent 5662814 commit 7e39449
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
8 changes: 4 additions & 4 deletions setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ AppName=Gertrude
AppVerName=Gertrude {#GertrudeVersion}
AppVersion={#GertrudeVersion}
AppPublisher=Bertrand Songis
AppPublisherURL=http://www.gertrude-logiciel.org
AppSupportURL=http://www.gertrude-logiciel.org
AppUpdatesURL=http://www.gertrude-logiciel.org
AppPublisherURL=https://www.gertrude-logiciel.org
AppSupportURL=https://www.gertrude-logiciel.org
AppUpdatesURL=https://www.gertrude-logiciel.org
VersionInfoVersion={#GertrudeVersion}
VersionInfoCompany=Bertrand Songis
VersionInfoProductName=Gertrude
AppCopyright=Copyright © 2005-2016 - Bertrand Songis
AppCopyright=Copyright 2005-2017 - Bertrand Songis

DefaultDirName={pf}\Gertrude
DefaultGroupName=Gertrude
Expand Down
19 changes: 11 additions & 8 deletions sqlinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1796,14 +1796,17 @@ def encode_details(details):
cur.execute('UPDATE CRECHE SET tri_factures=?', (TRI_NOM,))

if version < 91:
cur.execute("""
CREATE TABLE ENCAISSEMENTS (
idx INTEGER PRIMARY KEY,
famille INTEGER REFERENCES FAMILLES(idx),
date DATE,
valeur FLOAT,
moyen_paiement INTEGER
);""")
try:
cur.execute("""
CREATE TABLE ENCAISSEMENTS (
idx INTEGER PRIMARY KEY,
famille INTEGER REFERENCES FAMILLES(idx),
date DATE,
valeur FLOAT,
moyen_paiement INTEGER
);""")
except:
print "Erreur sur creation table ENCAISSEMENTS"

if version < 92:
cur.execute("ALTER TABLE SITES ADD groupe INTEGER;")
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# You should have received a copy of the GNU General Public License
# along with Gertrude; if not, see <http://www.gnu.org/licenses/>.

VERSION = '1.09o'
VERSION = '1.10a'

0 comments on commit 7e39449

Please sign in to comment.