Code Context// debug($prices);
$this->set('priceData', http_build_query($priceData));
$this->set('price', $prices[$startDay >= Configure::read('next_season')][$travelDateTypeId]);
$code = '2023022'
$startDay = '2025-09-12'
$endDay = '2025-09-14'
$house = array(
'House' => array(
'slug' => 'v-srdci-krkonos-2023022',
'id' => '1406',
'code' => '2023022',
'name' => 'V srdci Krkonoš',
'pricelist_id' => '1',
'prices_breakpoint' => null,
'start_day' => '0',
'end_day' => '0',
'parent_id' => null,
'full_name' => 'V srdci Krkonoš - 2023022'
),
'Region' => array(
'id' => '3',
'name' => 'Královéhradecký kraj'
),
'Area' => array(
'id' => '145',
'name' => 'Krkonoše'
),
'ChildHouse' => array(),
'FeaturedDate' => array(),
'TravelDateType' => array(
(int) 0 => array(
'id' => '1'
),
(int) 1 => array(
'id' => '2'
),
(int) 2 => array(
'id' => '3'
),
(int) 3 => array(
'id' => '4'
),
(int) 4 => array(
'id' => '5'
),
(int) 5 => array(
'id' => '6'
),
(int) 6 => array(
'id' => '7'
)
),
'Gallery' => array(
'Album' => array(
'id' => '3134',
'title' => 'Album House - 1406',
'default_name' => '',
'path' => '',
'model' => 'House',
'model_id' => '1406',
'tags' => '',
'status' => 'draft',
'created' => '2023-07-26 18:20:12',
'modified' => '2023-07-26 18:20:12'
),
'Picture' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
),
(int) 13 => array(
[maximum depth reached]
),
(int) 14 => array(
[maximum depth reached]
),
(int) 15 => array(
[maximum depth reached]
),
(int) 16 => array(
[maximum depth reached]
),
(int) 17 => array(
[maximum depth reached]
),
(int) 18 => array(
[maximum depth reached]
),
(int) 19 => array(
[maximum depth reached]
),
(int) 20 => array(
[maximum depth reached]
),
(int) 21 => array(
[maximum depth reached]
),
(int) 22 => array(
[maximum depth reached]
),
(int) 23 => array(
[maximum depth reached]
),
(int) 24 => array(
[maximum depth reached]
),
(int) 25 => array(
[maximum depth reached]
),
(int) 26 => array(
[maximum depth reached]
),
(int) 27 => array(
[maximum depth reached]
),
(int) 28 => array(
[maximum depth reached]
)
)
)
)
$travelDateTypeId = '2'
$discount = (int) 0
$prices = array()
$prefix = ''
$seasons = array(
(int) 4 => array(
'Season' => array(
'start_day' => '2025-08-30',
'end_day' => '2025-11-01',
'travel_date_type_id' => '2',
'id' => '60',
'name' => '<i class="fa fa-leaf"></i> Podzim 2025'
),
'TravelDateType' => array(
'id' => '2',
'name' => 'Mimosezóna léto'
),
'HouseSeason' => array(),
'Price' => array(
'id' => '24798',
'travel_date_type_id' => '2',
'customer_basic' => '32780',
'customer_extra' => '8100',
'min_nights' => '2',
'min_persons' => null,
'2_min_nights' => null,
'2_min_persons' => null,
'2_customer_basic' => null,
'2_customer_extra' => null,
'owner_basic' => '28500',
'owner_basic_eur' => null,
'owner_extra' => '7250',
'owner_extra_eur' => null,
'2_owner_basic' => null,
'2_owner_basic_eur' => null,
'2_owner_extra' => null,
'2_owner_extra_eur' => null,
'notes' => null,
'house_price_id' => '3068',
'prices_breakpoint' => null,
'pricelist_id' => '1'
),
'TravelDate' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
)
)
)
)
$travelDates = array(
(int) 0 => array(
'start' => '2025-09-07',
'default_start' => '2025-09-06',
'end' => '2025-09-13',
'default_end' => '2025-09-13',
'weekend_start' => '2025-09-05',
'weekend_end' => '2025-09-07',
'Order' => array(
(int) 721578 => array(
[maximum depth reached]
)
),
'last_week' => true,
'occupied' => 'weekend'
),
(int) 1 => array(
'start' => '2025-09-13',
'default_start' => '2025-09-13',
'end' => '2025-09-20',
'default_end' => '2025-09-20',
'weekend_start' => '2025-09-12',
'weekend_end' => '2025-09-14'
),
(int) 2 => array(
'start' => '2025-09-20',
'default_start' => '2025-09-20',
'end' => '2025-09-27',
'default_end' => '2025-09-27',
'weekend_start' => '2025-09-19',
'weekend_end' => '2025-09-21'
)
)
$unavailableDays = array(
'first' => '',
'last' => '',
'list' => '[]'
)
$properties = array(
(int) 0 => array(
'PropertyType' => array(
'name' => 'Doplatky léto',
'id' => '37'
),
'Property' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
),
(int) 1 => array(
'PropertyType' => array(
'name' => 'Doplatky zima',
'id' => '38'
),
'Property' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
)
)
$priceData = array(
'House' => array(
'id' => '1406',
'pricelist_id' => '1',
'prices_breakpoint' => null
),
'Order' => array(
'start_day' => '2025-09-12',
'end_day' => '2025-09-14',
'attendants' => '',
'children' => '',
'length' => ''
)
)
OrdersController::add() - APP/Controller/OrdersController.php, line 329
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117