-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuFrmVendas.dfm
1423 lines (1423 loc) · 58.5 KB
/
uFrmVendas.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
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
object FrmVendas: TFrmVendas
Left = 0
Top = 0
BorderIcons = [biSystemMenu, biMinimize]
Caption = 'Emiss'#227'o de SAT'
ClientHeight = 631
ClientWidth = 1115
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -14
Font.Name = 'Tahoma'
Font.Style = []
FormStyle = fsMDIChild
KeyPreview = True
OldCreateOrder = False
Visible = True
OnClose = FormClose
OnDestroy = FormDestroy
OnKeyDown = FormKeyDown
OnKeyPress = FormKeyPress
OnShow = FormShow
PixelsPerInch = 120
TextHeight = 17
object PageControl1: TPageControl
Left = 0
Top = 0
Width = 1115
Height = 631
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
ActivePage = TabSheet1
Align = alClient
TabOrder = 0
OnChange = PageControl1Change
object TabSheet1: TTabSheet
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Emitir SAT'
ExplicitLeft = 0
ExplicitTop = 0
ExplicitWidth = 0
ExplicitHeight = 0
object Panel1: TPanel
Left = 0
Top = 0
Width = 1105
Height = 169
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alTop
TabOrder = 0
object Label1: TLabel
Left = 8
Top = 3
Width = 86
Height = 29
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Emiss'#227'o'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -24
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label2: TLabel
Left = 209
Top = 3
Width = 84
Height = 29
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'N'#250'mero'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -24
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label3: TLabel
Left = 8
Top = 74
Width = 71
Height = 29
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Cliente'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -24
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label12: TLabel
Left = 719
Top = 74
Width = 102
Height = 29
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'CPF/CNPJ'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -24
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object emissao: TcxDateEdit
Left = 8
Top = 31
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Enabled = False
ParentFont = False
Style.Font.Charset = DEFAULT_CHARSET
Style.Font.Color = clWindowText
Style.Font.Height = -30
Style.Font.Name = 'Tahoma'
Style.Font.Style = []
Style.IsFontAssigned = True
TabOrder = 0
Width = 193
end
object numero: TEdit
Left = 209
Top = 31
Width = 132
Height = 36
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Enabled = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -29
Font.Name = 'Tahoma'
Font.Style = []
NumbersOnly = True
ParentFont = False
TabOrder = 1
end
object nome_cliente: TEdit
Left = 174
Top = 104
Width = 542
Height = 36
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -29
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 5
Text = 'CONSUMIDOR'
end
object Button1: TButton
Left = 111
Top = 105
Width = 52
Height = 44
Hint = 'Pesquisar Cliente'
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
ImageIndex = 23
Images = FrmMenu.cxImageList1
TabOrder = 4
OnClick = Button1Click
end
object codigo_cliente: TEdit
Left = 8
Top = 104
Width = 102
Height = 36
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -29
Font.Name = 'Tahoma'
Font.Style = []
NumbersOnly = True
ParentFont = False
TabOrder = 3
OnExit = codigo_clienteExit
end
object cpf: TMaskEdit
Left = 721
Top = 104
Width = 342
Height = 36
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -29
Font.Name = 'Tahoma'
Font.Style = [fsBold]
MaxLength = 14
ParentFont = False
TabOrder = 6
Text = ''
OnChange = cpfChange
OnExit = cpfExit
OnKeyPress = cpfKeyPress
end
object tipo_venda: TRadioGroup
Left = 349
Top = 4
Width = 231
Height = 74
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Venda '#224
Columns = 2
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -20
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ItemIndex = 0
Items.Strings = (
'Vista'
'Prazo')
ParentFont = False
TabOrder = 2
end
end
object Panel2: TPanel
Left = 0
Top = 533
Width = 1105
Height = 63
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alBottom
TabOrder = 1
DesignSize = (
1107
63)
object BtnSalvar: TButton
Left = 927
Top = 8
Width = 171
Height = 51
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Anchors = [akRight, akBottom]
Caption = 'Finalizar Venda'
ImageIndex = 14
Images = FrmMenu.cxImageList1
TabOrder = 0
OnClick = BtnSalvarClick
ExplicitLeft = 925
end
end
object Panel3: TPanel
Left = 0
Top = 169
Width = 1107
Height = 367
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alClient
TabOrder = 2
ExplicitWidth = 1105
ExplicitHeight = 364
object GroupBox1: TGroupBox
Left = 1
Top = 1
Width = 873
Height = 362
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alClient
Caption = 'Produtos'
Font.Charset = ANSI_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'Times New Roman'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 0
object Panel4: TPanel
Left = 3
Top = 21
Width = 867
Height = 60
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alTop
TabOrder = 0
object Label4: TLabel
Left = 496
Top = -4
Width = 62
Height = 19
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'SubTotal'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object debitotroco: TLabel
Left = 680
Top = -4
Width = 46
Height = 19
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'D'#233'bito'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object BtnIncluir: TButton
Left = 10
Top = -1
Width = 141
Height = 51
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'INCLUIR'
ImageIndex = 15
Images = FrmMenu.cxImageList1
TabOrder = 0
OnClick = BtnIncluirClick
end
object BtnExcluir: TButton
Left = 156
Top = 0
Width = 142
Height = 51
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'EXCLUIR'
HotImageIndex = 19
ImageIndex = 16
Images = FrmMenu.cxImageList1
TabOrder = 1
OnClick = BtnExcluirClick
end
object subtotal: TcxDBCurrencyEdit
Left = 495
Top = 16
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
DataBinding.DataField = 'totalGeral'
DataBinding.DataSource = DataSource1
Enabled = False
ParentFont = False
Properties.DisplayFormat = '0.00;-0.00'
Style.Font.Charset = ANSI_CHARSET
Style.Font.Color = clNavy
Style.Font.Height = -30
Style.Font.Name = 'Times New Roman'
Style.Font.Style = [fsBold]
Style.IsFontAssigned = True
TabOrder = 2
Width = 178
end
object debito: TcxCurrencyEdit
Left = 680
Top = 13
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
EditValue = '0'
Enabled = False
ParentFont = False
Properties.DisplayFormat = '0.00;-0.00'
Style.Font.Charset = DEFAULT_CHARSET
Style.Font.Color = clWindowText
Style.Font.Height = -30
Style.Font.Name = 'Tahoma'
Style.Font.Style = []
Style.IsFontAssigned = True
TabOrder = 3
Width = 183
end
end
object GridTmpVendas2: TcxGrid
Left = 4
Top = 95
Width = 861
Height = 260
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alCustom
Anchors = [akLeft, akTop, akRight, akBottom]
TabOrder = 1
object GridTmpVendas2DBTableView1: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
Navigator.Buttons.First.Hint = 'Primeiro Registro'
Navigator.Buttons.PriorPage.Hint = 'P'#225'gina Anterior'
Navigator.Buttons.Prior.Hint = 'Registro Anterior'
Navigator.Buttons.Next.Hint = 'Pr'#243'ximo Registro'
Navigator.Buttons.NextPage.Hint = 'Pr'#243'xima P'#225'gina'
Navigator.Buttons.Last.Hint = #218'ltimo Registro'
Navigator.Buttons.Insert.Hint = 'Incluir Novo Registro'
Navigator.Buttons.Delete.Hint = 'Excluir Registro Atual'
Navigator.Buttons.Edit.Hint = 'Alterar Registro Atual'
Navigator.Buttons.Post.Hint = 'Salvar Inclus'#227'o Ou Altera'#231#227'o Do Registro Atual'
Navigator.Buttons.Cancel.Hint = 'Abandonar Inclus'#227'o Ou Altera'#231#227'o Do Registro Atual'
Navigator.Buttons.Refresh.Visible = False
Navigator.Buttons.SaveBookmark.Visible = False
Navigator.Buttons.GotoBookmark.Visible = False
Navigator.Buttons.Filter.Hint = 'Filtrar Informa'#231#245'es'
Navigator.Buttons.Filter.Visible = True
DataController.DataSource = DataSource1
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <>
DataController.Summary.SummaryGroups = <>
OptionsBehavior.CellHints = True
OptionsBehavior.FocusFirstCellOnNewRecord = True
OptionsBehavior.GoToNextCellOnEnter = True
OptionsBehavior.ImmediateEditor = False
OptionsBehavior.NavigatorHints = True
OptionsBehavior.FocusCellOnCycle = True
OptionsCustomize.ColumnFiltering = False
OptionsCustomize.ColumnSorting = False
OptionsData.Deleting = False
OptionsSelection.InvertSelect = False
OptionsSelection.UnselectFocusedRecordOnExit = False
OptionsView.GroupByBox = False
OptionsView.Indicator = True
object GridTmpVendas2_codigo_produto: TcxGridDBColumn
Caption = 'C'#243'digo'
DataBinding.FieldName = 'codigo_produto'
PropertiesClassName = 'TcxButtonEditProperties'
Properties.Buttons = <
item
Default = True
Kind = bkEllipsis
end>
Properties.ClickKey = 117
Properties.MaxLength = 0
Properties.OnButtonClick = GridTmpVendas2_codigo_produtoPropertiesButtonClick
Properties.OnEditValueChanged = GridTmpVendas2_codigo_produtoPropertiesEditValueChanged
Width = 56
end
object GridTmpVendas2_nome_produto: TcxGridDBColumn
Caption = 'Descri'#231#227'o do Produto'
DataBinding.FieldName = 'nome_produto'
PropertiesClassName = 'TcxTextEditProperties'
Options.Editing = False
Width = 195
end
object GridTmpVendas2_un: TcxGridDBColumn
Caption = 'UN'
DataBinding.FieldName = 'un'
Options.Editing = False
Width = 32
end
object GridTmpVendas2_valor_un: TcxGridDBColumn
Caption = 'Valor UN'
DataBinding.FieldName = 'valor_un'
PropertiesClassName = 'TcxCurrencyEditProperties'
Properties.DisplayFormat = '#,##0.00'
Properties.Nullable = False
Width = 66
end
object GridTmpVendas2_qtd: TcxGridDBColumn
Caption = 'QTD'
DataBinding.FieldName = 'qtd'
PropertiesClassName = 'TcxButtonEditProperties'
Properties.Buttons = <
item
Default = True
Kind = bkEllipsis
end>
Properties.ClickKey = 87
Properties.OnEditValueChanged = GridTmpVendas2_qtdPropertiesEditValueChanged
Width = 47
end
object GridTmpVendas2_valor_total: TcxGridDBColumn
Caption = 'Valor Total'
DataBinding.FieldName = 'valor_total'
PropertiesClassName = 'TcxCurrencyEditProperties'
Properties.DisplayFormat = '#,##0.00'
Properties.Nullable = False
Width = 78
end
object GridTmpVendas2_CFOP: TcxGridDBColumn
Caption = 'CFOP'
DataBinding.FieldName = 'cfop'
Options.Editing = False
Width = 55
end
object GridTmpVendas2_NCM: TcxGridDBColumn
Caption = 'NCM'
DataBinding.FieldName = 'ncm'
end
end
object GridTmpVendas2Level1: TcxGridLevel
GridView = GridTmpVendas2DBTableView1
end
end
end
object GroupBox2: TGroupBox
Left = 874
Top = 1
Width = 230
Height = 362
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alRight
Caption = 'Valores'
Font.Charset = ANSI_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'Times New Roman'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 1
object Label5: TLabel
Left = 19
Top = 61
Width = 65
Height = 19
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Desconto'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label6: TLabel
Left = 10
Top = 99
Width = 72
Height = 19
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Acr'#233'scimo'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label7: TLabel
Left = 48
Top = 25
Width = 35
Height = 19
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Total'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object GroupBox3: TGroupBox
Left = -3
Top = 125
Width = 316
Height = 260
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Formas de Pagamento'
Font.Charset = ANSI_CHARSET
Font.Color = clBlue
Font.Height = -16
Font.Name = 'Times New Roman'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 0
object Label8: TLabel
Left = 29
Top = 36
Width = 60
Height = 19
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Dinheiro'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label9: TLabel
Left = 34
Top = 75
Width = 53
Height = 19
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Cheque'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label10: TLabel
Left = 40
Top = 114
Width = 46
Height = 19
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Cart'#227'o'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label11: TLabel
Left = 40
Top = 153
Width = 48
Height = 19
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Outros'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object dinheiro: TcxCurrencyEdit
Left = 93
Top = 26
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
EditValue = '0'
ParentFont = False
Properties.DisplayFormat = '0.00;-0.00'
Properties.OnEditValueChanged = descontoPropertiesEditValueChanged
Style.Font.Charset = DEFAULT_CHARSET
Style.Font.Color = clWindowText
Style.Font.Height = -17
Style.Font.Name = 'Tahoma'
Style.Font.Style = []
Style.IsFontAssigned = True
TabOrder = 0
Width = 122
end
object cheque: TcxCurrencyEdit
Left = 93
Top = 65
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
EditValue = '0'
ParentFont = False
Properties.DisplayFormat = '0.00;-0.00'
Properties.OnEditValueChanged = descontoPropertiesEditValueChanged
Style.Font.Charset = DEFAULT_CHARSET
Style.Font.Color = clWindowText
Style.Font.Height = -17
Style.Font.Name = 'Tahoma'
Style.Font.Style = []
Style.IsFontAssigned = True
TabOrder = 1
Width = 122
end
object cartao: TcxCurrencyEdit
Left = 93
Top = 104
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
EditValue = '0'
ParentFont = False
Properties.DisplayFormat = '0.00;-0.00'
Properties.OnEditValueChanged = descontoPropertiesEditValueChanged
Style.Font.Charset = DEFAULT_CHARSET
Style.Font.Color = clWindowText
Style.Font.Height = -17
Style.Font.Name = 'Tahoma'
Style.Font.Style = []
Style.IsFontAssigned = True
TabOrder = 2
Width = 122
end
object outros: TcxCurrencyEdit
Left = 93
Top = 143
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
EditValue = '0'
ParentFont = False
Properties.DisplayFormat = '0.00;-0.00'
Properties.OnEditValueChanged = descontoPropertiesEditValueChanged
Style.Font.Charset = DEFAULT_CHARSET
Style.Font.Color = clWindowText
Style.Font.Height = -17
Style.Font.Name = 'Tahoma'
Style.Font.Style = []
Style.IsFontAssigned = True
TabOrder = 3
OnExit = outrosExit
Width = 122
end
object tipo_cartao: TcxRadioGroup
Left = 29
Top = 175
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Tipo Cart'#227'o'
Properties.Columns = 2
Properties.Items = <
item
Caption = 'Cr'#233'dito'
end
item
Caption = 'D'#233'bito'
end>
ItemIndex = 1
TabOrder = 4
Transparent = True
Visible = False
Height = 53
Width = 191
end
end
object desconto: TcxCurrencyEdit
Left = 89
Top = 51
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
EditValue = '0'
ParentFont = False
Properties.DisplayFormat = '0.00;-0.00'
Properties.OnEditValueChanged = descontoPropertiesEditValueChanged
Style.Font.Charset = DEFAULT_CHARSET
Style.Font.Color = clWindowText
Style.Font.Height = -17
Style.Font.Name = 'Tahoma'
Style.Font.Style = []
Style.IsFontAssigned = True
TabOrder = 1
Width = 122
end
object acrescimo: TcxCurrencyEdit
Left = 89
Top = 89
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
EditValue = '0'
ParentFont = False
Properties.DisplayFormat = '0.00;-0.00'
Properties.OnEditValueChanged = descontoPropertiesEditValueChanged
Style.Font.Charset = DEFAULT_CHARSET
Style.Font.Color = clWindowText
Style.Font.Height = -17
Style.Font.Name = 'Tahoma'
Style.Font.Style = []
Style.IsFontAssigned = True
TabOrder = 2
Width = 122
end
object total: TcxCurrencyEdit
Left = 89
Top = 15
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
EditValue = '0'
Enabled = False
ParentFont = False
Properties.DisplayFormat = '0.00;-0.00'
Style.Font.Charset = DEFAULT_CHARSET
Style.Font.Color = clWindowText
Style.Font.Height = -17
Style.Font.Name = 'Tahoma'
Style.Font.Style = []
Style.IsFontAssigned = True
TabOrder = 3
Width = 122
end
end
end
end
object TabSheet2: TTabSheet
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'SATS Emitidos'
ImageIndex = 1
ExplicitLeft = 0
ExplicitTop = 0
ExplicitWidth = 0
ExplicitHeight = 0
object cxGrid1: TcxGrid
Left = 0
Top = 0
Width = 1105
Height = 596
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alClient
TabOrder = 0
object cxGridDBTableView1: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
Navigator.Buttons.First.Hint = 'Primeiro Registro'
Navigator.Buttons.PriorPage.Hint = 'P'#225'gina Anterior'
Navigator.Buttons.Prior.Hint = 'Registro Anterior'
Navigator.Buttons.Next.Hint = 'Pr'#243'ximo Registro'
Navigator.Buttons.NextPage.Hint = 'Pr'#243'xima P'#225'gina'
Navigator.Buttons.Last.Hint = #218'ltimo Registro'
Navigator.Buttons.Insert.Hint = 'Incluir Novo Registro'
Navigator.Buttons.Delete.Hint = 'Excluir Registro Atual'
Navigator.Buttons.Edit.Hint = 'Alterar Registro Atual'
Navigator.Buttons.Post.Hint = 'Salvar Inclus'#227'o Ou Altera'#231#227'o Do Registro Atual'
Navigator.Buttons.Cancel.Hint = 'Abandonar Inclus'#227'o Ou Altera'#231#227'o Do Registro Atual'
Navigator.Buttons.Refresh.Visible = False
Navigator.Buttons.SaveBookmark.Visible = False
Navigator.Buttons.GotoBookmark.Visible = False
Navigator.Buttons.Filter.Hint = 'Filtrar Informa'#231#245'es'
Navigator.Buttons.Filter.Visible = True
OnCustomDrawCell = cxGridDBTableView1CustomDrawCell
DataController.DataSource = DataSource2
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <>
DataController.Summary.SummaryGroups = <>
OptionsBehavior.CellHints = True
OptionsBehavior.FocusFirstCellOnNewRecord = True
OptionsBehavior.GoToNextCellOnEnter = True
OptionsBehavior.ImmediateEditor = False
OptionsBehavior.NavigatorHints = True
OptionsBehavior.FocusCellOnCycle = True
OptionsCustomize.ColumnFiltering = False
OptionsCustomize.ColumnSorting = False
OptionsData.Deleting = False
OptionsSelection.InvertSelect = False
OptionsSelection.UnselectFocusedRecordOnExit = False
OptionsView.GroupByBox = False
OptionsView.Indicator = True
object cxGridDBTableView1numero: TcxGridDBColumn
Caption = 'N'#250'mero'
DataBinding.FieldName = 'numero'
end
object cxGridDBTableView1NumeroCFe: TcxGridDBColumn
Caption = 'N'#186' CFE'
DataBinding.FieldName = 'numeroCfe'
end
object cxGridDBTableView1data: TcxGridDBColumn
Caption = 'EMISS'#195'O'
DataBinding.FieldName = 'emissao'
end
object cxGridDBTableView1codigo_cliente: TcxGridDBColumn
Caption = 'C'#211'DIGO'
DataBinding.FieldName = 'codigo_cliente'
end
object cxGridDBTableView1nome_cliente: TcxGridDBColumn
Caption = 'CLIENTE'
DataBinding.FieldName = 'nome_cliente'
Width = 299
end
object cxGridDBTableView1cpf_cliente: TcxGridDBColumn
Caption = 'CPF'
DataBinding.FieldName = 'cpf_cliente'
end
object cxGridDBTableView1Total: TcxGridDBColumn
DataBinding.FieldName = 'total'
end
object cxGridDBTableView1Column1: TcxGridDBColumn
Caption = 'CANCELAR'
DataBinding.FieldName = 'cancelado'
PropertiesClassName = 'TcxButtonEditProperties'
Properties.Buttons = <
item
Default = True
Glyph.Data = {
36100000424D3610000000000000360000002800000020000000200000000100
2000000000000010000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000010101011111
133C16161E730F0F207411112874111131741212377413133B7413133D741313
3C74121238741212337411112D7417162B7415151C4702020204000000000000
0000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000A0A0B4A2C2C
48DB3F3F98FD2D2D9FFD2F2FADFD2F2FB9FD3030C1FD3131C7FD3131C8FD3131
C7FD3030C1FD2F2FB9FD2E2EAEFD3C3CA9FD333363E60B0B0F5D020202030000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000009090C4A18183DDE2D2D
AFFF2121D3FF1E1ED2FF1E1ED2FF1E1ED2FF1E1ED2FF1F1FD2FF1F1FD2FF1F1F
D1FF1F1FD1FF1E1ED1FF1E1ED1FF2020D2FF2D2DBFFF1B1B4DE90B0B115E0101
0102000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000009090F4B181846DE2B2BB0FF1818
C6FF1212BEFF1212BEFF1212BEFF1212BEFF1212BEFF1212BEFF1212BEFF1212
BEFF1212BEFF1212BEFF1212BEFF1212BEFF1616C8FF2929BFFF1A1A57E90A0A
145E020201030000000000000000000000000000000000000000000000000000
00000000000000000000000000000808104B17174CDE2929B0FF1818C5FF1313
BFFF1313BFFF1313BFFF1313BFFF1313BFFF1313BFFF1313BFFF1313BFFF1313