-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.py
142 lines (98 loc) · 4.92 KB
/
index.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# -----------------------------------------------------------------------------
# $$$$$$\ $$\
# \_$$ _| $$ |
# $$ | $$$$$$$\ $$$$$$$ | $$$$$$\ $$\ $$\
# $$ | $$ __$$\ $$ __$$ |$$ __$$\ \$$\ $$ |
# $$ | $$ | $$ |$$ / $$ |$$$$$$$$ | \$$$$ /
# $$ | $$ | $$ |$$ | $$ |$$ ____| $$ $$<
# $$$$$$\ $$ | $$ |\$$$$$$$ |\$$$$$$$\ $$ /\$$\
# \______|\__| \__| \_______| \_______|\__/ \__|
#
# $$$$$$$$\ $$\
# \__$$ __|$$ |
# $$ | $$$$$$$\ $$$$$$\ $$\ $$\
# $$ | $$ __$$\ $$ __$$\ \$$\ $$ |
# $$ | $$ | $$ |$$$$$$$$ | \$$$$ /
# $$ | $$ | $$ |$$ ____| $$ $$<
# $$ | $$ | $$ |\$$$$$$$\ $$ /\$$\
# \__| \__| \__| \_______|\__/ \__|
#
# $$$$$$\ $$\
# $$ __$$\ $$ |
# $$ / \__|$$\ $$\ $$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\$$$$\
# \$$$$$$\ $$ | $$ |$$ _____|\_$$ _| $$ __$$\ $$ _$$ _$$\
# \____$$\ $$ | $$ |\$$$$$$\ $$ | $$$$$$$$ |$$ / $$ / $$ |
# $$\ $$ |$$ | $$ | \____$$\ $$ |$$\ $$ ____|$$ | $$ | $$ |
# \$$$$$$ |\$$$$$$$ |$$$$$$$ | \$$$$ |\$$$$$$$\ $$ | $$ | $$ |
# \______/ \____$$ |\_______/ \____/ \_______|\__| \__| \__|
# $$\ $$ |
# \$$$$$$ |
# \______/
#
# $$\ $$\
# $$$\ $$$ |
# $$$$\ $$$$ | $$$$$$\ $$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\
# $$\$$\$$ $$ | \____$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$ __$$\
# $$ \$$$ $$ | $$$$$$$ |$$ | $$ |$$$$$$$$ |$$ / $$ |$$$$$$$$ |$$ | \__|
# $$ |\$ /$$ |$$ __$$ |$$ | $$ |$$ ____|$$ | $$ |$$ ____|$$ |
# $$ | \_/ $$ |\$$$$$$$ |$$ | $$ |\$$$$$$$\ \$$$$$$$ |\$$$$$$$\ $$ |
# \__| \__| \_______|\__| \__| \_______| \____$$ | \_______|\__|
# $$\ $$ |
# \$$$$$$ |
# \______/
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Creator By: Thex 1223
# Equip: Kainan H (na18k)
#
# Creted in: 2023 // Lasted Update: 25/01/2023
#
# Version: v0.0.1-alpha
# -----------------------------------------------------------------------------
from app import *
tela_login = Login()
tela_login.execute()
# -----------------------------------------------------------------------------
# $$$$$$$\ $$\ $$\
# $$ __$$\ $$ | $$ |
# $$ | $$ | $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$$\ $$$$$$\ $$$$$$$\ $$$$$$\
# $$ | $$ | \____$$\\_$$ _| \____$$\ $$ __$$\ \____$$\ $$ _____|$$ __$$\
# $$ | $$ | $$$$$$$ | $$ | $$$$$$$ |$$ | $$ | $$$$$$$ |\$$$$$$\ $$$$$$$$ |
# $$ | $$ |$$ __$$ | $$ |$$\ $$ __$$ |$$ | $$ |$$ __$$ | \____$$\ $$ ____|
# $$$$$$$ |\$$$$$$$ | \$$$$ |\$$$$$$$ |$$$$$$$ |\$$$$$$$ |$$$$$$$ |\$$$$$$$\
# \_______/ \_______| \____/ \_______|\_______/ \_______|\_______/ \_______|
# -----------------------------------------------------------------------------
data_software = acessa_arquivo_json("dados/data.json")
# data_funcionarios = acessa_arquivo_json("dados/funcionarios.json")
# data_clientes = acessa_arquivo_json("dados/clientes.json")
# data_estoque = acessa_arquivo_json("dados/estoque.json")
# -----------------------------------------------------------------------------
# $$$$$$\ $$\
# $$ __$$\ $$ |
# $$ / \__|$$\ $$\ $$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\$$$$\
# \$$$$$$\ $$ | $$ |$$ _____|\_$$ _| $$ __$$\ $$ _$$ _$$\
# \____$$\ $$ | $$ |\$$$$$$\ $$ | $$$$$$$$ |$$ / $$ / $$ |
# $$\ $$ |$$ | $$ | \____$$\ $$ |$$\ $$ ____|$$ | $$ | $$ |
# \$$$$$$ |\$$$$$$$ |$$$$$$$ | \$$$$ |\$$$$$$$\ $$ | $$ | $$ |
# \______/ \____$$ |\_______/ \____/ \_______|\__| \__| \__|
# $$\ $$ |
# \$$$$$$ |
# \______/
# -----------------------------------------------------------------------------
# cliente = Cliente(data_clientes)
# print(cliente.carrega_clientes)
# cliente.criar_cliente("Mario", "91892939939", "999.999.999-01", "sla", 90, "a", "Gralha", "FRG")
#
# app_login_janela = App_Login(data_software, data_funcionarios).execute()
#
#
# if credenciais("login") == True:
# app = App(
# data_software,
# data_funcionarios,
# data_clientes,
# data_estoque,
# data_software["system_options"]["width"],
# data_software["system_options"]["heigt"]
# ).execute()
# acessa_sistema("Kainan Henrique", "10002", data_funcionarios)