- Posts: 5
- Thank you received: 0
OS Property support center
EPC Certificates
- Dario
- Offline
- New Member
-
Less
More
10 years 9 months ago - 10 years 9 months ago #48179
by Dario
Replied by Dario on topic EPC Certificates
Is very important to have the EPC Certificates, and every country must have it and the mulcst from the government is very high.
So to buy a program that is dangerous for our work... (in my country the mulct for every property without the right EPC is €3.000,00).
I'm telling this because the OS Property's developers for sure don't know it, so i hope for the next release, this very importat thing will be fixed.
I'm not a programmer but i don't know if i resolved good to add the A+ parameter.. i modified the common.php with this code from the line 2107
if($r_energy <= intval($configClass)){
$e_height = 0;
}elseif(in_array($r_energy, range(intval($configClass) + 1,intval($configClass)))){
$e_height = 12;
}elseif(in_array($r_energy, range(intval($configClass) + 1,intval($configClass)))){
$e_height = 22;
}elseif(in_array($r_energy, range(intval($configClass) + 1,intval($configClass)))){
$e_height = 44;
}elseif(in_array($r_energy, range(intval($configClass) + 1,intval($configClass)))){
$e_height = 66;
}elseif(in_array($r_energy, range(intval($configClass) + 1,intval($configClass)))){
$e_height = 88;
}elseif(in_array($r_energy, range(intval($configClass) + 1,intval($configClass)))){
$e_height = 110;
}elseif($r_energy >= intval($configClass) + 1){
$e_height = 132;
}
$running_costA = intval($configClass);
$running_costA1 = $running_costA+ + 1;
$running_costA = intval($configClass);
$running_costA1 = $running_costA + 1;
$running_costB = intval($configClass);
$running_costB1 = $running_costB + 1;
$running_costC = intval($configClass);
$running_costC1 = $running_costC + 1;
$running_costD = intval($configClass);
$running_costD1 = $running_costD + 1;
$running_costE = intval($configClass);
$running_costE1 = $running_costE + 1;
$running_costF = intval($configClass);
$running_costF1 = $running_costE + 1;
$dpe_display .= '<div class="clearfix"></div>
<div style="position: relative;" class="os_dpe_energy_container">
<div style="'.$dstyle.' background: #00833d; position: relative; width: 10%;" class="os_dpe_item e_a0">(<'.$running_costA0.') <span style="float: right;">A+</span></div>
<div style="'.$dstyle.' background: #00833d; position: relative; width: 20%;" class="os_dpe_item e_a">('.$running_costA9.' '.Jtext::_('OS_TO').' '.$running_costA.') <span style="float: right;">A</span></div>
<div style="'.$dstyle.' background: #1bb053; position: relative; width: 30%;" class="os_dpe_item e_b">('.$running_costA1.' '.Jtext::_('OS_TO').' '.$running_costB.') <span style="float: right;">B</span></div>
<div style="'.$dstyle.' background: #8cc540; position: relative; width: 40%;" class="os_dpe_item e_c">('.$running_costB1.' '.Jtext::_('OS_TO').' '.$running_costC.') <span style="float: right;">C</span></div>
<div style="'.$dstyle.' background: #ffc909; position: relative; width: 50%;" class="os_dpe_item e_d">('.$running_costC1.' '.Jtext::_('OS_TO').' '.$running_costD.') <span style="float: right;">D</span></div>
<div style="'.$dstyle.' background: #faad67; position: relative; width: 60%;" class="os_dpe_item e_e">('.$running_costD1.' '.Jtext::_('OS_TO').' '.$running_costE.') <span style="float: right;">E</span></div>
<div style="'.$dstyle.' background: #f48221; position: relative; width: 70%;" class="os_dpe_item e_f">('.$running_costE1.' '.Jtext::_('OS_TO').' '.$running_costF.') <span style="float: right;">F</span></div>
<div style="'.$dstyle.' background: #ed1b24; position: relative; width: 80%;" class="os_dpe_item e_g">(>'.$running_costF1.') <span style="float: right;">G</span></div>
<div style="'.$dstyle.' position: absolute; top: ' . $e_height . 'px; right: 0px; width: 10%; background: #ccc; text-align: center;" class="os_dpe_marker m_energy">'.$energy.'</div>
</div>';
so, with this finally i have the OS Property good for Italy, if i done a mistake please, if someone can help me.
Best Regards.
So to buy a program that is dangerous for our work... (in my country the mulct for every property without the right EPC is €3.000,00).
I'm telling this because the OS Property's developers for sure don't know it, so i hope for the next release, this very importat thing will be fixed.
I'm not a programmer but i don't know if i resolved good to add the A+ parameter.. i modified the common.php with this code from the line 2107
if($r_energy <= intval($configClass)){
$e_height = 0;
}elseif(in_array($r_energy, range(intval($configClass) + 1,intval($configClass)))){
$e_height = 12;
}elseif(in_array($r_energy, range(intval($configClass) + 1,intval($configClass)))){
$e_height = 22;
}elseif(in_array($r_energy, range(intval($configClass) + 1,intval($configClass)))){
$e_height = 44;
}elseif(in_array($r_energy, range(intval($configClass) + 1,intval($configClass)))){
$e_height = 66;
}elseif(in_array($r_energy, range(intval($configClass) + 1,intval($configClass)))){
$e_height = 88;
}elseif(in_array($r_energy, range(intval($configClass) + 1,intval($configClass)))){
$e_height = 110;
}elseif($r_energy >= intval($configClass) + 1){
$e_height = 132;
}
$running_costA = intval($configClass);
$running_costA1 = $running_costA+ + 1;
$running_costA = intval($configClass);
$running_costA1 = $running_costA + 1;
$running_costB = intval($configClass);
$running_costB1 = $running_costB + 1;
$running_costC = intval($configClass);
$running_costC1 = $running_costC + 1;
$running_costD = intval($configClass);
$running_costD1 = $running_costD + 1;
$running_costE = intval($configClass);
$running_costE1 = $running_costE + 1;
$running_costF = intval($configClass);
$running_costF1 = $running_costE + 1;
$dpe_display .= '<div class="clearfix"></div>
<div style="position: relative;" class="os_dpe_energy_container">
<div style="'.$dstyle.' background: #00833d; position: relative; width: 10%;" class="os_dpe_item e_a0">(<'.$running_costA0.') <span style="float: right;">A+</span></div>
<div style="'.$dstyle.' background: #00833d; position: relative; width: 20%;" class="os_dpe_item e_a">('.$running_costA9.' '.Jtext::_('OS_TO').' '.$running_costA.') <span style="float: right;">A</span></div>
<div style="'.$dstyle.' background: #1bb053; position: relative; width: 30%;" class="os_dpe_item e_b">('.$running_costA1.' '.Jtext::_('OS_TO').' '.$running_costB.') <span style="float: right;">B</span></div>
<div style="'.$dstyle.' background: #8cc540; position: relative; width: 40%;" class="os_dpe_item e_c">('.$running_costB1.' '.Jtext::_('OS_TO').' '.$running_costC.') <span style="float: right;">C</span></div>
<div style="'.$dstyle.' background: #ffc909; position: relative; width: 50%;" class="os_dpe_item e_d">('.$running_costC1.' '.Jtext::_('OS_TO').' '.$running_costD.') <span style="float: right;">D</span></div>
<div style="'.$dstyle.' background: #faad67; position: relative; width: 60%;" class="os_dpe_item e_e">('.$running_costD1.' '.Jtext::_('OS_TO').' '.$running_costE.') <span style="float: right;">E</span></div>
<div style="'.$dstyle.' background: #f48221; position: relative; width: 70%;" class="os_dpe_item e_f">('.$running_costE1.' '.Jtext::_('OS_TO').' '.$running_costF.') <span style="float: right;">F</span></div>
<div style="'.$dstyle.' background: #ed1b24; position: relative; width: 80%;" class="os_dpe_item e_g">(>'.$running_costF1.') <span style="float: right;">G</span></div>
<div style="'.$dstyle.' position: absolute; top: ' . $e_height . 'px; right: 0px; width: 10%; background: #ccc; text-align: center;" class="os_dpe_marker m_energy">'.$energy.'</div>
</div>';
so, with this finally i have the OS Property good for Italy, if i done a mistake please, if someone can help me.
Best Regards.
Last edit: 10 years 9 months ago by Dario.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13058
- Thank you received: 1696
10 years 9 months ago #48180
by Mr. Dam
Replied by Mr. Dam on topic EPC Certificates
Hi,
I will test it and let you know
Thanks
Dam
I will test it and let you know
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Dario
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
10 years 9 months ago #48181
by Dario
Replied by Dario on topic EPC Certificates
Thanks Dam,
i found is only to add this to the line 2143
<div style="'.$dstyle.' background: #00833d; position: relative; width: 10%;" class="os_dpe_item e_a0">(<'.$running_costA0.') <span style="float: right;">A+</span></div>
<div style="'.$dstyle.' background: #00833d; position: relative; width: 20%;" class="os_dpe_item e_a">(>'.$running_costA0.' '.Jtext::_('OS_TO').' '.$running_costA.') <span style="float: right;">A</span></div>
The problem is the result.. will not positioned to the right place. so if is F, the numbers will displayed to the E line.
Just the result to positioning on the right line.. in my Town, we don't have A+ homes but we are forced to display good, otherwise will have a heavy mulct.
Thanks Dam.
(so far we don't have to meause the Co2.. )
i found is only to add this to the line 2143
<div style="'.$dstyle.' background: #00833d; position: relative; width: 10%;" class="os_dpe_item e_a0">(<'.$running_costA0.') <span style="float: right;">A+</span></div>
<div style="'.$dstyle.' background: #00833d; position: relative; width: 20%;" class="os_dpe_item e_a">(>'.$running_costA0.' '.Jtext::_('OS_TO').' '.$running_costA.') <span style="float: right;">A</span></div>
The problem is the result.. will not positioned to the right place. so if is F, the numbers will displayed to the E line.
Just the result to positioning on the right line.. in my Town, we don't have A+ homes but we are forced to display good, otherwise will have a heavy mulct.
Thanks Dam.
(so far we don't have to meause the Co2.. )
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.