-
Notifications
You must be signed in to change notification settings - Fork 2
/
uMovimentoVendas.dfm
418 lines (418 loc) · 15.3 KB
/
uMovimentoVendas.dfm
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
object fmMovimentoVendas: TfmMovimentoVendas
Left = 0
Top = 0
Caption = 'Vendas'
ClientHeight = 682
ClientWidth = 1041
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = []
KeyPreview = True
OldCreateOrder = False
Position = poScreenCenter
OnCreate = FormCreate
OnDestroy = FormDestroy
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 19
object Label6: TLabel
Left = 359
Top = 120
Width = 34
Height = 19
Caption = 'Hora'
end
object pnTop: TPanel
Left = 0
Top = 0
Width = 1041
Height = 66
Align = alTop
TabOrder = 2
object btCancelar: TButton
Left = 168
Top = 8
Width = 129
Height = 41
Caption = 'Cancelar Venda'
TabOrder = 0
end
object btFinalizar: TButton
Left = 15
Top = 8
Width = 129
Height = 41
Caption = 'Finalizar Venda'
TabOrder = 1
OnClick = btFinalizarClick
end
end
object pnDados: TPanel
Left = 0
Top = 66
Width = 1041
Height = 185
Align = alTop
BevelOuter = bvNone
ParentBackground = False
TabOrder = 0
object Label1: TLabel
Left = 8
Top = 81
Width = 55
Height = 19
Caption = 'Sess'#245'es'
end
object Label2: TLabel
Left = 351
Top = 80
Width = 34
Height = 19
Caption = 'Hora'
end
object Label3: TLabel
Left = 8
Top = 20
Width = 45
Height = 19
Caption = 'Filmes'
end
object Label4: TLabel
Left = 478
Top = 80
Width = 29
Height = 19
Caption = 'Sala'
end
object Label5: TLabel
Left = 8
Top = 161
Width = 60
Height = 19
Caption = 'Cadeiras'
end
object lkSessoes: TDBLookupComboBox
Left = 8
Top = 106
Width = 337
Height = 27
KeyField = 'ID'
ListField = 'NOME'
ListSource = dsSessoes
TabOrder = 1
OnCloseUp = lkSessoesCloseUp
OnKeyDown = lkSessoesKeyDown
end
object edHora: TDBEdit
Left = 351
Top = 106
Width = 121
Height = 27
DataField = 'HORA'
DataSource = dsSessoes
TabOrder = 2
end
object lkFilmes: TDBLookupComboBox
Left = 8
Top = 45
Width = 337
Height = 27
KeyField = 'ID'
ListField = 'NOME'
ListSource = dsFilmes
TabOrder = 0
end
object edSala: TDBEdit
Left = 478
Top = 106
Width = 235
Height = 27
DataField = 'NOME_SALA'
DataSource = dsSessoes
TabOrder = 3
end
end
object bgCadeiras: TButtonGroup
Left = 0
Top = 251
Width = 1041
Height = 431
Align = alClient
BorderStyle = bsNone
ButtonHeight = 70
ButtonWidth = 70
Images = ilCadeiras
Items = <>
TabOrder = 1
OnButtonClicked = bgCadeirasButtonClicked
end
object qrSessoes: TFDQuery
Connection = dmConn.fcConn
SQL.Strings = (
'SELECT SS.*, '
' SL.NOME AS NOME_SALA,'
' SL.CAPACIDADE '
'FROM SESSOES SS'
'INNER JOIN SALAS SL ON SL.ID = SS.SALA'
'WHERE FILME = :FILME')
Left = 96
Top = 152
ParamData = <
item
Name = 'FILME'
DataType = ftInteger
ParamType = ptInput
Value = Null
end>
object qrSessoesID: TIntegerField
FieldName = 'ID'
Origin = 'ID'
ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
Required = True
end
object qrSessoesNOME: TStringField
FieldName = 'NOME'
Origin = 'NOME'
Required = True
Size = 50
end
object qrSessoesHORA: TTimeField
FieldName = 'HORA'
Origin = 'HORA'
Required = True
end
object qrSessoesFILME: TIntegerField
FieldName = 'FILME'
Origin = 'FILME'
Required = True
end
object qrSessoesSALA: TIntegerField
FieldName = 'SALA'
Origin = 'SALA'
Required = True
end
object qrSessoesNOME_SALA: TStringField
AutoGenerateValue = arDefault
FieldName = 'NOME_SALA'
Origin = 'NOME'
ProviderFlags = []
ReadOnly = True
Size = 50
end
object qrSessoesCAPACIDADE: TIntegerField
AutoGenerateValue = arDefault
FieldName = 'CAPACIDADE'
Origin = 'CAPACIDADE'
ProviderFlags = []
ReadOnly = True
end
end
object dsSessoes: TDataSource
DataSet = qrSessoes
Left = 168
Top = 152
end
object qrFilmes: TFDQuery
AfterScroll = qrFilmesAfterScroll
Connection = dmConn.fcConn
SQL.Strings = (
'SELECT * FROM FILMES')
Left = 96
Top = 96
object qrFilmesID: TIntegerField
FieldName = 'ID'
Origin = 'ID'
ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
Required = True
end
object qrFilmesNOME: TStringField
FieldName = 'NOME'
Origin = 'NOME'
Required = True
Size = 50
end
object qrFilmesDUBLADO: TSmallintField
FieldName = 'DUBLADO'
Origin = 'DUBLADO'
Required = True
end
object qrFilmesCLASSIFICADO: TSmallintField
FieldName = 'CLASSIFICADO'
Origin = 'CLASSIFICADO'
Required = True
end
object qrFilmesTIPO: TSmallintField
FieldName = 'TIPO'
Origin = 'TIPO'
Required = True
end
end
object dsFilmes: TDataSource
DataSet = qrFilmes
Left = 168
Top = 96
end
object ilCadeiras: TImageList
Left = 944
Top = 16
Bitmap = {
494C0101020008004C0010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
0000000000003600000028000000400000001000000001002000000000000010
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000005B5B5B005B5B5B005B5B5B005B5B5B005B5B5B00000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000005B5B5B005B5B5B005B5B5B005B5B5B005B5B5B00000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000005B5B5B000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000005B5B5B000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000A9A9
A9005B5B5B005B5B5B005B5B5B005B5B5B005B5B5B005B5B5B005B5B5B005B5B
5B0000000000000000000000000000000000000000000000000000000000A9A9
A9005B5B5B005B5B5B005B5B5B005B5B5B005B5B5B005B5B5B005B5B5B005B5B
5B00000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000D5D5D5005C5C
5C001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5001DE6
B5005E5E5E000000000000000000000000000000000000000000D5D5D5005C5C
5C008080FF008080FF008080FF008080FF008080FF008080FF008080FF008080
FF005E5E5E000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000F8F8F8005B5B5B001DE6
B5008A8A8A005B5B5B005B5B5B005B5B5B005B5B5B005B5B5B005B5B5B001DE6
B5008C8C8C007A7A7A00000000000000000000000000F8F8F8005B5B5B008080
FF008A8A8A005B5B5B005B5B5B005B5B5B005B5B5B005B5B5B005B5B5B008080
FF008C8C8C007A7A7A0000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000006A6A6A001DE6B5001DE6
B5005B5B5B001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5005B5B
5B001DE6B5005B5B5B000000000000000000000000006A6A6A008080FF008080
FF005B5B5B008080FF008080FF008080FF008080FF008080FF008080FF005B5B
5B008080FF005B5B5B0000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000A6A6A6005B5B5B005B5B
5B001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5005B5B
5B005B5B5B005B5B5B00000000000000000000000000A6A6A6005B5B5B005B5B
5B008080FF008080FF008080FF008080FF008080FF008080FF008080FF005B5B
5B005B5B5B005B5B5B0000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000005B5B
5B001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5008989
8900BDBDBD000000000000000000000000000000000000000000000000005B5B
5B008080FF008080FF008080FF008080FF008080FF008080FF008080FF008989
8900BDBDBD000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000005B5B
5B001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5001DE6
B5006D6D6D000000000000000000000000000000000000000000000000005B5B
5B008080FF008080FF008080FF008080FF008080FF008080FF008080FF008080
FF006D6D6D000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000005B5B
5B001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5001DE6B5001DE6
B5006A6A6A000000000000000000000000000000000000000000000000005B5B
5B008080FF008080FF008080FF008080FF008080FF008080FF008080FF008080
FF006A6A6A000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000007D7D
7D005C5C5C001DE6B5001DE6B5001DE6B5001DE6B5001DE6B500828282005B5B
5B00F9F9F9000000000000000000000000000000000000000000000000007D7D
7D005C5C5C008080FF008080FF008080FF008080FF008080FF00828282005B5B
5B00F9F9F9000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000F7F7F7009D9D9D006A6A6A00666666006666660083838300C9C9C9000000
0000000000000000000000000000000000000000000000000000000000000000
0000F7F7F7009D9D9D006A6A6A00666666006666660083838300C9C9C9000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000424D3E000000000000003E000000
2800000040000000100000000100010000000000800000000000000000000000
000000000000000000000000FFFFFF00FFFFFFFF00000000FFFFFFFF00000000
F83FF83F00000000FEFFFEFF00000000FFFFFFFF00000000E00FE00F00000000
C007C00700000000800380030000000080038003000000008003800300000000
E007E00700000000E007E00700000000E007E00700000000E007E00700000000
F01FF01F00000000FFFFFFFF0000000000000000000000000000000000000000
000000000000}
end
object qrVendas: TFDQuery
Connection = dmConn.fcConn
Left = 584
Top = 24
end
object qrCadeirasVendidas: TFDQuery
Indexes = <
item
Active = True
Name = 'ixCADEIRA'
Fields = 'CADEIRA'
Options = [soNoCase]
end>
Connection = dmConn.fcConn
Left = 664
Top = 24
end
end