Code Context// debug($prices);
$this->set('priceData', http_build_query($priceData));
$this->set('price', $prices[$startDay >= Configure::read('next_season')][$travelDateTypeId]);
$code = '2023039'
$startDay = '2025-04-26'
$endDay = '2025-05-03'
$house = array(
'House' => array(
'slug' => 'na-farme-2023039',
'id' => '1424',
'code' => '2023039',
'name' => 'Na farmě',
'pricelist_id' => '1',
'prices_breakpoint' => null,
'start_day' => '0',
'end_day' => '0',
'parent_id' => null,
'full_name' => 'Na farmě - 2023039'
),
'Region' => array(
'id' => '12',
'name' => 'Kraj Vysočina'
),
'Area' => array(
'id' => '82',
'name' => 'Vysočina'
),
'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' => '3255',
'title' => 'Album House - 1424',
'default_name' => '',
'path' => '',
'model' => 'House',
'model_id' => '1424',
'tags' => '',
'status' => 'draft',
'created' => '2023-12-01 13:41:11',
'modified' => '2023-12-01 13:41:11'
),
'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]
)
)
)
)
$travelDateTypeId = '2'
$discount = (int) 0
$prices = array()
$prefix = ''
$seasons = array(
(int) 2 => array(
'Season' => array(
'start_day' => '2025-04-26',
'end_day' => '2025-06-28',
'travel_date_type_id' => '2',
'id' => '58',
'name' => '<i class="fab fa-pagelines"></i> Jaro 2025'
),
'TravelDateType' => array(
'id' => '2',
'name' => 'Mimosezóna léto'
),
'HouseSeason' => array(),
'Price' => array(
'id' => '24917',
'travel_date_type_id' => '2',
'customer_basic' => '32480',
'customer_extra' => '680',
'min_nights' => '2',
'min_persons' => null,
'2_min_nights' => null,
'2_min_persons' => null,
'2_customer_basic' => null,
'2_customer_extra' => null,
'owner_basic' => '28000',
'owner_basic_eur' => null,
'owner_extra' => '600',
'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' => '3085',
'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-04-26',
'default_start' => '2025-04-26',
'end' => '2025-05-03',
'default_end' => '2025-05-03',
'weekend_start' => '2025-04-25',
'weekend_end' => '2025-04-27'
),
(int) 1 => array(
'start' => '2025-05-03',
'default_start' => '2025-05-03',
'end' => '2025-05-10',
'default_end' => '2025-05-10',
'weekend_start' => '2025-05-02',
'weekend_end' => '2025-05-04'
),
(int) 2 => array(
'start' => '2025-05-10',
'default_start' => '2025-05-10',
'end' => '2025-05-17',
'default_end' => '2025-05-17',
'weekend_start' => '2025-05-09',
'weekend_end' => '2025-05-11'
)
)
$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' => '1424',
'pricelist_id' => '1',
'prices_breakpoint' => null
),
'Order' => array(
'start_day' => '2025-04-26',
'end_day' => '2025-05-03',
'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