<?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.nature, t.adresse, t.nom_proprietaire, t.date_acte, t.montant_annuel, t.montant_charges, t.nature_contrat, t.nature_contrat2, t.date_debut, t.date_fin, t.today, t.societe, t.identifiant, t.tableau, t.ligne, '' as nean from v_tableau19_report t 
              union
	      select null as nature, null as adresse, null as nom_proprietaire, null as date_acte, 0 as montant_annuel, 0 as montant_charges, null as nature_contrat, null nature_contrat2, t.date_debut, t.date_fin, t.today, t.societe, t.identifiant, 19 as tableau, 0 as ligne, 'NEAN' as nean from v_societe_report t
              where 1 not in (select 1 from v_tableau19_report)
	      order by 4
      </sql>
    </source>
  </db>
  <general>
    <prop>
      <name>CA</name>
      <text>Tableau19_BAIL.pdf</text>
      <orientation>L</orientation>
      <paper>A4</paper>
      <unit>mm</unit>
      <lines>9</lines>
      <grid>2</grid>
      <width>28</width>
      <height>28</height>
    </prop>
  </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 LOCATIONS ET BAUX AUTRES QUE LE CREDIT-BAIL</text>
      <dbf/>
      <type>2</type>
      <format>1</format>
      <x>20</x>
      <y>10</y>
      <width>260</width>
      <height>6</height>
      <fontname>Times</fontname>
      <fontsize>14</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>1</id>
      <name>titre</name>
      <text>Tableau 19</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>26</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>12</dbf>
      <type>1</type>
      <format>1</format>
      <x>40</x>
      <y>26</y>
      <width>100</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>264</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>3</id>
      <name>identifiant</name>
      <text/>
      <dbf>13</dbf>
      <type>1</type>
      <format>1</format>
      <x>268</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>2</id>
      <name>date_t</name>
      <text1>Date d'edition</text1>
      <text/>
      <dbf/>
      <type>2</type>
      <format>1</format>
      <x>20</x>
      <y>30</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>11</dbf>
      <type>2</type>
      <format>1</format>
      <x>40</x>
      <y>30</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>240</x>
      <y>30</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>9</dbf>
      <type>1</type>
      <format>2</format>
      <x>250</x>
      <y>30</y>
      <width>12</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>264</x>
      <y>30</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>10</dbf>
      <type>1</type>
      <format>2</format>
      <x>268</x>
      <y>30</y>
      <width>12</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>a4</name>
      <text>Nature du bien loue</text>
      <dbf>2</dbf>
      <type>2</type>
      <format>1</format>
      <x>20</x>
      <y>40</y>
      <width>40</width>
      <height>20</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>Lieu de situation</text>
      <dbf>2</dbf>
      <type>2</type>
      <format>1</format>
      <x>60</x>
      <y>40</y>
      <width>60</width>
      <height>20</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>Nom et Prénoms ou Raison Social et adresse du Propriétaire</text>
      <dbf>2</dbf>
      <type>2</type>
      <format>1</format>
      <x>120</x>
      <y>40</y>
      <width>60</width>
      <height>20</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>1</border>
      <background>0</background>
      <multiline>1</multiline>
    </object>
    <object>
      <id>2</id>
      <name>a4</name>
      <text>Date de conclusion de l'acte de location</text>
      <dbf>1</dbf>
      <type>2</type>
      <format>1</format>
      <x>180</x>
      <y>40</y>
      <width>20</width>
      <height>20</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>1</border>
      <background>0</background>
      <multiline>1</multiline>
    </object>
    <object>
      <id>3</id>
      <name>a4</name>
      <text>Montant annuel de location</text>
      <dbf>3</dbf>
      <type>2</type>
      <format>1</format>
      <x>200</x>
      <y>40</y>
      <width>20</width>
      <height>20</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>1</border>
      <background>0</background>
      <multiline>1</multiline>
    </object>
    <object>
      <id>3</id>
      <name>a4</name>
      <text>Montnat du loyer compris dans les charges de l'exercice</text>
      <dbf>3</dbf>
      <type>2</type>
      <format>1</format>
      <x>220</x>
      <y>40</y>
      <width>20</width>
      <height>20</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>1</border>
      <background>0</background>
      <multiline>1</multiline>
    </object>
    <object>
      <id>4</id>
      <name>a3</name>
      <text>Valeur Minimal</text>
      <dbf>4</dbf>
      <type>2</type>
      <format>1</format>
      <x>240</x>
      <y>40</y>
      <width>20</width>
      <height>20</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>Nature de contrat</text>
      <dbf>5</dbf>
      <type>2</type>
      <format>1</format>
      <x>260</x>
      <y>40</y>
      <width>20</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>Bail ordinaire</text>
      <dbf>5</dbf>
      <type>2</type>
      <format>1</format>
      <x>260</x>
      <y>50</y>
      <width>10</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>periode</text>
      <dbf>5</dbf>
      <type>2</type>
      <format>1</format>
      <x>270</x>
      <y>50</y>
      <width>10</width>
      <height>10</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>1</border>
      <background>0</background>
    </object>
    <height>60</height>
  </header>
  <detail>
    <object>
      <id>2</id>
      <name>a4</name>
      <text>Nature</text>
      <dbf>1</dbf>
      <type>1</type>
      <format>1</format>
      <x>20</x>
      <y>0</y>
      <width>40</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>1</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>3</id>
      <name>a4</name>
      <text>Adresse</text>
      <dbf>2</dbf>
      <type>1</type>
      <format>1</format>
      <x>60</x>
      <y>0</y>
      <width>60</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>0</border>
      <background>0</background>
      <multiline>1</multiline>
    </object>
    <object>
      <id>3</id>
      <name>a4</name>
      <text>Nom</text>
      <dbf>3</dbf>
      <type>1</type>
      <format>1</format>
      <x>120</x>
      <y>0</y>
      <width>60</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>0</border>
      <background>0</background>
      <multiline>1</multiline>
    </object>
    <object>
      <id>4</id>
      <name></name>
      <text>Date</text>
      <dbf>4</dbf>
      <type>1</type>
      <format>2</format>
      <x>180</x>
      <y>0</y>
      <width>20</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name></name>
      <text>Annuel</text>
      <dbf>5</dbf>
      <type>1</type>
      <format>3</format>
      <x>200</x>
      <y>0</y>
      <width>20</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name>a3</name>
      <text>Cahrge</text>
      <dbf>6</dbf>
      <type>1</type>
      <format>3</format>
      <x>220</x>
      <y>0</y>
      <width>20</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name>a3</name>
      <text>minimal</text>
      <dbf>7</dbf>
      <type>1</type>
      <format>3</format>
      <x>240</x>
      <y>0</y>
      <width>20</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name>a3</name>
      <text>ordinaire</text>
      <dbf>7</dbf>
      <type>1</type>
      <format>3</format>
      <x>260</x>
      <y>0</y>
      <width>10</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>0</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name>a3</name>
      <text>periode</text>
      <dbf>8</dbf>
      <type>1</type>
      <format>3</format>
      <x>270</x>
      <y>0</y>
      <width>10</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>0</border>
      <background>0</background>
    </object>
    <height>8</height>
  </detail>
  <footer>
    <object>
      <id>2</id>
      <name>a4</name>
      <text></text>
      <dbf>1</dbf>
      <type>2</type>
      <format>1</format>
      <x>20</x>
      <y>0</y>
      <width>40</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>1</align>
      <border>1</border>
      <background>0</background>
    </object>
    <object>
      <id>3</id>
      <name>a4</name>
      <text></text>
      <dbf>2</dbf>
      <type>2</type>
      <format>1</format>
      <x>60</x>
      <y>0</y>
      <width>60</width>
      <height>8</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></text>
      <dbf></dbf>
      <type>2</type>
      <format>1</format>
      <x>120</x>
      <y>0</y>
      <width>60</width>
      <height>8</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></text>
      <dbf>4</dbf>
      <type>2</type>
      <format>3</format>
      <x>180</x>
      <y>0</y>
      <width>20</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>1</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name>a3</name>
      <text>sum(montant_annuel)</text>
      <dbf>5</dbf>
      <type>3</type>
      <format>3</format>
      <x>200</x>
      <y>0</y>
      <width>20</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>1</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name>a3</name>
      <text>sum(montant_charges)</text>
      <dbf>6</dbf>
      <type>3</type>
      <format>3</format>
      <x>220</x>
      <y>0</y>
      <width>20</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>1</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name>a3</name>
      <text>Montant</text>
      <dbf>7</dbf>
      <type>1</type>
      <format>3</format>
      <x>240</x>
      <y>0</y>
      <width>20</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>1</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name>ordinaire</name>
      <text></text>
      <dbf>8</dbf>
      <type>2</type>
      <format>3</format>
      <x>260</x>
      <y>0</y>
      <width>10</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>1</border>
      <background>0</background>
    </object>
    <object>
      <id>4</id>
      <name>periode</name>
      <text></text>
      <dbf>9</dbf>
      <type>2</type>
      <format>3</format>
      <x>270</x>
      <y>0</y>
      <width>10</width>
      <height>8</height>
      <fontname>Times</fontname>
      <fontsize>8</fontsize>
      <fontstyle/>
      <align>2</align>
      <border>1</border>
      <background>0</background>
    </object>
    <object>
      <id>1</id>
      <name>total</name>
      <text>page()</text>
      <dbf>a</dbf>
      <type>3</type>
      <format>1</format>
      <x>20</x>
      <y>40</y>
      <width>260</width>
      <height>4</height>
      <fontname>Times</fontname>
      <fontsize>6</fontsize>
      <fontstyle/>
      <align>3</align>
      <border>0</border>
      <background>0</background>
    </object>
    <height>70</height>
  </footer>
</report>
