Skip to content

Commit

Permalink
Ajout de la colonne EX OM à la table des propriétés baties
Browse files Browse the repository at this point in the history
Affichage de l'Indicateur imposition aux Ordures Ménagères (D, E, V ou blanc) pour les propriétés baties (EX OM) et suppression de la colonne de coefficient de réductio (COEF REDUC).

Funded by SDEC énergie https://www.sdec-energie.fr/
Funded by Conseil Départemental du Calvados https://www.calvados.fr/
  • Loading branch information
rldhont committed Dec 20, 2022
1 parent 2558472 commit 24f4231
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

* bugfix - La colonne RC TEOM au tableau des propriétés baties est le champs `baeteom` et pas `mvltieomx` de `pevtaxation`
* Ajout de la colonne EX OM au tableau des propriétés baties

## 1.17.1 - 2022-12-15

Expand Down
2 changes: 1 addition & 1 deletion cadastre/cadastre_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def set_composer_templates(self, compte_communal):
'proprietes_baties_line': {
'names': ['section', 'ndeplan', 'ndevoirie', 'adresse', 'coderivoli', 'bat', 'ent', 'niv', 'ndeporte',
'numeroinvar', 'star', 'meval', 'af', 'natloc', 'cat', 'revenucadastral', 'coll', 'natexo',
'anret', 'andeb', 'fractionrcexo', 'pourcentageexo', 'txom', 'coefreduc', 'rcteom'],
'anret', 'andeb', 'fractionrcexo', 'pourcentageexo', 'txom', 'exom', 'rcteom'],
'type': 'sql',
'filter': 'comptecommunal',
'and': {
Expand Down
2 changes: 1 addition & 1 deletion cadastre/templates/proprietes_baties.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<td style="text-align: center;">FRACTION RC EXO</td>
<td style="text-align: center;">% EXO</td>
<td style="text-align: center;">TX OM</td>
<td style="text-align: center;">COEF REDUC</td>
<td style="text-align: center;">EX OM</td>
<td style="text-align: center;">RC TEOM</td>
</tr>
</thead>
Expand Down
2 changes: 1 addition & 1 deletion cadastre/templates/proprietes_baties_line.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
<td align="center">$fractionrcexo</td>
<td align="center">$pourcentageexo</td>
<td align="center">$txom</td>
<td align="center">$coefreduc</td>
<td align="center">$exom</td>
<td align="right">$rcteom</td>
</tr>
2 changes: 1 addition & 1 deletion cadastre/templates/proprietes_baties_line.tpl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CASE
ELSE pt.tse_bipevla
END AS revenucadastral,
px.ccolloc AS coll, px.gnextl AS natexo, px.janimp AS anret, px.jandeb AS andeb, Cast(px.rcexba2 * px.pexb / 100 AS numeric(10,2)) AS fractionrcexo,
px.pexb AS pourcentageexo, l10.gtauom AS txom, '' AS coefreduc, pt.baeteom as rcteom
px.pexb AS pourcentageexo, l10.gtauom AS txom, l10.gimtom AS exom, pt.baeteom as rcteom
FROM
$schema"parcelle" p
INNER JOIN $schema"local00" l ON l.parcelle = p.parcelle
Expand Down

0 comments on commit 24f4231

Please sign in to comment.