-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathuCancelReservation3.dfm
444 lines (444 loc) · 11.4 KB
/
uCancelReservation3.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
object frmCancelReservation3: TfrmCancelReservation3
Left = 8
Top = 8
Caption = 'Remove reservation - all rooms'
ClientHeight = 510
ClientWidth = 502
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
Position = poOwnerFormCenter
OnCreate = FormCreate
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object Panel1: TsPanel
Left = 0
Top = 0
Width = 502
Height = 185
Margins.Left = 10
Margins.Top = 10
Margins.Right = 10
Margins.Bottom = 10
Align = alTop
BevelOuter = bvNone
TabOrder = 0
SkinData.SkinSection = 'PANEL'
ExplicitWidth = 542
object cxGroupBox1: TsGroupBox
AlignWithMargins = True
Left = 6
Top = 63
Width = 490
Height = 116
Margins.Left = 6
Margins.Top = 6
Margins.Right = 6
Margins.Bottom = 6
Align = alClient
Caption = 'Reason details'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 0
SkinData.SkinSection = 'GROUPBOX'
Checked = False
ExplicitWidth = 530
object memReason: TsMemo
AlignWithMargins = True
Left = 8
Top = 21
Width = 474
Height = 87
Margins.Left = 6
Margins.Top = 6
Margins.Right = 6
Margins.Bottom = 6
Align = alClient
Color = clWhite
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 0
BoundLabel.Font.Charset = DEFAULT_CHARSET
BoundLabel.Font.Color = clWindowText
BoundLabel.Font.Height = -13
BoundLabel.Font.Name = 'Tahoma'
BoundLabel.Font.Style = []
SkinData.SkinSection = 'EDIT'
ExplicitWidth = 514
end
end
object cxGroupBox2: TsGroupBox
AlignWithMargins = True
Left = 6
Top = 6
Width = 490
Height = 45
Margins.Left = 6
Margins.Top = 6
Margins.Right = 6
Margins.Bottom = 6
Align = alTop
Caption = 'Reason'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 1
SkinData.SkinSection = 'GROUPBOX'
Checked = False
ExplicitWidth = 530
DesignSize = (
490
45)
object cbxReason: TsComboBox
Left = 8
Top = 19
Width = 474
Height = 21
Anchors = [akLeft, akTop, akRight]
Alignment = taLeftJustify
BoundLabel.Font.Charset = DEFAULT_CHARSET
BoundLabel.Font.Color = clWindowText
BoundLabel.Font.Height = -13
BoundLabel.Font.Name = 'Tahoma'
BoundLabel.Font.Style = []
SkinData.SkinSection = 'COMBOBOX'
VerticalAlignment = taAlignTop
Color = clWhite
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ItemIndex = -1
ParentFont = False
TabOrder = 0
Text = 'cbxReason'
Items.Strings = (
'Not identified'
'Decision of employee'
'Customer cancelled booking with sufficient notice'
'Customer failed to cancel booking with sufficient notice'
'Channel Modification')
ExplicitWidth = 514
end
end
end
object panBottom: TsPanel
Left = 0
Top = 390
Width = 502
Height = 87
Align = alBottom
BevelOuter = bvNone
TabOrder = 1
SkinData.SkinSection = 'PANEL'
ExplicitTop = 411
ExplicitWidth = 542
DesignSize = (
502
87)
object cxLabel2: TsLabel
Left = 14
Top = 42
Width = 98
Height = 17
AutoSize = False
Caption = 'Customer : '
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
end
object labCustomerInfo: TsLabel
Left = 116
Top = 43
Width = 379
Height = 17
Anchors = [akLeft, akTop, akRight]
AutoSize = False
Caption = '-'
Color = clBtnFace
ParentColor = False
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ExplicitWidth = 419
end
object labRoomInfo: TsLabel
Left = 0
Top = 0
Width = 502
Height = 35
Align = alTop
AutoSize = False
Caption = 'labRoomInfo'
Color = clBtnFace
ParentColor = False
ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ExplicitWidth = 542
end
end
object Panel2: TsPanel
Left = 0
Top = 185
Width = 502
Height = 205
Align = alClient
TabOrder = 2
SkinData.SkinSection = 'PANEL'
ExplicitWidth = 542
ExplicitHeight = 226
object gRooms: TcxGrid
Left = 1
Top = 34
Width = 500
Height = 170
Align = alClient
TabOrder = 0
LookAndFeel.NativeStyle = False
ExplicitTop = 33
ExplicitWidth = 540
ExplicitHeight = 192
object tvRooms: 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 = mRoomsDS
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <>
DataController.Summary.SummaryGroups = <>
OptionsBehavior.IncSearch = True
OptionsData.CancelOnExit = False
OptionsData.Deleting = False
OptionsData.DeletingConfirmation = False
OptionsData.Editing = False
OptionsData.Inserting = False
OptionsView.ColumnAutoWidth = True
OptionsView.GroupByBox = False
OptionsView.Indicator = True
object tvRoomsSelect: TcxGridDBColumn
DataBinding.FieldName = 'Select'
Visible = False
end
object tvRoomsRecId: TcxGridDBColumn
DataBinding.FieldName = 'RecId'
Visible = False
Options.Editing = False
end
object tvRoomsRoom: TcxGridDBColumn
DataBinding.FieldName = 'Room'
Options.Editing = False
Width = 66
end
object tvRoomsRoomType: TcxGridDBColumn
DataBinding.FieldName = 'RoomType'
Options.Editing = False
Width = 83
end
object tvRoomsGuests: TcxGridDBColumn
DataBinding.FieldName = 'Guests'
Options.Editing = False
Width = 269
end
object tvRoomsArrival: TcxGridDBColumn
DataBinding.FieldName = 'Arrival'
Options.Editing = False
Width = 81
end
object tvRoomsDeparture: TcxGridDBColumn
DataBinding.FieldName = 'Departure'
Options.Editing = False
Width = 76
end
object tvRoomsStatus: TcxGridDBColumn
DataBinding.FieldName = 'Status'
Options.Editing = False
Width = 118
end
end
object lvRooms: TcxGridLevel
GridView = tvRooms
end
end
object panSelect: TsPanel
Left = 1
Top = 1
Width = 500
Height = 33
Align = alTop
BevelOuter = bvNone
TabOrder = 1
SkinData.SkinSection = 'PANEL'
ExplicitWidth = 540
object cxButton1: TsButton
Left = 171
Top = 4
Width = 160
Height = 25
Caption = 'Select all'
ImageIndex = 75
Images = DImages.PngImageList1
TabOrder = 0
Visible = False
OnClick = cxButton1Click
SkinData.SkinSection = 'BUTTON'
end
object cxButton3: TsButton
Left = 335
Top = 4
Width = 160
Height = 25
Caption = 'Deselect all'
ImageIndex = 86
Images = DImages.PngImageList1
TabOrder = 1
Visible = False
OnClick = cxButton3Click
SkinData.SkinSection = 'BUTTON'
end
object cxButton4: TsButton
Left = 7
Top = 4
Width = 160
Height = 25
Caption = 'Select rooms to delete'
ImageIndex = 83
Images = DImages.PngImageList1
TabOrder = 2
OnClick = cxButton4Click
SkinData.SkinSection = 'BUTTON'
end
end
end
object sPanel1: TsPanel
Left = 0
Top = 477
Width = 502
Height = 33
Margins.Left = 2
Margins.Top = 2
Margins.Right = 2
Margins.Bottom = 2
Align = alBottom
BevelOuter = bvNone
TabOrder = 3
SkinData.SkinSection = 'PANEL'
ExplicitTop = 498
ExplicitWidth = 542
DesignSize = (
502
33)
object btnOK: TBitBtn
Left = 356
Top = 4
Width = 70
Height = 25
Margins.Left = 2
Margins.Top = 2
Margins.Right = 2
Margins.Bottom = 2
Anchors = [akTop, akRight]
Kind = bkOK
NumGlyphs = 2
TabOrder = 0
OnClick = btnOKClick
end
object btnCancel: TBitBtn
Left = 429
Top = 4
Width = 70
Height = 25
Margins.Left = 2
Margins.Top = 2
Margins.Right = 2
Margins.Bottom = 2
Anchors = [akTop, akRight]
Kind = bkCancel
NumGlyphs = 2
TabOrder = 1
end
end
object mRooms: TdxMemData
Indexes = <>
SortOptions = []
AfterEdit = mRoomsAfterEdit
Left = 160
Top = 328
object mRoomsRoom: TWideStringField
FieldName = 'Room'
end
object mRoomsRoomType: TWideStringField
FieldName = 'RoomType'
end
object mRoomsGuests: TWideStringField
FieldName = 'Guests'
Size = 200
end
object mRoomsArrival: TDateTimeField
FieldName = 'Arrival'
end
object mRoomsDeparture: TDateTimeField
FieldName = 'Departure'
end
object mRoomsStatus: TWideStringField
FieldName = 'Status'
end
object mRoomsSelect: TBooleanField
FieldName = 'Select'
end
object mRoomsRoomReservation: TIntegerField
FieldName = 'RoomReservation'
end
end
object mRoomsDS: TDataSource
DataSet = mRooms
Left = 240
Top = 313
end
end