How to hide mortgage calculator?
Posted: 16 Nov 2017, 11:34
In a file themes/atlas/views/modules/apartments/views/_tab_general.php
Delete or comment the code:
If you want to leave it for objects only for sale you can change the code into
Delete or comment the code:
- Code: Select all
$this->widget('application.modules.loanCalculator.components.LoanCalculatorWidget', array(
'amount' => $data->getPriceFrom()
));
If you want to leave it for objects only for sale you can change the code into
- Code: Select all
if($data->type == Apartment::TYPE_SALE){
$this->widget('application.modules.loanCalculator.components.LoanCalculatorWidget', array(
'amount' => $data->getPriceFrom()
));
}