Code Context// debug($prices);
$this->set('priceData', http_build_query($priceData));
$this->set('price', $prices[$startDay >= Configure::read('next_season')][$travelDateTypeId]);
$code = '2024009'
$startDay = '2025-07-12'
$endDay = '2025-07-19'
$house = array(
'House' => array(
'slug' => 'u-mikulova-2024009',
'id' => '1441',
'code' => '2024009',
'name' => 'U Mikulova',
'pricelist_id' => '1',
'prices_breakpoint' => null,
'start_day' => '0',
'end_day' => '0',
'parent_id' => null,
'full_name' => 'U Mikulova - 2024009'
),
'Region' => array(
'id' => '1',
'name' => 'Jihomoravský kraj'
),
'Area' => array(
'id' => '123',
'name' => 'Pálava a Lednicko - Valtický areál'
),
'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'
)
),
'Gallery' => array(
'Album' => array(
'id' => '3285',
'title' => 'Album House - 1441',
'default_name' => '',
'path' => '',
'model' => 'House',
'model_id' => '1441',
'tags' => '',
'status' => 'draft',
'created' => '2024-06-28 11:04:02',
'modified' => '2024-06-28 11:04:02'
),
'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]
)
)
)
)
$travelDateTypeId = '1'
$discount = (int) 0
$prices = array()
$prefix = ''
$seasons = array(
(int) 2 => array(
'Season' => array(
'start_day' => '2025-06-28',
'end_day' => '2025-08-30',
'travel_date_type_id' => '1',
'id' => '59',
'name' => '<i class="far fa-sun"></i> Léto 2025'
),
'TravelDateType' => array(
'id' => '1',
'name' => 'Hlavní sezóna léto'
),
'HouseSeason' => array(),
'Price' => array(
'id' => '25014',
'travel_date_type_id' => '1',
'customer_basic' => '40980',
'customer_extra' => null,
'min_nights' => null,
'min_persons' => null,
'2_min_nights' => null,
'2_min_persons' => null,
'2_customer_basic' => '5090',
'2_customer_extra' => null,
'owner_basic' => '36400',
'owner_basic_eur' => null,
'owner_extra' => null,
'owner_extra_eur' => null,
'2_owner_basic' => '4550',
'2_owner_basic_eur' => null,
'2_owner_extra' => null,
'2_owner_extra_eur' => null,
'notes' => '',
'house_price_id' => '3099',
'prices_breakpoint' => '8',
'pricelist_id' => '3'
),
'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-07-12',
'default_start' => '2025-07-12',
'end' => '2025-07-19',
'default_end' => '2025-07-19',
'weekend_start' => '2025-07-11',
'weekend_end' => '2025-07-13'
),
(int) 1 => array(
'start' => '2025-07-19',
'default_start' => '2025-07-19',
'end' => '2025-07-26',
'default_end' => '2025-07-26',
'weekend_start' => '2025-07-18',
'weekend_end' => '2025-07-20'
),
(int) 2 => array(
'start' => '2025-07-26',
'default_start' => '2025-07-26',
'end' => '2025-08-02',
'default_end' => '2025-08-02',
'weekend_start' => '2025-07-25',
'weekend_end' => '2025-07-27'
)
)
$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' => '1441',
'pricelist_id' => '1',
'prices_breakpoint' => null
),
'Order' => array(
'start_day' => '2025-07-12',
'end_day' => '2025-07-19',
'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