forked from layerfsd/Roomer-PMS-1
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuRptFinance.dfm
4089 lines (4089 loc) · 126 KB
/
uRptFinance.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 frmRptFinance: TfrmRptFinance
Left = 822
Top = 210
Caption = 'Finance Report'
ClientHeight = 710
ClientWidth = 1195
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
KeyPreview = True
OldCreateOrder = False
Position = poOwnerFormCenter
OnCreate = FormCreate
OnKeyDown = FormKeyDown
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object LMDStatusBar1: TStatusBar
Left = 0
Top = 691
Width = 1195
Height = 19
Panels = <>
end
object LMDSimplePanel1: TsPanel
Left = 0
Top = 0
Width = 1195
Height = 135
Align = alTop
BevelOuter = bvNone
TabOrder = 1
SkinData.SkinSection = 'PANEL'
object labLocations: TsLabel
AlignWithMargins = True
Left = 657
Top = 14
Width = 148
Height = 25
Alignment = taRightJustify
AutoSize = False
Caption = 'Locations :'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = [fsBold]
end
object __labLocationsList: TsLabel
Left = 811
Top = 14
Width = 22
Height = 19
Caption = 'All'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = [fsBold]
end
object gbxSelectDates: TsGroupBox
Left = 11
Top = 6
Width = 257
Height = 80
Caption = 'Select Dates'
TabOrder = 1
SkinData.SkinSection = 'GROUPBOX'
object LMDSimpleLabel1: TsLabel
Left = 67
Top = 15
Width = 55
Height = 13
Alignment = taRightJustify
Caption = 'Date from :'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object LMDSimpleLabel2: TsLabel
Left = 79
Top = 42
Width = 43
Height = 13
Alignment = taRightJustify
Caption = 'Date to :'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object dtDate: TsDateEdit
Left = 128
Top = 12
Width = 121
Height = 21
AutoSize = False
Color = clWhite
EditMask = '!99/99/9999;1; '
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
MaxLength = 10
ParentFont = False
TabOrder = 0
Text = '25-12-2012'
SkinData.SkinSection = 'EDIT'
GlyphMode.Blend = 0
GlyphMode.Grayed = False
Date = 41268.000000000000000000
end
object dtDateTo: TsDateEdit
Left = 128
Top = 39
Width = 121
Height = 21
AutoSize = False
Color = clWhite
EditMask = '!99/99/9999;1; '
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
MaxLength = 10
ParentFont = False
TabOrder = 1
Text = '25-12-2012'
SkinData.SkinSection = 'EDIT'
GlyphMode.Blend = 0
GlyphMode.Grayed = False
Date = 41268.000000000000000000
end
object chkOneday: TsCheckBox
Left = 3
Top = 60
Width = 61
Height = 20
Caption = 'One day'
Checked = True
State = cbChecked
TabOrder = 2
OnClick = chkOnedayClick
SkinData.SkinSection = 'CHECKBOX'
ImgChecked = 0
ImgUnchecked = 0
end
end
object btnRefresh: TsButton
Left = 551
Top = 58
Width = 100
Height = 28
Caption = 'Refresh'
Default = True
ImageIndex = 28
Images = DImages.PngImageList1
TabOrder = 0
OnClick = btnRefreshClick
SkinData.SkinSection = 'BUTTON'
end
object GroupBox1: TsGroupBox
Left = 274
Top = 6
Width = 271
Height = 80
Caption = '.. or Unconfirmed'
TabOrder = 2
SkinData.SkinSection = 'GROUPBOX'
object chkGetUnconfirmed: TsCheckBox
Left = 21
Top = 18
Width = 99
Height = 20
Caption = 'Get unconfirmed'
Enabled = False
TabOrder = 0
OnClick = chkGetUnconfirmedClick
SkinData.SkinSection = 'CHECKBOX'
ImgChecked = 0
ImgUnchecked = 0
end
object btnConfirm: TsButton
Left = 21
Top = 50
Width = 100
Height = 25
Caption = 'Confirm now'
Enabled = False
ImageIndex = 82
Images = DImages.PngImageList1
TabOrder = 1
OnClick = btnConfirmClick
SkinData.SkinSection = 'BUTTON'
end
end
object getConfirmGroup: TsButton
Left = 551
Top = 13
Width = 100
Height = 42
Caption = 'Get Selected confirm group'
TabOrder = 3
OnClick = getConfirmGroupClick
SkinData.SkinSection = 'BUTTON'
end
object pnlButtons: TsPanel
Left = 0
Top = 92
Width = 1195
Height = 43
Align = alBottom
FullRepaint = False
TabOrder = 4
SkinData.SkinSection = 'PANEL'
object cxButton3: TsButton
AlignWithMargins = True
Left = 4
Top = 4
Width = 128
Height = 35
Align = alLeft
Caption = 'Excel'
ImageIndex = 115
Images = DImages.PngImageList1
TabOrder = 0
OnClick = btnExcel
SkinData.SkinSection = 'BUTTON'
end
object btnPrint: TsButton
AlignWithMargins = True
Left = 138
Top = 4
Width = 128
Height = 35
Align = alLeft
Caption = 'Print'
ImageIndex = 3
Images = DImages.PngImageList1
TabOrder = 1
OnClick = btnPrintClick
SkinData.SkinSection = 'BUTTON'
end
object btnShowReservation: TsButton
AlignWithMargins = True
Left = 272
Top = 4
Width = 128
Height = 35
Align = alLeft
Caption = 'Reservaton'
ImageIndex = 56
Images = DImages.PngImageList1
TabOrder = 2
OnClick = btnShowReservationClick
SkinData.SkinSection = 'BUTTON'
end
object btnShowGuests: TsButton
AlignWithMargins = True
Left = 406
Top = 4
Width = 128
Height = 35
Align = alLeft
Caption = 'Guests'
ImageIndex = 39
Images = DImages.PngImageList1
TabOrder = 3
OnClick = btnShowGuestsClick
SkinData.SkinSection = 'BUTTON'
end
object btnShowSelectedInvoice: TsButton
AlignWithMargins = True
Left = 540
Top = 4
Width = 128
Height = 35
Align = alLeft
Caption = 'Invoice'
ImageIndex = 63
Images = DImages.PngImageList1
TabOrder = 4
OnClick = btnShowSelectedInvoiceClick
SkinData.SkinSection = 'BUTTON'
end
object btnShowInvoice: TsButton
AlignWithMargins = True
Left = 674
Top = 4
Width = 128
Height = 35
Align = alLeft
Caption = 'Invoices'
DropDownMenu = mnuFinishedInv
ImageIndex = 63
Images = DImages.PngImageList1
Style = bsSplitButton
TabOrder = 5
AnimatEvents = [aeMouseEnter, aeGlobalDef]
SkinData.SkinSection = 'BUTTON'
end
end
end
object mainPage: TsPageControl
Left = 0
Top = 135
Width = 1195
Height = 556
ActivePage = sheetSums
Align = alClient
Style = tsFlatButtons
TabHeight = 25
TabOrder = 2
TabWidth = 120
OnChange = mainPageChange
SkinData.SkinSection = 'PAGECONTROL'
object sheetSums: TsTabSheet
Caption = 'Sums'
ImageIndex = 4
object Panel9: TsPanel
Left = 265
Top = 0
Width = 922
Height = 521
Align = alClient
Caption = 'Panel6'
TabOrder = 0
SkinData.SkinSection = 'PANEL'
object Panel10: TsPanel
Left = 1
Top = 1
Width = 920
Height = 22
Align = alTop
BevelOuter = bvNone
TabOrder = 0
SkinData.SkinSection = 'PANEL'
end
object pageSums: TsPageControl
Left = 1
Top = 23
Width = 920
Height = 497
ActivePage = sheetSums2
Align = alClient
TabOrder = 1
SkinData.SkinSection = 'PAGECONTROL'
object sheetSums2: TsTabSheet
Caption = 'Sale type / paymentgroup'
object grSums2: TcxGrid
Left = 0
Top = 0
Width = 912
Height = 469
Align = alClient
TabOrder = 0
LookAndFeel.NativeStyle = False
ExplicitLeft = 1
ExplicitTop = 3
object tvSums2: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
Navigator.Buttons.First.Visible = True
Navigator.Buttons.PriorPage.Visible = True
Navigator.Buttons.Prior.Visible = True
Navigator.Buttons.Next.Visible = True
Navigator.Buttons.NextPage.Visible = True
Navigator.Buttons.Last.Visible = True
Navigator.Buttons.Insert.Enabled = False
Navigator.Buttons.Insert.Visible = False
Navigator.Buttons.Append.Enabled = False
Navigator.Buttons.Append.Visible = False
Navigator.Buttons.Delete.Enabled = False
Navigator.Buttons.Delete.Visible = False
Navigator.Buttons.Edit.Enabled = False
Navigator.Buttons.Edit.Visible = False
Navigator.Buttons.Post.Enabled = False
Navigator.Buttons.Post.Visible = False
Navigator.Buttons.Cancel.Enabled = False
Navigator.Buttons.Cancel.Visible = True
Navigator.Buttons.Refresh.Visible = True
Navigator.Buttons.SaveBookmark.Visible = True
Navigator.Buttons.GotoBookmark.Visible = True
Navigator.Buttons.Filter.Visible = True
FilterBox.Visible = fvNever
DataController.DataSource = mSums2DS
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'Payment'
Column = tvSums2Payment
end
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'Sale'
Column = tvSums2Sale
end>
DataController.Summary.SummaryGroups = <>
OptionsBehavior.IncSearch = True
OptionsData.CancelOnExit = False
OptionsData.Deleting = False
OptionsData.DeletingConfirmation = False
OptionsData.Editing = False
OptionsData.Inserting = False
OptionsView.Footer = True
OptionsView.FooterAutoHeight = True
OptionsView.FooterMultiSummaries = True
OptionsView.GroupByBox = False
OptionsView.Indicator = True
object tvSums2RecId: TcxGridDBColumn
DataBinding.FieldName = 'RecId'
Visible = False
end
object tvSums2id: TcxGridDBColumn
DataBinding.FieldName = 'id'
Visible = False
Options.Editing = False
Options.Filtering = False
Options.FilteringFilteredItemsList = False
Options.FilteringMRUItemsList = False
Options.FilteringPopup = False
Options.FilteringPopupMultiSelect = False
Options.GroupFooters = False
Options.Grouping = False
Options.Moving = False
end
object tvSums2Code: TcxGridDBColumn
DataBinding.FieldName = 'Code'
Options.Editing = False
Options.Filtering = False
Options.FilteringFilteredItemsList = False
Options.FilteringMRUItemsList = False
Options.FilteringPopup = False
Options.FilteringPopupMultiSelect = False
Options.Moving = False
Width = 66
end
object tvSums2Description: TcxGridDBColumn
DataBinding.FieldName = 'Description'
Options.Editing = False
Options.Filtering = False
Options.FilteringFilteredItemsList = False
Options.FilteringMRUItemsList = False
Options.FilteringPopup = False
Options.FilteringPopupMultiSelect = False
Options.Moving = False
Width = 162
end
object tvSums2Sale: TcxGridDBColumn
DataBinding.FieldName = 'Sale'
PropertiesClassName = 'TcxCurrencyEditProperties'
Properties.DisplayFormat = ',0.00;-,0.00'
OnGetProperties = GetNativeCurrencyProperties
Options.Editing = False
Options.Filtering = False
Options.FilteringFilteredItemsList = False
Options.FilteringMRUItemsList = False
Options.FilteringPopupMultiSelect = False
Options.Moving = False
Width = 88
end
object tvSums2Payment: TcxGridDBColumn
DataBinding.FieldName = 'Payment'
PropertiesClassName = 'TcxCurrencyEditProperties'
Properties.DisplayFormat = ',0.00;-,0.00'
OnGetProperties = GetNativeCurrencyProperties
Options.Editing = False
Options.Filtering = False
Options.FilteringFilteredItemsList = False
Options.FilteringMRUItemsList = False
Options.FilteringPopup = False
Options.FilteringPopupMultiSelect = False
Options.Moving = False
Width = 84
end
end
object lvSums2: TcxGridLevel
GridView = tvSums2
Options.DetailTabsPosition = dtpTop
end
end
end
object sheetSums3: TsTabSheet
Caption = 'Sale item / payment type'
ImageIndex = 1
object grSums: TcxGrid
Left = 0
Top = 0
Width = 912
Height = 469
Align = alClient
TabOrder = 0
LookAndFeel.NativeStyle = False
object tvSums: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
Navigator.Buttons.First.Visible = True
Navigator.Buttons.PriorPage.Visible = True
Navigator.Buttons.Prior.Visible = True
Navigator.Buttons.Next.Visible = True
Navigator.Buttons.NextPage.Visible = True
Navigator.Buttons.Last.Visible = True
Navigator.Buttons.Insert.Enabled = False
Navigator.Buttons.Insert.Visible = False
Navigator.Buttons.Append.Enabled = False
Navigator.Buttons.Append.Visible = False
Navigator.Buttons.Delete.Enabled = False
Navigator.Buttons.Delete.Visible = False
Navigator.Buttons.Edit.Enabled = False
Navigator.Buttons.Edit.Visible = False
Navigator.Buttons.Post.Enabled = False
Navigator.Buttons.Post.Visible = False
Navigator.Buttons.Cancel.Enabled = False
Navigator.Buttons.Cancel.Visible = True
Navigator.Buttons.Refresh.Visible = True
Navigator.Buttons.SaveBookmark.Visible = True
Navigator.Buttons.GotoBookmark.Visible = True
Navigator.Buttons.Filter.Visible = True
DataController.DataSource = mSumsDS
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'Payment'
Column = tvSumsPayment
end
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'Sale'
Column = tvSumsSale
end>
DataController.Summary.SummaryGroups = <>
OptionsBehavior.IncSearch = True
OptionsData.CancelOnExit = False
OptionsData.Deleting = False
OptionsData.DeletingConfirmation = False
OptionsData.Editing = False
OptionsData.Inserting = False
OptionsView.Footer = True
OptionsView.FooterAutoHeight = True
OptionsView.FooterMultiSummaries = True
OptionsView.GroupByBox = False
OptionsView.Indicator = True
object tvSumsid: TcxGridDBColumn
DataBinding.FieldName = 'id'
Visible = False
end
object tvSumsCode: TcxGridDBColumn
DataBinding.FieldName = 'Code'
Width = 85
end
object tvSumsDescription: TcxGridDBColumn
DataBinding.FieldName = 'Description'
Width = 151
end
object tvSumsSale: TcxGridDBColumn
DataBinding.FieldName = 'Sale'
PropertiesClassName = 'TcxCurrencyEditProperties'
Properties.DisplayFormat = ',0.00;-,0.00'
OnGetProperties = GetNativeCurrencyProperties
Width = 84
end
object tvSumsPayment: TcxGridDBColumn
DataBinding.FieldName = 'Payment'
PropertiesClassName = 'TcxCurrencyEditProperties'
Properties.DisplayFormat = ',0.00;-,0.00'
OnGetProperties = GetNativeCurrencyProperties
Width = 84
end
end
object lvSums: TcxGridLevel
GridView = tvSums
end
end
end
end
end
object Panel11: TsPanel
Left = 0
Top = 0
Width = 265
Height = 521
Align = alLeft
Caption = 'Panel11'
TabOrder = 1
SkinData.SkinSection = 'PANEL'
object Panel12: TsPanel
Left = 1
Top = 1
Width = 263
Height = 22
Align = alTop
BevelOuter = bvNone
TabOrder = 0
SkinData.SkinSection = 'PANEL'
end
object cxDBVerticalGrid1: TcxDBVerticalGrid
Left = 1
Top = 23
Width = 263
Height = 497
Align = alClient
LookAndFeel.NativeStyle = False
OptionsView.RowHeaderWidth = 147
Navigator.Buttons.CustomButtons = <>
TabOrder = 1
DataController.DataSource = mHeadDS
Version = 1
object cxDBVerticalGrid1RecId: TcxDBEditorRow
Properties.DataBinding.FieldName = 'RecId'
Visible = False
ID = 0
ParentID = -1
Index = 0
Version = 1
end
object cxDBVerticalGrid1CategoryRow1: TcxCategoryRow
Properties.Caption = 'Head'
ID = 1
ParentID = -1
Index = 1
Version = 1
end
object cxDBVerticalGrid1Company: TcxDBEditorRow
Properties.DataBinding.FieldName = 'Company'
ID = 2
ParentID = 1
Index = 0
Version = 1
end
object cxDBVerticalGrid1Staff: TcxDBEditorRow
Properties.DataBinding.FieldName = 'Staff'
ID = 3
ParentID = 1
Index = 1
Version = 1
end
object cxDBVerticalGrid1DateFrom: TcxDBEditorRow
Properties.DataBinding.FieldName = 'DateFrom'
ID = 4
ParentID = 1
Index = 2
Version = 1
end
object cxDBVerticalGrid1DateTo: TcxDBEditorRow
Properties.DataBinding.FieldName = 'DateTo'
ID = 5
ParentID = 1
Index = 3
Version = 1
end
object cxDBVerticalGrid1DateCount: TcxDBEditorRow
Properties.DataBinding.FieldName = 'DateCount'
ID = 6
ParentID = 1
Index = 4
Version = 1
end
object cxDBVerticalGrid1CategoryRow2: TcxCategoryRow
Properties.Caption = 'Sale'
ID = 7
ParentID = -1
Index = 2
Version = 1
end
object cxDBVerticalGrid1InvoiceCount: TcxDBEditorRow
Properties.DataBinding.FieldName = 'InvoiceCount'
ID = 8
ParentID = 7
Index = 0
Version = 1
end
object cxDBVerticalGrid1SaleAmount: TcxDBEditorRow
Properties.EditPropertiesClassName = 'TcxCurrencyEditProperties'
Properties.EditProperties.DisplayFormat = ',0.00;-,0.00'
Properties.DataBinding.FieldName = 'SaleAmount'
ID = 9
ParentID = 7
Index = 1
Version = 1
end
object cxDBVerticalGrid1SaleAmountWoVAT: TcxDBEditorRow
Properties.EditPropertiesClassName = 'TcxCurrencyEditProperties'
Properties.EditProperties.DisplayFormat = ',0.00;-,0.00'
Properties.DataBinding.FieldName = 'SaleAmountWoVAT'
ID = 10
ParentID = 7
Index = 2
Version = 1
end
object cxDBVerticalGrid1VATAmount: TcxDBEditorRow
Properties.EditPropertiesClassName = 'TcxCurrencyEditProperties'
Properties.EditProperties.DisplayFormat = ',0.00;-,0.00'
Properties.DataBinding.FieldName = 'VATAmount'
ID = 11
ParentID = 7
Index = 3
Version = 1
end
object cxDBVerticalGrid1SalePerDay: TcxDBEditorRow
Properties.EditPropertiesClassName = 'TcxCurrencyEditProperties'
Properties.EditProperties.DisplayFormat = ',0.00;-,0.00'
Properties.DataBinding.FieldName = 'SalePerDay'
ID = 12
ParentID = 7
Index = 4
Version = 1
end
object cxDBVerticalGrid1SalePerInvoice: TcxDBEditorRow
Properties.EditPropertiesClassName = 'TcxCurrencyEditProperties'
Properties.EditProperties.DisplayFormat = ',0.00;-,0.00'
Properties.DataBinding.FieldName = 'SalePerInvoice'
ID = 13
ParentID = 7
Index = 5
Version = 1
end
object cxDBVerticalGrid1CategoryRow3: TcxCategoryRow
Properties.Caption = 'Payments'
ID = 14
ParentID = -1
Index = 3
Version = 1
end
object cxDBVerticalGrid1PaymentCount: TcxDBEditorRow
Properties.DataBinding.FieldName = 'PaymentCount'
ID = 15
ParentID = 14
Index = 0
Version = 1
end
object cxDBVerticalGrid1PaymentAmount: TcxDBEditorRow
Properties.EditPropertiesClassName = 'TcxCurrencyEditProperties'
Properties.EditProperties.DisplayFormat = ',0.00;-,0.00'
Properties.DataBinding.FieldName = 'PaymentAmount'
ID = 16
ParentID = 14
Index = 1
Version = 1
end
object cxDBVerticalGrid1CategoryRow4: TcxCategoryRow
Properties.Caption = 'Logding Tax'
ID = 17
ParentID = -1
Index = 4
Version = 1
end
object cxDBVerticalGrid1LodgingNights: TcxDBEditorRow
Properties.DataBinding.FieldName = 'LodgingNights'
ID = 18
ParentID = 17
Index = 0
Version = 1
end
object cxDBVerticalGrid1LodgingTax: TcxDBEditorRow
Properties.EditPropertiesClassName = 'TcxCurrencyEditProperties'
Properties.EditProperties.DisplayFormat = ',0.00;-,0.00'
Properties.DataBinding.FieldName = 'LodgingTax'
ID = 19
ParentID = 17
Index = 1
Version = 1
end
object cxDBVerticalGrid1CategoryRow5: TcxCategoryRow
Properties.Caption = 'Invoice categories'
ID = 20
ParentID = -1
Index = 5
Version = 1
end
object cxDBVerticalGrid1GroupInvoiceCount: TcxDBEditorRow
Properties.DataBinding.FieldName = 'GroupInvoiceCount'
ID = 21
ParentID = 20
Index = 0
Version = 1
end
object cxDBVerticalGrid1RoomInvoiceCount: TcxDBEditorRow
Properties.DataBinding.FieldName = 'RoomInvoiceCount'
ID = 22
ParentID = 20
Index = 1
Version = 1
end
object cxDBVerticalGrid1CashInvoiceCount: TcxDBEditorRow
Properties.DataBinding.FieldName = 'CashInvoiceCount'
ID = 23
ParentID = 20
Index = 2
Version = 1
end
object cxDBVerticalGrid1KeditInvoiceCount: TcxDBEditorRow
Properties.DataBinding.FieldName = 'KeditInvoiceCount'
ID = 24
ParentID = 20
Index = 3
Version = 1
end
end
end
end
object SheetInvoicelist: TsTabSheet
Caption = 'Sale - Invoice'
ImageIndex = 3
object Panel4: TsPanel
Left = 0
Top = 0
Width = 1187
Height = 35
Align = alTop
TabOrder = 0
SkinData.SkinSection = 'PANEL'
object cxButton1: TsButton
AlignWithMargins = True
Left = 85
Top = 4
Width = 75
Height = 27
Align = alLeft
Caption = 'expand all'
TabOrder = 0
OnClick = cxButton1Click
SkinData.SkinSection = 'BUTTON'
end
object cxButton2: TsButton
AlignWithMargins = True
Left = 4
Top = 4
Width = 75
Height = 27
Align = alLeft
Caption = 'Contract all'
TabOrder = 1
OnClick = cxButton2Click
SkinData.SkinSection = 'BUTTON'
end
end
object grInvoicelist: TcxGrid
Left = 0
Top = 35
Width = 1187
Height = 486
Align = alClient
TabOrder = 1
LookAndFeel.NativeStyle = False
object tvInvoiceHeads: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
Navigator.Buttons.First.Visible = True
Navigator.Buttons.PriorPage.Visible = True
Navigator.Buttons.Prior.Visible = True
Navigator.Buttons.Next.Visible = True
Navigator.Buttons.NextPage.Visible = True
Navigator.Buttons.Last.Visible = True
Navigator.Buttons.Insert.Enabled = False
Navigator.Buttons.Insert.Visible = False
Navigator.Buttons.Append.Enabled = False
Navigator.Buttons.Append.Visible = False
Navigator.Buttons.Delete.Enabled = False
Navigator.Buttons.Delete.Visible = False
Navigator.Buttons.Edit.Enabled = False
Navigator.Buttons.Edit.Visible = False
Navigator.Buttons.Post.Enabled = False
Navigator.Buttons.Post.Visible = False
Navigator.Buttons.Cancel.Enabled = False
Navigator.Buttons.Cancel.Visible = True
Navigator.Buttons.Refresh.Visible = True
Navigator.Buttons.SaveBookmark.Visible = True
Navigator.Buttons.GotoBookmark.Visible = True
Navigator.Buttons.Filter.Visible = True
DataController.DataSource = mInvoiceHeadsDS
DataController.DetailKeyFieldNames = 'InvoiceNumber'
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'ihAmountWithTax'
Column = tvInvoiceHeadsihAmountWithTax
end
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'ihAmountNoTax'
Column = tvInvoiceHeadsihAmountNoTax
end
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'ihAmountTax'
Column = tvInvoiceHeadsihAmountTax
end
item
Kind = skCount
FieldName = 'InvoiceNumber'
Column = tvInvoiceHeadsInvoiceNumber
end
item
Format = '###0.;###0.'
Kind = skSum
FieldName = 'isKredit'
Column = tvInvoiceHeadsisKredit
end
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'TotalStayTax'
Column = tvInvoiceHeadsTotalStayTax
end
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'TotalStayTaxNights'
Column = tvInvoiceHeadsTotalStayTaxNights
end
item
Format = '###0.;###0.'
Kind = skSum
FieldName = 'isCash'
Column = tvInvoiceHeadsisCash
end
item
Format = '###0.;###0.'
Kind = skSum
FieldName = 'isGroup'
Column = tvInvoiceHeadsisGroup
end
item
Format = '###0.;###0.'
Kind = skSum
FieldName = 'isRoom'
Column = tvInvoiceHeadsisRoom
end
item
Kind = skCount
FieldName = 'Reservation'
Column = tvInvoiceHeadsReservation
end>
DataController.Summary.SummaryGroups = <>
OptionsBehavior.IncSearch = True
OptionsData.CancelOnExit = False
OptionsData.Deleting = False
OptionsData.DeletingConfirmation = False
OptionsData.Editing = False
OptionsData.Inserting = False
OptionsView.Footer = True
OptionsView.FooterAutoHeight = True
OptionsView.FooterMultiSummaries = True
OptionsView.Indicator = True
object tvInvoiceHeadsRecId: TcxGridDBColumn
DataBinding.FieldName = 'RecId'
Visible = False
end
object tvInvoiceHeadsInvoiceNumber: TcxGridDBColumn
Caption = 'Number'
DataBinding.FieldName = 'InvoiceNumber'
Width = 48
end
object tvInvoiceHeadsInvoiceDate: TcxGridDBColumn
Caption = 'Date'
DataBinding.FieldName = 'InvoiceDate'
Width = 77
end
object tvInvoiceHeadsihAmountWithTax: TcxGridDBColumn
Caption = 'Amount'
DataBinding.FieldName = 'ihAmountWithTax'
PropertiesClassName = 'TcxCurrencyEditProperties'
Properties.DisplayFormat = ',0.00;-,0.00'
OnGetProperties = GetNativeCurrencyProperties
Width = 84
end
object tvInvoiceHeadsihAmountNoTax: TcxGridDBColumn
Caption = 'W/O VAT'
DataBinding.FieldName = 'ihAmountNoTax'
PropertiesClassName = 'TcxCurrencyEditProperties'
Properties.DisplayFormat = ',0.00;-,0.00'
OnGetProperties = GetNativeCurrencyProperties
Width = 70
end
object tvInvoiceHeadsihAmountTax: TcxGridDBColumn
Caption = 'VAT'
DataBinding.FieldName = 'ihAmountTax'
PropertiesClassName = 'TcxCurrencyEditProperties'
Properties.DisplayFormat = ',0.00;-,0.00'
OnGetProperties = GetNativeCurrencyProperties
Width = 72