/[papo]/papo/report/product.grd
ViewVC logotype

Diff of /papo/report/product.grd

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by charlie, Fri Nov 8 17:05:49 2002 UTC revision 1.3 by charlie, Thu Dec 19 19:28:12 2002 UTC
# Line 52  Line 52 
52        </condition>        </condition>
53      </datasource>      </datasource>
54    
     <datasource name="classificacionDataSource" database="papo"  
       detaillink="product_classification.id" master="productDataSource"  
       masterlink="_product_data.product_classification"  
       table="product_classification, _product_classification_data"  
       historytable="_product_classification_data">  
       <condition>  
         <and>  
           <eq>  
             <cfield name="product_classification.id"/>  
             <cfield name="_product_classification_data._table"/>  
           </eq>  
           <null>  
             <cfield name="_product_classification_data._end_t"/>  
           </null>  
         </and>  
       </condition>  
     </datasource>  
   
55      <datasource name="priceDataSource" database="papo"      <datasource name="priceDataSource" database="papo"
56        detaillink="price.id" master="productDataSource"        detaillink="price.id" master="productDataSource"
57        masterlink="_product_data._table"        masterlink="_product_data._table"
# Line 92  Line 74 
74        </condition>        </condition>
75      </datasource>      </datasource>
76    
     <datasource name="physicalStructureDataSource" database="papo"  
       detaillink="physical_structure.id" master="productDataSource"  
       masterlink="_product_data._table"  
       table="physical_structure, _physical_structure_data"  
       historytable="_physical_structure_data">  
       <condition>  
         <and>  
           <eq>  
             <cfield name="physical_structure.id"/>  
             <cfield name="_physical_structure_data._table"/>  
           </eq>  
           <null>  
             <cfield name="_physical_structure_data._end_t"/>  
           </null>  
         </and>  
       </condition>  
     </datasource>  
   
77    </sources>    </sources>
78    
79    <layout xmlns:out="GNUe:Reports:SimpleTabulation">    <layout xmlns:out="GNUe:Reports:SimpleTabulation">
# Line 121  Line 85 
85          <out:table width="100%">          <out:table width="100%">
86            <out:tablehead>            <out:tablehead>
87              <out:colhead with="30%">Nombre o Razón Social</out:colhead>              <out:colhead with="30%">Nombre o Razón Social</out:colhead>
             <out:colhead with="30%">Clasificación</out:colhead>  
             <out:colhead with="10%">Ubicación</out:colhead>  
88              <out:colhead with="10%">Origen</out:colhead>              <out:colhead with="10%">Origen</out:colhead>
89              <out:colhead with="10%">Precio</out:colhead>              <out:colhead with="20%">Precio</out:colhead>
90              <out:colhead with="10%">Código Interno</out:colhead>              <out:colhead with="10%">Código Interno</out:colhead>
91            </out:tablehead>            </out:tablehead>
92    
93            <section name="productSection" source="productDataSource">            <section name="productSection" source="productDataSource">
94              <out:row>              <out:row>
95                <out:col><field name="_product_data.canonical_name"/></out:col>                <out:col with="30%"><field name="_product_data.canonical_name"/></out:col>
96                <section name="classificationSection" source="classificacionDataSource">                <out:col with="10%"><field name="_country_data.name"/></out:col>
                 <out:col><field name="_product_classification_data.description"/></out:col>  
               </section>  
               <section name="physicalStructureSection" source="physicalStructureDataSource">  
                 <out:col><field name="_physical_structure_data.name"/></out:col>  
               </section>  
               <out:col><field name="_country_data.name"/></out:col>  
97                <section name="priceSection" source="priceDataSource">                <section name="priceSection" source="priceDataSource">
98                  <out:col><field name="_price_data.unit_price"/></out:col>                  <out:col with="20%"><field name="_price_data.unit_price"/></out:col>
99                </section>                </section>
100                <out:col><field name="_product_code_data.code"/></out:col>                <out:col with="10%"><field name="_product_code_data.code"/></out:col>
101              </out:row>              </out:row>
102            </section>            </section>
103    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26