forked from layerfsd/Roomer-PMS-1
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuRptBreakfastList.dfm
430 lines (430 loc) · 11.6 KB
/
uRptBreakfastList.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
inherited frmBreakfastList: TfrmBreakfastList
Caption = 'Breakfast List'
ClientHeight = 586
ClientWidth = 1123
ExplicitWidth = 1139
ExplicitHeight = 625
PixelsPerInch = 96
TextHeight = 13
inherited sbStatusBar: TsStatusBar
Top = 566
Width = 1123
ExplicitTop = 566
ExplicitWidth = 1123
end
inherited pnlButtons: TsPanel
Top = 523
Width = 1123
TabOrder = 0
ExplicitTop = 523
ExplicitWidth = 1123
inherited btnOK: TsButton
Left = 807
ExplicitLeft = 807
end
inherited btnCancel: TsButton
Left = 913
ExplicitLeft = 913
end
inherited btnClose: TsButton
Left = 1019
ExplicitLeft = 1019
end
end
inherited pnlTop: TsPanel
Width = 1123
Height = 121
AutoSize = False
TabOrder = 1
ExplicitWidth = 1123
ExplicitHeight = 121
object pnlExportButtons: TsPanel
Left = 0
Top = 80
Width = 1123
Height = 41
Align = alBottom
BevelOuter = bvNone
TabOrder = 0
SkinData.SkinSection = 'PANEL'
object btnExcel: TsButton
AlignWithMargins = True
Left = 3
Top = 3
Width = 128
Height = 35
Align = alLeft
Caption = 'Export'
DropDownMenu = pmnuExport
ImageIndex = 115
Images = DImages.PngImageList1
Style = bsSplitButton
TabOrder = 0
SkinData.SkinSection = 'BUTTON'
end
object btnProfile: TsButton
AlignWithMargins = True
Left = 137
Top = 3
Width = 128
Height = 35
Align = alLeft
Caption = 'Profile'
ImageIndex = 37
Images = DImages.PngImageList1
TabOrder = 1
OnClick = btnProfileClick
SkinData.SkinSection = 'BUTTON'
end
end
object gbxSelectDates: TsGroupBox
Left = 3
Top = 0
Width = 368
Height = 80
Caption = 'Select breakfast date:'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 1
SkinData.SkinSection = 'GROUPBOX'
object rbToday: TsRadioButton
Left = 4
Top = 21
Width = 50
Height = 20
Caption = 'Today'
Checked = True
TabOrder = 0
TabStop = True
OnClick = rbRadioButtonClick
end
object rbTomorrow: TsRadioButton
Left = 4
Top = 46
Width = 68
Height = 20
Caption = 'Tomorrow'
TabOrder = 1
OnClick = rbRadioButtonClick
end
object rbManualRange: TsRadioButton
Left = 119
Top = 21
Width = 83
Height = 20
Caption = 'Manual date:'
TabOrder = 2
OnClick = rbRadioButtonClick
end
object dtDate: TsDateEdit
Left = 216
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 = 3
Text = ' - - '
SkinData.SkinSection = 'EDIT'
GlyphMode.Blend = 0
GlyphMode.Grayed = False
end
end
object btnRefresh: TsButton
Left = 377
Top = 14
Width = 118
Height = 26
Caption = 'Refresh'
Default = True
ImageIndex = 28
Images = DImages.PngImageList1
TabOrder = 2
OnClick = btnRefreshClick
SkinData.SkinSection = 'BUTTON'
end
end
inherited pcClient: TsPageControl
Top = 121
Width = 1123
Height = 402
ExplicitTop = 121
ExplicitWidth = 1123
ExplicitHeight = 402
inherited tsMain: TsTabSheet
inherited grData: TcxGrid
Width = 1115
Height = 392
ExplicitWidth = 1115
ExplicitHeight = 392
inherited tvData: TcxGridDBBandedTableView
DataController.Summary.DefaultGroupSummaryItems = <
item
Kind = skSum
Position = spFooter
Column = tvDataNumGuests
end
item
Kind = skSum
Position = spFooter
Column = tvDatanumChildren
end
item
Kind = skSum
Position = spFooter
Column = tvDatanumInfants
end>
DataController.Summary.FooterSummaryItems = <
item
Kind = skSum
Column = tvDataNumGuests
end
item
Kind = skSum
Column = tvDatanumChildren
end
item
Kind = skSum
Column = tvDatanumInfants
end>
OptionsView.Footer = True
OptionsView.GroupByBox = True
Styles.Content = nil
Styles.ContentEven = nil
Styles.ContentOdd = nil
Styles.Selection = nil
Styles.Footer = nil
Styles.Group = nil
Styles.GroupSummary = nil
Styles.Header = nil
Styles.Preview = nil
Styles.BandHeader = cxstHeader
Bands = <
item
Width = 331
end
item
Caption = 'Number of'
Width = 333
end
item
Width = 453
end>
object tvDataReservation: TcxGridDBBandedColumn
DataBinding.FieldName = 'Reservation'
Width = 80
Position.BandIndex = 0
Position.ColIndex = 1
Position.RowIndex = 0
end
object tvDataRoomReservationID: TcxGridDBBandedColumn
DataBinding.FieldName = 'RoomReservation'
Visible = False
Position.BandIndex = 0
Position.ColIndex = 4
Position.RowIndex = 0
end
object tvDataLocation: TcxGridDBBandedColumn
DataBinding.FieldName = 'Location'
Visible = False
Position.BandIndex = 0
Position.ColIndex = 5
Position.RowIndex = 0
end
object tvDataLocationDescription: TcxGridDBBandedColumn
Caption = 'Location'
DataBinding.FieldName = 'LocationDescription'
PropertiesClassName = 'TcxTextEditProperties'
Visible = False
GroupIndex = 0
Width = 102
Position.BandIndex = 0
Position.ColIndex = 0
Position.RowIndex = 0
end
object tvDataRoom: TcxGridDBBandedColumn
DataBinding.FieldName = 'Room'
PropertiesClassName = 'TcxTextEditProperties'
Width = 88
Position.BandIndex = 0
Position.ColIndex = 2
Position.RowIndex = 0
end
object tvDataMainGuest: TcxGridDBBandedColumn
Caption = 'Guest name'
DataBinding.FieldName = 'MainGuest'
PropertiesClassName = 'TcxTextEditProperties'
Width = 145
Position.BandIndex = 0
Position.ColIndex = 3
Position.RowIndex = 0
end
object tvDataNumGuests: TcxGridDBBandedColumn
Caption = 'Guests'
DataBinding.FieldName = 'NumGuests'
PropertiesClassName = 'TcxCalcEditProperties'
HeaderAlignmentHorz = taRightJustify
Position.BandIndex = 1
Position.ColIndex = 0
Position.RowIndex = 0
end
object tvDatanumChildren: TcxGridDBBandedColumn
Caption = 'Children'
DataBinding.FieldName = 'numChildren'
PropertiesClassName = 'TcxCalcEditProperties'
OnGetDisplayText = tvDataGetDisplayTextHideZeroes
HeaderAlignmentHorz = taRightJustify
Position.BandIndex = 1
Position.ColIndex = 1
Position.RowIndex = 0
end
object tvDatanumInfants: TcxGridDBBandedColumn
Caption = 'Infants'
DataBinding.FieldName = 'numInfants'
PropertiesClassName = 'TcxCalcEditProperties'
OnGetDisplayText = tvDataGetDisplayTextHideZeroes
HeaderAlignmentHorz = taRightJustify
Position.BandIndex = 1
Position.ColIndex = 2
Position.RowIndex = 0
end
object tvDataRoomnotes: TcxGridDBBandedColumn
DataBinding.FieldName = 'Roomnotes'
PropertiesClassName = 'TcxMemoProperties'
Position.BandIndex = 2
Position.ColIndex = 0
Position.RowIndex = 0
end
end
end
end
end
inherited psRoomerBase: TcxPropertiesStore
Left = 424
Top = 216
end
inherited cxsrRoomerStyleRepository: TcxStyleRepository
Left = 312
Top = 216
PixelsPerInch = 96
inherited dxssRoomerGridReportLink: TdxGridReportLinkStyleSheet
BuiltIn = True
end
inherited cxssRoomerGridTableView: TcxGridTableViewStyleSheet
BuiltIn = True
end
inherited cxssRoomerGridBandedTableView: TcxGridBandedTableViewStyleSheet
BuiltIn = True
end
end
inherited dsData: TDataSource
DataSet = kbmBreakfastList
Left = 320
Top = 424
end
inherited alGridActions: TActionList
Top = 216
end
inherited grPrinter: TdxComponentPrinter
Top = 216
inherited prLink_grData: TdxGridReportLink
PrinterPage.Orientation = poLandscape
ReportDocument.CreationDate = 43151.492630763890000000
AssignedFormatValues = [fvDate, fvTime, fvPageNumber]
BuiltInReportLink = True
end
end
object kbmBreakfastList: TkbmMemTable
DesignActivation = True
AttachedAutoRefresh = True
AttachMaxCount = 1
FieldDefs = <
item
Name = 'Room'
DataType = ftString
Size = 10
end
item
Name = 'GuestName'
DataType = ftString
Size = 100
end
item
Name = 'NumGuests'
DataType = ftInteger
end
item
Name = 'RoomerRoomReservationID'
DataType = ftInteger
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
AfterScroll = kbmBreakfastListAfterScroll
Left = 416
Top = 359
object kbmBreakfastListReservations: TIntegerField
FieldName = 'Reservation'
end
object kbmBreakfastListRoomerRoomReservationID: TIntegerField
FieldName = 'RoomReservation'
end
object kbmBreakfastListfldRoom: TStringField
FieldName = 'Room'
Size = 10
end
object kbmBreakfastListfldGuestName: TStringField
FieldName = 'MainGuest'
Size = 100
end
object kbmBreakfastListfldNumGuests: TIntegerField
FieldName = 'NumGuests'
end
object kbmBreakfastListLocation: TWideStringField
FieldName = 'Location'
Size = 10
end
object kbmBreakfastListLocationDescription: TWideStringField
FieldName = 'LocationDescription'
Size = 35
end
object kbmBreakfastListnumChildren: TIntegerField
FieldName = 'numChildren'
end
object kbmBreakfastListnumInfants: TIntegerField
FieldName = 'numInfants'
end
object kbmBreakfastListRoomnotes: TWideMemoField
FieldName = 'Roomnotes'
BlobType = ftWideMemo
end
end
object pmnuExport: TPopupMenu
Left = 72
Top = 216
object Print1: TMenuItem
Action = acPrint
end
end
end