forked from layerfsd/Roomer-PMS-1
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuRptConfirms.dfm
452 lines (452 loc) · 11.1 KB
/
uRptConfirms.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
object frmrptConfirms: TfrmrptConfirms
Left = 0
Top = 0
Caption = 'Confirms'
ClientHeight = 556
ClientWidth = 458
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
OnCreate = FormCreate
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object sPanel1: TsPanel
Left = 0
Top = 0
Width = 458
Height = 97
Align = alTop
TabOrder = 0
SkinData.SkinSection = 'PANEL'
DesignSize = (
458
97)
object gbxSelectDates: TsGroupBox
Left = 14
Top = 9
Width = 214
Height = 80
Caption = 'Select Dates'
TabOrder = 0
SkinData.SkinSection = 'GROUPBOX'
object labDateFrom: TsLabel
Left = 8
Top = 18
Width = 79
Height = 15
Alignment = taRightJustify
AutoSize = False
Caption = 'Date from :'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object labDateTo: TsLabel
Left = 3
Top = 39
Width = 84
Height = 15
Alignment = taRightJustify
AutoSize = False
Caption = 'Date to :'
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object chkOneday: TsCheckBox
Left = 3
Top = 60
Width = 69
Height = 19
Caption = 'One day'
TabOrder = 0
OnClick = chkOnedayClick
SkinData.SkinSection = 'CHECKBOX'
ImgChecked = 0
ImgUnchecked = 0
end
object dtDate: TsDateEdit
Left = 93
Top = 16
Width = 113
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 = ' - - '
SkinData.SkinSection = 'EDIT'
GlyphMode.Blend = 0
GlyphMode.Grayed = False
OnCloseUp = dtDateCloseUp
end
object dtDateTo: TsDateEdit
Left = 93
Top = 38
Width = 113
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 = 2
Text = ' - - '
SkinData.SkinSection = 'EDIT'
GlyphMode.Blend = 0
GlyphMode.Grayed = False
end
end
object btnRefresh: TsButton
Left = 241
Top = 10
Width = 114
Height = 24
Caption = 'Refresh ALL'
ImageIndex = 28
Images = DImages.PngImageList1
TabOrder = 1
OnClick = btnRefreshClick
SkinData.SkinSection = 'BUTTON'
end
object btnExit: TsButton
Left = 366
Top = 9
Width = 80
Height = 25
Anchors = [akTop, akRight]
Caption = 'Exit'
ImageIndex = 27
Images = DImages.PngImageList1
ModalResult = 8
TabOrder = 2
SkinData.SkinSection = 'BUTTON'
end
end
object pageMain: TsPageControl
Left = 0
Top = 130
Width = 458
Height = 394
ActivePage = tabConfirms
Align = alClient
TabOrder = 1
SkinData.SkinSection = 'PAGECONTROL'
object tabConfirms: TsTabSheet
Caption = 'Confirms'
Constraints.MinWidth = 450
TabVisible = False
ExplicitLeft = 0
ExplicitTop = 0
ExplicitWidth = 0
ExplicitHeight = 0
object sPanel2: TsPanel
Left = 0
Top = 0
Width = 450
Height = 1
Align = alTop
TabOrder = 0
SkinData.SkinSection = 'PANEL'
end
object grConfirms: TcxGrid
Left = 0
Top = 1
Width = 450
Height = 383
Align = alClient
TabOrder = 1
LookAndFeel.NativeStyle = False
object tvConfirms: TcxGridDBTableView
OnDblClick = BtnOkClick
Navigator.Buttons.CustomButtons = <>
Navigator.Buttons.Insert.Visible = False
Navigator.Buttons.Append.Visible = True
Navigator.Buttons.Delete.Visible = False
Navigator.Buttons.Edit.Visible = False
Navigator.Buttons.Post.Visible = False
Navigator.Buttons.Cancel.Visible = False
Navigator.Buttons.Refresh.Visible = False
Navigator.InfoPanel.Visible = True
Navigator.Visible = True
DataController.DataSource = ConfirmsDS
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'Turnover'
Column = tvConfirmsTurnover
end
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'Payments'
Column = tvConfirmsPayments
end
item
Format = ',0.00;-,0.00'
Kind = skSum
FieldName = 'Diff'
Column = tvConfirmsDiff
end>
DataController.Summary.SummaryGroups = <>
OptionsBehavior.AlwaysShowEditor = True
OptionsData.CancelOnExit = False
OptionsData.Deleting = False
OptionsData.DeletingConfirmation = False
OptionsData.Inserting = False
OptionsView.Footer = True
OptionsView.Indicator = True
object tvConfirmsConfirmDate: TcxGridDBColumn
DataBinding.FieldName = 'ConfirmDate'
Options.Editing = False
end
object tvConfirmsselected: TcxGridDBColumn
Caption = 'Selected'
DataBinding.FieldName = 'selected'
PropertiesClassName = 'TcxCheckBoxProperties'
Width = 52
end
object tvConfirmsTurnover: TcxGridDBColumn
DataBinding.FieldName = 'Turnover'
PropertiesClassName = 'TcxCurrencyEditProperties'
OnGetProperties = tvConfirmsTurnoverGetProperties
Options.Editing = False
Width = 91
end
object tvConfirmsPayments: TcxGridDBColumn
DataBinding.FieldName = 'Payments'
PropertiesClassName = 'TcxCurrencyEditProperties'
OnGetProperties = tvConfirmsTurnoverGetProperties
Options.Editing = False
Width = 98
end
object tvConfirmsDiff: TcxGridDBColumn
DataBinding.FieldName = 'Diff'
PropertiesClassName = 'TcxCurrencyEditProperties'
OnGetProperties = tvConfirmsTurnoverGetProperties
Options.Editing = False
Width = 106
end
end
object lvConfirms: TcxGridLevel
GridView = tvConfirms
end
end
end
end
object panBtn: TsPanel
Left = 0
Top = 524
Width = 458
Height = 32
Align = alBottom
BevelOuter = bvNone
TabOrder = 2
SkinData.SkinSection = 'PANEL'
DesignSize = (
458
32)
object btnCancel: TsButton
Left = 370
Top = 4
Width = 85
Height = 25
Hint = 'Cancel and close'
Anchors = [akTop, akRight]
Caption = 'Cancel'
ImageIndex = 4
Images = DImages.PngImageList1
ModalResult = 2
TabOrder = 0
SkinData.SkinSection = 'BUTTON'
end
object BtnOk: TsButton
Left = 280
Top = 4
Width = 84
Height = 25
Hint = 'Apply and close'
Anchors = [akTop, akRight]
Caption = 'OK'
ImageIndex = 82
Images = DImages.PngImageList1
ModalResult = 1
TabOrder = 1
OnClick = BtnOkClick
SkinData.SkinSection = 'BUTTON'
end
end
object sPanel3: TsPanel
Left = 0
Top = 97
Width = 458
Height = 33
Align = alTop
TabOrder = 3
SkinData.SkinSection = 'PANEL'
object btnExcelTurnover: TsButton
Left = 5
Top = 4
Width = 80
Height = 25
Caption = 'Excel'
ImageIndex = 132
Images = DImages.PngImageList1
TabOrder = 0
OnClick = btnExcelTurnoverClick
SkinData.SkinSection = 'BUTTON'
end
object cxButton4: TsButton
Left = 99
Top = 4
Width = 90
Height = 25
Caption = 'Select'
ImageIndex = 83
Images = DImages.PngImageList1
TabOrder = 1
OnClick = cxButton4Click
SkinData.SkinSection = 'BUTTON'
end
object cxButton1: TsButton
Left = 195
Top = 4
Width = 90
Height = 25
Caption = 'Select all'
ImageIndex = 75
Images = DImages.PngImageList1
TabOrder = 2
OnClick = cxButton1Click
SkinData.SkinSection = 'BUTTON'
end
object cxButton3: TsButton
Left = 287
Top = 4
Width = 90
Height = 25
Caption = 'Deselect all'
ImageIndex = 86
Images = DImages.PngImageList1
TabOrder = 3
OnClick = cxButton3Click
SkinData.SkinSection = 'BUTTON'
end
end
object kbmConfirms_: TkbmMemTable
Active = True
DesignActivation = True
AttachedAutoRefresh = True
AttachMaxCount = 1
FieldDefs = <
item
Name = 'ConfirmDate'
DataType = ftDateTime
end
item
Name = 'Turnover'
DataType = ftFloat
end
item
Name = 'Payments'
DataType = ftFloat
end
item
Name = 'Diff'
DataType = ftFloat
end
item
Name = 'selected'
DataType = ftBoolean
end>
IndexDefs = <>
SortOptions = []
PersistentBackup = False
ProgressFlags = [mtpcLoad, mtpcSave, mtpcCopy]
LoadedCompletely = False
SavedCompletely = False
FilterOptions = []
Version = '7.22.00 Standard Edition'
LanguageID = 0
SortID = 0
SubLanguageID = 1
LocaleID = 1024
OnNewRecord = kbmConfirms_NewRecord
Left = 88
Top = 232
end
object ConfirmsDS: TDataSource
DataSet = kbmConfirms_
Left = 192
Top = 232
end
object FormStore: TcxPropertiesStore
Components = <
item
Component = Owner
Properties.Strings = (
'Height'
'Left'
'Position'
'Top'
'Width')
end
item
Properties.Strings = (
'Width')
end
item
Properties.Strings = (
'Width')
end
item
Properties.Strings = (
'Width')
end
item
Properties.Strings = (
'Width')
end
item
Properties.Strings = (
'Width')
end
item
Properties.Strings = (
'Width')
end
item
Properties.Strings = (
'Width')
end>
StorageName = 'Software\Roomer\FormStatus\frmrptConfirms'
StorageType = stRegistry
Left = 86
Top = 312
end
end