forked from layerfsd/Roomer-PMS-1
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuDailyTotalsReport.dfm
580 lines (580 loc) · 15.9 KB
/
uDailyTotalsReport.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
inherited frmDailyTotalsReport: TfrmDailyTotalsReport
Left = 961
Top = 264
Caption = 'Finance mutations'
ClientHeight = 641
ClientWidth = 1116
Font.Height = -11
Position = poOwnerFormCenter
OnClose = FormClose
OnCreate = FormCreate
ExplicitWidth = 1132
ExplicitHeight = 680
PixelsPerInch = 96
TextHeight = 13
inherited sbStatusBar: TsStatusBar
Top = 621
Width = 1116
ExplicitTop = 621
ExplicitWidth = 1116
end
object pageMain: TsPageControl [1]
Left = 0
Top = 81
Width = 1116
Height = 540
ActivePage = sheetMain
Align = alClient
TabOrder = 0
SkinData.SkinSection = 'PAGECONTROL'
object sheetMain: TsTabSheet
Caption = 'Main'
TabVisible = False
object Panel1: TsPanel
Left = 0
Top = 0
Width = 1108
Height = 43
Align = alTop
BevelOuter = bvNone
TabOrder = 0
SkinData.SkinSection = 'PANEL'
object btnExcelS1: TsButton
AlignWithMargins = True
Left = 3
Top = 3
Width = 128
Height = 37
Align = alLeft
Caption = 'Excel'
ImageIndex = 115
Images = DImages.PngImageList1
TabOrder = 0
OnClick = btnExcelS1Click
SkinData.SkinSection = 'BUTTON'
end
end
object gTrxList: TcxGrid
Left = 0
Top = 43
Width = 1108
Height = 487
Align = alClient
BevelOuter = bvNone
BorderStyle = cxcbsNone
TabOrder = 1
LookAndFeel.NativeStyle = False
ExplicitTop = 41
object tvTrxList: 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 = mTrxListDS
DataController.Summary.DefaultGroupSummaryItems = <
item
Format = ',0;-,0'
Kind = skSum
Position = spFooter
end
item
Format = ',0;-,0'
Kind = skSum
end
item
Format = ',0;-,0'
Kind = skSum
end
item
Format = ',0.00;-,0.00'
end
item
Format = ',0.00;-,0.00'
Kind = skSum
Position = spFooter
end
item
Format = ',0.00;-,0.00'
Kind = skSum
Position = spFooter
end>
DataController.Summary.FooterSummaryItems = <
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'Total'
end
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'TotalWOVAT'
end
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'TotalVAT'
end
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'TotalStayTax'
end
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'TotalStayTaxNights'
end
item
Kind = skCount
FieldName = 'InvoiceNumber'
end
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'totalStayTaxExcluted'
end
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'TotalTax'
end
item
Format = ',0.00;-,0.00'
Kind = skSum
end
item
Format = ',0;-,0'
Kind = skSum
end
item
Format = ',0;-,0'
Kind = skSum
end
item
Format = ',0;-,0'
Kind = skSum
end
item
Format = ',0.00;-,0.00'
Kind = skSum
end
item
Format = ',0.00;-,0.00'
Kind = skSum
end
item
Format = ',0.00;-,0.00'
Kind = skSum
end
item
Format = ',0.00;-,0.00'
Kind = skSum
Column = tvTrxListTotalACC
end
item
Format = ',0.00;-,0.00'
Kind = skSum
Column = tvTrxListTotalACCWOVat
end
item
Format = ',0.00;-,0.00'
Kind = skSum
Column = tvTrxListTotalFB
end
item
Format = ',0.00;-,0.00'
Kind = skSum
Column = tvTrxListTotalFBWOVat
end
item
Format = ',0.00;-,0.00'
Kind = skSum
Column = tvTrxListTotalAUX
end
item
Format = ',0.00;-,0.00'
Kind = skSum
Column = tvTrxListTotalAUXWOVat
end
item
Format = ',0.00;-,0.00'
Kind = skSum
Column = tvTrxListTotal
end
item
Format = ',0.00;-,0.00'
Kind = skSum
Column = tvTrxListTotalWOVat
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.HeaderAutoHeight = True
OptionsView.Indicator = True
Styles.StyleSheet = cxssRoomerGridTableView
object tvTrxListRecId: TcxGridDBColumn
DataBinding.FieldName = 'RecId'
Visible = False
end
object tvTrxListdate: TcxGridDBColumn
Caption = 'Date'
DataBinding.FieldName = 'date'
HeaderAlignmentHorz = taCenter
Width = 82
end
object tvTrxListDEF: TcxGridDBColumn
Caption = 'Confirmed'
DataBinding.FieldName = 'DEF'
HeaderAlignmentHorz = taRightJustify
Width = 80
end
object tvTrxListTNT: TcxGridDBColumn
Caption = 'Tentative'
DataBinding.FieldName = 'TNT'
HeaderAlignmentHorz = taRightJustify
end
object tvTrxListOPT: TcxGridDBColumn
Caption = 'Optional'
DataBinding.FieldName = 'OPT'
HeaderAlignmentHorz = taRightJustify
end
object tvTrxListCXL: TcxGridDBColumn
Caption = 'Cancelled'
DataBinding.FieldName = 'CXL'
HeaderAlignmentHorz = taRightJustify
end
object tvTrxListTotalACC: TcxGridDBColumn
Caption = 'Gross Accomodation'
DataBinding.FieldName = 'TotalACC'
OnGetProperties = tvTrxListPriceGetProperties
HeaderAlignmentHorz = taRightJustify
Width = 128
end
object tvTrxListTotalACCWOVat: TcxGridDBColumn
Caption = 'Net Accomodation'
DataBinding.FieldName = 'TotalACCWOVat'
OnGetProperties = tvTrxListPriceGetProperties
HeaderAlignmentHorz = taRightJustify
Width = 138
end
object tvTrxListTotalFB: TcxGridDBColumn
Caption = 'Gross F&B'
DataBinding.FieldName = 'TotalFB'
OnGetProperties = tvTrxListPriceGetProperties
HeaderAlignmentHorz = taRightJustify
Width = 97
end
object tvTrxListTotalFBWOVat: TcxGridDBColumn
Caption = 'Net F&B'
DataBinding.FieldName = 'TotalFBWOVat'
OnGetProperties = tvTrxListPriceGetProperties
HeaderAlignmentHorz = taRightJustify
Width = 88
end
object tvTrxListTotalAUX: TcxGridDBColumn
Caption = 'Gross Various'
DataBinding.FieldName = 'TotalAUX'
OnGetProperties = tvTrxListPriceGetProperties
HeaderAlignmentHorz = taRightJustify
Width = 120
end
object tvTrxListTotalAUXWOVat: TcxGridDBColumn
Caption = 'Net Various'
DataBinding.FieldName = 'TotalAUXWOVat'
OnGetProperties = tvTrxListPriceGetProperties
HeaderAlignmentHorz = taRightJustify
Width = 128
end
object tvTrxListTotal: TcxGridDBColumn
Caption = 'Gross Total'
DataBinding.FieldName = 'Total'
OnGetProperties = tvTrxListPriceGetProperties
HeaderAlignmentHorz = taRightJustify
Width = 127
end
object tvTrxListTotalWOVat: TcxGridDBColumn
Caption = 'Net Total'
DataBinding.FieldName = 'TotalWOVat'
OnGetProperties = tvTrxListPriceGetProperties
HeaderAlignmentHorz = taRightJustify
Width = 131
end
end
object lvTrxList: TcxGridLevel
GridView = tvTrxList
end
end
end
end
object Panel3: TsPanel [2]
Left = 0
Top = 0
Width = 1116
Height = 81
Align = alTop
BevelOuter = bvNone
TabOrder = 2
SkinData.SkinSection = 'PANEL'
object gbxPeriodSelection: TsGroupBox
AlignWithMargins = True
Left = 3
Top = 3
Width = 189
Height = 75
Align = alLeft
Caption = 'Select report period'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 0
SkinData.SkinSection = 'GROUPBOX'
object sLabel1: TsLabel
Left = 34
Top = 23
Width = 28
Height = 13
Alignment = taRightJustify
Caption = 'From:'
end
object sLabel2: TsLabel
Left = 46
Top = 50
Width = 16
Height = 13
Alignment = taRightJustify
Caption = 'To:'
end
object dtDateFrom: TsDateEdit
Left = 68
Top = 20
Width = 105
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 = ' - - '
SkinData.SkinSection = 'EDIT'
GlyphMode.Blend = 0
GlyphMode.Grayed = False
end
object dtDateTo: TsDateEdit
Left = 68
Top = 47
Width = 105
Height = 20
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 = ' - - '
SkinData.SkinSection = 'EDIT'
GlyphMode.Blend = 0
GlyphMode.Grayed = False
end
end
object btnRefresh: TsButton
Left = 198
Top = 17
Width = 100
Height = 37
Caption = 'Refresh ALL'
Enabled = False
ImageIndex = 28
Images = DImages.PngImageList1
TabOrder = 1
OnClick = btnRefreshClick
SkinData.SkinSection = 'BUTTON'
end
end
inherited psRoomerBase: TcxPropertiesStore
Components = <
item
Component = frmBaseRoomerForm.Owner
Properties.Strings = (
'Height'
'Left'
'Top'
'Width'
'Position')
end>
end
inherited cxsrRoomerStyleRepository: TcxStyleRepository
PixelsPerInch = 96
inherited dxssRoomerGridReportLink: TdxGridReportLinkStyleSheet
BuiltIn = True
end
inherited cxssRoomerGridTableView: TcxGridTableViewStyleSheet
BuiltIn = True
end
end
object mTrxList: TdxMemData
Active = True
Indexes = <>
SortOptions = []
AfterScroll = mTrxListAfterScroll
Left = 256
Top = 321
object mTrxListdate: TDateField
FieldName = 'date'
end
object mTrxListDEF: TIntegerField
FieldName = 'DEF'
end
object mTrxListTNT: TIntegerField
FieldName = 'TNT'
end
object mTrxListCXL: TIntegerField
FieldName = 'CXL'
end
object mTrxListOPT: TIntegerField
FieldName = 'OPT'
end
object mTrxListTotalACC: TFloatField
FieldName = 'TotalACC'
end
object mTrxListTotalACCWOVat: TFloatField
FieldName = 'TotalACCWOVat'
end
object mTrxListTotalAUX: TFloatField
FieldName = 'TotalAUX'
end
object mTrxListTotalAUXWOVat: TFloatField
FieldName = 'TotalAUXWOVat'
end
object mTrxListTotal: TFloatField
FieldName = 'Total'
end
object mTrxListTotalWOVat: TFloatField
FieldName = 'TotalWOVat'
end
object mTrxListTotalFB: TFloatField
FieldName = 'TotalFB'
end
object mTrxListTotalFBWOVat: TFloatField
FieldName = 'TotalFBWOVat'
end
end
object mTrxListDS: TDataSource
DataSet = mTrxList
Left = 344
Top = 321
end
object StoreMain: TcxPropertiesStore
Components = <
item
Component = Owner
Properties.Strings = (
'Height'
'Left'
'Position'
'Top'
'Width')
end
item
Component = tvTrxListCXL
Properties.Strings = (
'Width')
end
item
Component = tvTrxListdate
Properties.Strings = (
'Width')
end
item
Component = tvTrxListDEF
Properties.Strings = (
'Width')
end
item
Component = tvTrxListOPT
Properties.Strings = (
'Width')
end
item
Component = tvTrxListRecId
Properties.Strings = (
'Width')
end
item
Component = tvTrxListTNT
Properties.Strings = (
'Width')
end
item
Component = tvTrxListTotal
Properties.Strings = (
'Width')
end
item
Component = tvTrxListTotalACC
Properties.Strings = (
'Width')
end
item
Component = tvTrxListTotalACCWOVat
Properties.Strings = (
'Width')
end
item
Component = tvTrxListTotalAUX
Properties.Strings = (
'Width')
end
item
Component = tvTrxListTotalAUXWOVat
Properties.Strings = (
'Width')
end
item
Component = tvTrxListTotalWOVat
Properties.Strings = (
'Width')
end>
StorageName = 'Software\Roomer\FormStatus\DailyTotalsReport2'
StorageType = stRegistry
Left = 496
Top = 344
end
end