|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<!-- |
| 3 | + Copyright 2019 Simone Rubino - Agile Business Group |
| 4 | + License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
| 5 | + --> |
| 6 | + |
| 7 | +<odoo> |
| 8 | + <template id="report_intrastat_mod1_ter"> |
| 9 | + <t t-call="web.html_container"> |
| 10 | + <t t-foreach="docs" t-as="o"> |
| 11 | + <t t-call="web.internal_layout"> |
| 12 | + <div class="page"> |
| 13 | + <div class="row col-12"> |
| 14 | + <div class="col-3"> |
| 15 | + <p class="text-right"> |
| 16 | + <img src="/l10n_it_intrastat_statement/static/img/agenzia_dogane.jpg" |
| 17 | + height="80px"/> |
| 18 | + </p> |
| 19 | + </div> |
| 20 | + <div class="col-7 col-offset-3"> |
| 21 | + <table class="table text-center table-bordered"> |
| 22 | + |
| 23 | + <td> |
| 24 | + <b> |
| 25 | + RIEPILOGO DELLE CESSIONI |
| 26 | + INTRACOMUNITARIE |
| 27 | + <br/> |
| 28 | + DI BENI E DEI SERVIZI RESI |
| 29 | + </b> |
| 30 | + </td> |
| 31 | + <td>Mod.INTRA-1 Ter</td> |
| 32 | + </table> |
| 33 | + |
| 34 | + </div> |
| 35 | + </div> |
| 36 | + <div class="row"> |
| 37 | + <span class="text-center col-7 col-offset-3"> |
| 38 | + <strong> |
| 39 | + SEZIONE 2. RETTIFICHE ALLE CESSIONI DI |
| 40 | + BENI |
| 41 | + RELATIVE A PERIODI PRECEDENTI |
| 42 | + </strong> |
| 43 | + <p/> |
| 44 | + </span> |
| 45 | + </div> |
| 46 | + <div class="row text-center col-12"> |
| 47 | + <span>PERIODO:</span> |
| 48 | + |
| 49 | + <span class="col-offset-1">MESE:</span> |
| 50 | + <strong> |
| 51 | + <t t-if="o.period_type == 'M'"> |
| 52 | + <span t-esc="o.period_number"/> |
| 53 | + </t> |
| 54 | + </strong> |
| 55 | + |
| 56 | + <span class="col-offset-1">TRIMESTRE:</span> |
| 57 | + <strong> |
| 58 | + <t t-if="o.period_type == 'T'"> |
| 59 | + <span t-esc="o.period_number"/> |
| 60 | + </t> |
| 61 | + </strong> |
| 62 | + <span class="col-offset-1">ANNO:</span> |
| 63 | + <strong> |
| 64 | + <span t-esc="o.fiscalyear"/> |
| 65 | + </strong> |
| 66 | + |
| 67 | + <span class="col-offset-2">PARTITA IVA |
| 68 | + </span> |
| 69 | + <strong> |
| 70 | + <span t-esc="o.company_id.vat"/> |
| 71 | + </strong> |
| 72 | + </div> |
| 73 | + <div class="row col-12"> |
| 74 | + <p/> |
| 75 | + <table class="table table-bordered"> |
| 76 | + <col/> |
| 77 | + <colgroup span="3"/> |
| 78 | + <colgroup span="7"/> |
| 79 | + <thead class="fondo"> |
| 80 | + <tr> |
| 81 | + <th rowspan="3"> |
| 82 | + PROGR |
| 83 | + </th> |
| 84 | + <th colspan="3" |
| 85 | + class="text-center"> |
| 86 | + PERIODO DI RIFERIMENTO |
| 87 | + </th> |
| 88 | + <th colspan="7" |
| 89 | + class="text-center"> |
| 90 | + RETTIFICHE |
| 91 | + </th> |
| 92 | + </tr> |
| 93 | + <tr> |
| 94 | + <th class="text-center" |
| 95 | + rowspan="2">MESE |
| 96 | + </th> |
| 97 | + <th class="text-center" |
| 98 | + rowspan="2">TRIMESTRE |
| 99 | + </th> |
| 100 | + <th class="text-center" |
| 101 | + rowspan="2">ANNO |
| 102 | + </th> |
| 103 | + <th colspan="2" |
| 104 | + class="text-center"> |
| 105 | + ACQUIRENTE |
| 106 | + </th> |
| 107 | + <th class="text-center" |
| 108 | + rowspan="2">SEGNO |
| 109 | + </th> |
| 110 | + <th class="text-center" |
| 111 | + rowspan="2"> |
| 112 | + AMMONTARE DELLE OPERAZIONI IN |
| 113 | + EURO |
| 114 | + </th> |
| 115 | + <th class="text-center" |
| 116 | + rowspan="2">NATURA TRANS. |
| 117 | + </th> |
| 118 | + <th class="text-center" |
| 119 | + rowspan="2"> |
| 120 | + NOMENCLATURA COMBINATA |
| 121 | + </th> |
| 122 | + <th class="text-center" |
| 123 | + rowspan="2"> |
| 124 | + VALORE STATISTICO IN EURO |
| 125 | + </th> |
| 126 | + </tr> |
| 127 | + <tr> |
| 128 | + <th class="text-center">STATO</th> |
| 129 | + <th class="text-center">CODICE |
| 130 | + IVA |
| 131 | + </th> |
| 132 | + </tr> |
| 133 | + </thead> |
| 134 | + <tbody> |
| 135 | + <tr class="small text-center"> |
| 136 | + <td t-foreach="range(1, 12)" |
| 137 | + t-as="col_nbr"> |
| 138 | + <span t-esc="col_nbr"/> |
| 139 | + </td> |
| 140 | + </tr> |
| 141 | + <t t-set="total" t-value="0"/> |
| 142 | + <tr t-foreach="o.sale_section2_ids" |
| 143 | + t-as="l"> |
| 144 | + <td t-esc="l.sequence"/> |
| 145 | + <td t-esc="l.month"/> |
| 146 | + <td t-esc="l.quarterly"/> |
| 147 | + <td t-esc="l.year_id"/> |
| 148 | + <td t-esc="l.country_partner_id.code"/> |
| 149 | + <td t-esc="l.vat_code"/> |
| 150 | + <td t-esc="l.sign_variation"/> |
| 151 | + <td t-esc="l.amount_euro"/> |
| 152 | + <td t-esc="l.transation_nature_id.code"/> |
| 153 | + <td t-esc="l.intrastat_code_id.name"/> |
| 154 | + <td t-esc="l.statistic_amount_euro"/> |
| 155 | + <t t-set="total" |
| 156 | + t-value="total + l.amount_euro"/> |
| 157 | + </tr> |
| 158 | + <tr> |
| 159 | + <td colspan="7" class="text-right"> |
| 160 | + TOTALE |
| 161 | + </td> |
| 162 | + <td> |
| 163 | + <t t-esc="total"/> |
| 164 | + </td> |
| 165 | + </tr> |
| 166 | + </tbody> |
| 167 | + </table> |
| 168 | + </div> |
| 169 | + </div> |
| 170 | + </t> |
| 171 | + </t> |
| 172 | + </t> |
| 173 | + </template> |
| 174 | +</odoo> |
0 commit comments