#35 - 02/12/2025 20:29:14
Update table headers to Portuguese
Changed the table column headers from 'Output' and 'Input' to 'Produz (Saída)' and 'Vai para (Entrada)' for improved localization and clarity.
Versão 1.0.0
Update table headers to Portuguese
Changed the table column headers from 'Output' and 'Input' to 'Produz (Saída)' and 'Vai para (Entrada)' for improved localization and clarity.
Add commodities demand table and remove unused CSS
Introduces a new tab and table view for commodities demand in commodities.php, including backend logic to fetch and display sector relationships. Removes several unused CSS files from the novo directory to clean up the codebase.
Ajusta aplicação e exibição da taxa de carbono por setor
Remove o efeito da poluição de setores específicos e ajusta a aplicação da taxa sobre carbono para os setores 'agricultura', 'distribuicao_agua', 'industria_pesada', 'industria_armas', 'industria_espacial' e 'petroleo' tanto no SQL quanto na exibição em empresa.php. A exibição da taxa de carbono foi movida para os setores corretos e agora aparece separadamente nos impostos federal e estadual.
Add carbon tax and update sector effects data
Introduces 'Imposto sobre taxa de carbono' to the 'impostos' array for multiple sectors and updates the 'efeitos' arrays to include new items and adjust image paths for consistency. These changes enhance the representation of taxes and sector effects in the application.
Fix typo in 'Indústria Pesada' label
Corrected the spelling of 'Indústria Pesada' in the area labels array to ensure proper display and consistency.
Update sector effects and law impact calculations
Adjusted the impact values for 'porte_armas' law, expanded sector lists for urbanization, infrastructure, and pollution effects, and refactored how law effects are applied to 'industria_armas' and other sectors. Removed outdated negative effects for agriculture and mining, and improved consistency between SQL and PHP logic for sector calculations.
Remove redundant comments from changelog.php
Cleaned up changelog.php by removing duplicate and unnecessary comments related to pagination and semantic lists, improving code readability without affecting functionality.
Add law effects and expand sector logic in empresa
Introduces detailed law-based effects for various sectors in the SQL logic, including health, agriculture, and mining. Adds 'distribuicao_agua' to relevant sector lists and refines calculations for urbanization, pollution, infrastructure, and sanitation. Updates empresa.php to match sector logic for urbanization effects.
Add recursive effect sum and update sector logic
Introduces the somarEfeitosRecursivo function to recursively sum positive and negative effects in empresa.php. Updates sector logic to include total positive, negative, and current profit values in the effects array. Also fixes comparison operators and adjusts 'direitos_protegido' value for 'trabalho' sector.
Refactor infraestrutura effect for transporte sector
Moved the infraestrutura effect to apply only for the 'transporte' sector in SQL and PHP logic. Removed generic infraestrutura calculation and display from other sectors, and updated saneamento calculation. Added infraestrutura effect display for 'transporte' sector in empresa.php and setor.php.