[ADD] Compute service_ids based in board_service selection

This commit is contained in:
Dario Lodeiros
2018-12-04 13:42:51 +01:00
parent 7ef85927bf
commit 028d1fcf0d
4 changed files with 97 additions and 53 deletions

View File

@@ -265,6 +265,7 @@
'checkout': (DateTime.today() + timedelta(days=2)).strftime('%Y-%m-%d'),
'adults': 2,
'state': 'confirm',
'board_service_id': ref('hotel_board_service_1'),
})]"/>
</record>
<!-- reservation of 1 triple room for 3 people on behalf on the company -->
@@ -276,6 +277,7 @@
'checkin': (DateTime.today() + timedelta(days=2)).strftime('%Y-%m-%d'),
'checkout': (DateTime.today() + timedelta(days=4)).strftime('%Y-%m-%d'),
'adults': 3,
'board_service_id': ref('hotel_board_service_2'),
})]"/>
</record>
<!-- reservation of 3 single rooms for 3 people with 1 cancelled -->
@@ -312,6 +314,7 @@
'checkout': (DateTime.today() + timedelta(days=4)).strftime('%Y-%m-%d'),
'adults': 1,
'state': 'confirm',
'board_service_id': ref('hotel_board_service_1'),
})]"/>
</record>