Updated name.
This commit is contained in:
BIN
Windows/ECOS.exe
Normal file
BIN
Windows/ECOS.exe
Normal file
Binary file not shown.
@ -1,27 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
PECOS Export - 06:37:11 on Monday, November 30, 2020
|
||||
</title>
|
||||
<h2>PECOS Export File – 06:37:11 on Monday, November 30, 2020</h2>
|
||||
<hr>
|
||||
<style type="text/css">
|
||||
.tg {border-collapse:collapse;border-spacing:0;}
|
||||
.tg td{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px; overflow:hidden;padding:10px 5px;word-break:normal;}
|
||||
.tg th{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px;font-weight:normal;overflow:hidden;padding:10px 5px;word-break:normal;}
|
||||
.tg .tg-cly1{text-align:left;vertical-align:middle}
|
||||
</style>
|
||||
<table class="tg">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="tg-cly1"><strong>Patron Library Card</strong></th><th class="tg-cly1"><strong>Batch Number</strong></th><th class="tg-cly1"><strong>Item Barcode</strong>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="tg-cly1"><img src="patron/1230004231819.svg" width=200></th><th class="tg-cly1"><strong>Batch: </strong>2</th><th class="tg-cly1"><img src="item/1234567890.svg" width=200>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="tg-cly1"><img src="patron/1230004231819.svg" width=200></th><th class="tg-cly1"><strong>Batch: </strong>2</th><th class="tg-cly1"><img src="item/1234567891.svg" width=200>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="tg-cly1"><img src="patron/1230004231819.svg" width=200></th><th class="tg-cly1"><strong>Batch: </strong>2</th><th class="tg-cly1"><img src="item/1234567892.svg" width=200>
|
||||
</tr>
|
@ -1 +0,0 @@
|
||||
Item information will go here.
|
@ -1 +0,0 @@
|
||||
Item information will go here.
|
@ -1 +0,0 @@
|
||||
Patron information will go here.
|
@ -1 +0,0 @@
|
||||
Patron information will go here.
|
@ -83,7 +83,7 @@ class Toplevel1:
|
||||
top.minsize(1, 1)
|
||||
top.maxsize(1905, 1050)
|
||||
top.resizable(0, 0)
|
||||
top.title("PECOS - Polaris Emergency Check Out System 1.3b (Windows)")
|
||||
top.title("ECOS - Emergency Check Out System 1.3b (Windows)")
|
||||
|
||||
# --- CHECKOUT ITEM AND UPDATE DATABASE ---
|
||||
def CheckOutItem(event=None):
|
||||
@ -176,12 +176,12 @@ class Toplevel1:
|
||||
|
||||
# --- DELETE THE CURRENT DATABASE AND SUPPLANT WITH AN EMPTY ONE ---
|
||||
def ClearDatabase():
|
||||
self.ClearConfirm = tk.messagebox.askquestion ('PECOS - Clear Database','Are you sure you wish to clear the database? This cannot be undone!')
|
||||
self.ClearConfirm = tk.messagebox.askquestion ('ECOS - Clear Database','Are you sure you wish to clear the database? This cannot be undone!')
|
||||
if self.ClearConfirm == 'yes':
|
||||
# Next two lines commented out in Windows version - the connection commands work on macOS
|
||||
#conn = sqlite3.connect('checkouts.db') # Re-establish connection to the database
|
||||
#conn.close # Close out the current database
|
||||
self.ConfirmClear = tk.messagebox.askquestion ('PECOS - Confim','Final answer: Are you sure you wish to clear the database?')
|
||||
self.ConfirmClear = tk.messagebox.askquestion ('ECOS - Confim','Final answer: Are you sure you wish to clear the database?')
|
||||
if self.ConfirmClear == 'yes':
|
||||
|
||||
ItemFolder = 'item/'
|
||||
@ -216,7 +216,7 @@ class Toplevel1:
|
||||
#conn = sqlite3.connect('checkouts.db') # Restablish connection to the database
|
||||
#c = conn.cursor()
|
||||
else:
|
||||
messagebox.showinfo('PECOS - Database Retained','Database retained. No changes made.')
|
||||
messagebox.showinfo('ECOS - Database Retained','Database retained. No changes made.')
|
||||
|
||||
# --- EXPORT DATABASE TO HTML ---
|
||||
def ExportDatabase():
|
||||
@ -228,9 +228,9 @@ class Toplevel1:
|
||||
f.write("<html>\n")
|
||||
f.write("<head>\n")
|
||||
f.write("<title>\n")
|
||||
f.write("PECOS Export - " + ReportTime() + "\n")
|
||||
f.write("ECOS Export - " + ReportTime() + "\n")
|
||||
f.write("</title>\n")
|
||||
f.write("<h2>PECOS Export File – " + ReportTime() + "</h2>\n<hr>\n")
|
||||
f.write("<h2>ECOS Export File – " + ReportTime() + "</h2>\n<hr>\n")
|
||||
f.write("<style type=\"text/css\">\n")
|
||||
f.write(".tg {border-collapse:collapse;border-spacing:0;}\n")
|
||||
f.write(".tg td{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px; overflow:hidden;padding:10px 5px;word-break:normal;}\n")
|
||||
@ -279,7 +279,7 @@ class Toplevel1:
|
||||
shutil.copytree(PatronFolder, PatronBackup)
|
||||
shutil.copy(DatabaseFile, dbBackup)
|
||||
|
||||
self.DatabaseDone = tk.messagebox.showinfo ('PECOS - Backup Database','Database backup complete.')
|
||||
self.DatabaseDone = tk.messagebox.showinfo ('ECOS - Backup Database','Database backup complete.')
|
||||
|
||||
|
||||
# --- END OF FUNCTIONS - BEGIN GUI ---
|
||||
|
Reference in New Issue
Block a user