<?xml version="1.0" encoding="ISO-8859-1"?>
<report>
  <db>
    <source>
      <id>1</id>
      <type>1</type>
      <name>commande</name>
      <sql>select 1</sql>
    </source>
    <source>
      <id>2</id>
      <type>1</type>
      <name>detail_commande</name>
      <sql>select t.rubrique, t.montant1, t.montant2, t.montant3, t.montant4, t.date_debut, t.date_fin, t.today, t.groupe, t.societe, t.identifiant, t.tableau, t.ligne, case when t.ligne in (1, 6, 11) then t.montant1 else 0 end as sum1, case when t.ligne in (1, 6, 11) then t.montant2 else 0 end as sum2, case when t.ligne in (1, 6, 11) then t.montant3 else 0 end as sum3, case when t.ligne in (1, 6, 11) then t.montant4 else 0 end as sum4 from v_tableau08_report t</sql>
    </source>
  </db>
  <general>
    <prop>
      <name>CA</name>
      <text>Tableau08_AMORT.pdf</text>
      <orientation>L</orientation>
      <paper>A4</paper>
      <unit>mm</unit>
      <lines>21</lines>
      <grid>1</grid>
      <width>28</width>
      <height>28</height>
    </prop>
    <group>
      <id>1</id>
      <name>groupe1</name>
      <column>8</column>
    </group>
  </general>
  <header>
    <object>
      <id>0</id>
      <name>titre</name>
      <text/>
      <dbf>a</dbf>
      <type>2</type>
      <format>1</format>
      <x>20</x>
      <y>10</y>
      <width>16</width>
      <height>16</height>
      <fontname>Times</fontname>
      <fontsize>10</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>2</border>
      <background>0</background>
    </object>
    <object>
      <id>1</id>
      <name>titre</name>
      <text>TABLEAU DES AMORTISSEMENTS</text>
      <dbf/>
      <type>2</type>
      <format>1</format>
      <x>20</x>
      <y>10</y>
      <width>260</width>
      <height>6</height>
      <fontname>Times</fontname>
      <fontsize>12</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>1</id>
      <name>titre</name>
      <text>Tableau 8</text>
      <dbf/>
      <type>2</type>
      <format>1</format>
      <x>20</x>
      <y>10</y>
      <width>20</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>2</id>
      <name>societe_t</name>
      <text>Societe :</text>
      <dbf/>
      <type>2</type>
      <format>1</format>
      <x>20</x>
      <y>22</y>
      <width>26</width>
      <height>4</height>
      <fontname>Times</fontname>
      <fontsize>6</fontsize>
      <fontstyle/>
      <align>1</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>3</id>
      <name>societe</name>
      <text/>
      <dbf>10</dbf>
      <type>1</type>
      <format>1</format>
      <x>40</x>
      <y>22</y>
      <width>80</width>
      <height>4</height>
      <fontname>Times</fontname>
      <fontsize>6</fontsize>
      <fontstyle/>
      <align>1</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>2</id>
      <name>identifiant_t</name>
      <text>IF :</text>
      <dbf/>
      <type>2</type>
      <format>1</format>
      <x>260</x>
      <y>22</y>
      <width>4</width>
      <height>4</height>
      <fontname>Times</fontname>
      <fontsize>6</fontsize>
      <fontstyle/>
      <align>1</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>3</id>
      <name>identifiant</name>
      <text/>
      <dbf>11</dbf>
      <type>1</type>
      <format>1</format>
      <x>264</x>
      <y>22</y>
      <width>20</width>
      <height>4</height>
      <fontname>Times</fontname>
      <fontsize>6</fontsize>
      <fontstyle/>
      <align>1</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>2</id>
      <name>date_t</name>
      <text1>Date d'edition</text1>
      <text/>
      <dbf/>
      <type>2</type>
      <format>1</format>
      <x>20</x>
      <y>26</y>
      <width>20</width>
      <height>4</height>
      <fontname>Times</fontname>
      <fontsize>6</fontsize>
      <fontstyle/>
      <align>1</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>3</id>
      <name>date</name>
      <text/>
      <dbf>8</dbf>
      <type>2</type>
      <format>1</format>
      <x>40</x>
      <y>26</y>
      <width>20</width>
      <height>4</height>
      <fontname>Times</fontname>
      <fontsize>6</fontsize>
      <fontstyle/>
      <align>1</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name>tdate1</name>
      <text>Exercice du</text>
      <dbf/>
      <type>2</type>
      <format>1</format>
      <x>230</x>
      <y>26</y>
      <width>10</width>
      <height>4</height>
      <fontname>Times</fontname>
      <fontsize>6</fontsize>
      <fontstyle/>
      <align>1</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>5</id>
      <name>date1</name>
      <text/>
      <dbf>6</dbf>
      <type>1</type>
      <format>2</format>
      <x>240</x>
      <y>26</y>
      <width>16</width>
      <height>4</height>
      <fontname>Times</fontname>
      <fontsize>6</fontsize>
      <fontstyle/>
      <align>1</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name>tdate2</name>
      <text>Au</text>
      <dbf/>
      <type>2</type>
      <format>1</format>
      <x>260</x>
      <y>26</y>
      <width>4</width>
      <height>4</height>
      <fontname>Times</fontname>
      <fontsize>6</fontsize>
      <fontstyle/>
      <align>1</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>5</id>
      <name>date2</name>
      <text/>
      <dbf>7</dbf>
      <type>1</type>
      <format>2</format>
      <x>264</x>
      <y>26</y>
      <width>16</width>
      <height>4</height>
      <fontname>Times</fontname>
      <fontsize>6</fontsize>
      <fontstyle/>
      <align>1</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>2</id>
      <name>a4</name>
      <text>NATURE</text>
      <dbf>1</dbf>
      <type>2</type>
      <format>1</format>
      <x>20</x>
      <y>30</y>
      <width>100</width>
      <height>10</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>1</border>
      <background>0</background>
    </object>
    <object>
      <id>3</id>
      <name>a4</name>
      <text>CUMUL DEBUT EXERCICE</text>
      <dbf>2</dbf>
      <type>2</type>
      <format>1</format>
      <x>120</x>
      <y>30</y>
      <width>40</width>
      <height>10</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>1</border>
      <background>0</background>
    </object>
    <object>
      <id>3</id>
      <name>a4</name>
      <text>DOTATIONS DE L'EXERCICE</text>
      <dbf>3</dbf>
      <type>2</type>
      <format>1</format>
      <x>160</x>
      <y>30</y>
      <width>40</width>
      <height>10</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>1</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name/>
      <text>AMORTISSEMENT SORTIES</text>
      <dbf>4</dbf>
      <type>2</type>
      <format>1</format>
      <x>200</x>
      <y>30</y>
      <width>40</width>
      <height>10</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>1</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name>a3</name>
      <text>CUMUL FIN EXERCICE</text>
      <dbf>5</dbf>
      <type>2</type>
      <format>1</format>
      <x>240</x>
      <y>30</y>
      <width>40</width>
      <height>10</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>1</border>
      <background>0</background>
    </object>
    <height>40</height>
  </header>
  <detail>
    <object>
      <id>2</id>
      <name>rubrique</name>
      <text>Rubrique</text>
      <dbf>1</dbf>
      <type>1</type>
      <format>1</format>
      <x>20</x>
      <y>0</y>
      <width>100</width>
      <height>5</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>1</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>3</id>
      <name>montant1</name>
      <text>Montant1</text>
      <dbf>2</dbf>
      <type>1</type>
      <format>3</format>
      <x>120</x>
      <y>0</y>
      <width>40</width>
      <height>5</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>3</id>
      <name>montant2</name>
      <text>Montant2</text>
      <dbf>3</dbf>
      <type>1</type>
      <format>3</format>
      <x>160</x>
      <y>0</y>
      <width>40</width>
      <height>5</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name>montant3</name>
      <text>Montant3</text>
      <dbf>4</dbf>
      <type>1</type>
      <format>3</format>
      <x>200</x>
      <y>0</y>
      <width>40</width>
      <height>5</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name>montant4</name>
      <text>Montant4</text>
      <dbf>5</dbf>
      <type>1</type>
      <format>3</format>
      <x>240</x>
      <y>0</y>
      <width>40</width>
      <height>5</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>0</border>
      <background>0</background>
    </object>
    <height>5</height>
  </detail>
  <footer>
    <height>30</height>
    <object>
      <id>1</id>
      <name>total</name>
      <text>page()</text>
      <dbf>a</dbf>
      <type>3</type>
      <format>1</format>
      <x>20</x>
      <y>0</y>
      <width>260</width>
      <height>4</height>
      <fontname>Times</fontname>
      <fontsize>6</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>0</border>
      <background>0</background>
    </object>
  </footer>
  <groupheader>
    <height>5</height>
  </groupheader>
  <groupfooter>
    <object>
      <id>6</id>
      <name>total</name>
      <text/>
      <dbf/>
      <type>2</type>
      <format>1</format>
      <x>20</x>
      <y>0</y>
      <width>100</width>
      <height>5</height>
      <fontname>Times</fontname>
      <fontsize>10</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>0</border>
      <background>0</background>
    </object>
    <height>5</height>
  </groupfooter>
  <summary>
    <object>
      <id>2</id>
      <name>a4</name>
      <text>Total General</text>
      <dbf>14</dbf>
      <type>2</type>
      <format>1</format>
      <x>20</x>
      <y>0</y>
      <width>100</width>
      <height>5</height>
      <fontname>Times</fontname>
      <fontsize>10</fontsize>
      <fontstyle/>
      <align>1</align>
      <border>1</border>
      <background>0</background>
    </object>
    <object>
      <id>3</id>
      <name>a4</name>
      <text>sum(sum1)</text>
      <dbf>15</dbf>
      <type>3</type>
      <format>3</format>
      <x>120</x>
      <y>0</y>
      <width>40</width>
      <height>5</height>
      <fontname>Times</fontname>
      <fontsize>10</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>1</border>
      <background>0</background>
    </object>
    <object>
      <id>3</id>
      <name>a4</name>
      <text>sum(sum2)</text>
      <dbf>3</dbf>
      <type>3</type>
      <format>3</format>
      <x>160</x>
      <y>0</y>
      <width>40</width>
      <height>5</height>
      <fontname>Times</fontname>
      <fontsize>10</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>1</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name>a3</name>
      <text>sum(sum3)</text>
      <dbf>4</dbf>
      <type>3</type>
      <format>3</format>
      <x>200</x>
      <y>0</y>
      <width>40</width>
      <height>5</height>
      <fontname>Times</fontname>
      <fontsize>10</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>1</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name>a3</name>
      <text>sum(sum4)</text>
      <dbf>16</dbf>
      <type>3</type>
      <format>3</format>
      <x>240</x>
      <y>0</y>
      <width>40</width>
      <height>5</height>
      <fontname>Times</fontname>
      <fontsize>10</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>1</border>
      <background>0</background>
    </object>
  </summary>
</report>
