Parcourir la source

odswiezam stary raport inwestycyjny do testu

a.binder il y a 8 ans
Parent
commit
2ee1b98070

+ 1 - 1
SE/budynki.php

@@ -1340,7 +1340,7 @@ echo "</pre>";
 
 
 if($_GET[KSIEG_DOKUMENTY_ANALIZA]) {
-echo "KSIEG_DOKUMENTY_ANALIZA <form action=$PHP_SELF method=\"GET\">";
+echo "KSIEG_DOKUMENTY_ANALIZA <form  method=\"GET\">"; //action=$PHP_SELF
 echo "<input type=hidden name=ADD value=ADD>";
 echo "<input type=hidden name=KSIEG_DOKUMENTY_ANALIZA value=1>";
 echo "<table border=1><tr><td>";

+ 31 - 5
SE/schema/ant-object/default_db.SALES_PLAN/SALES_PLAN/SALES_PLAN.xsd

@@ -13,9 +13,15 @@
    xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
    xmlns:system_cache__resources_tree_generate_xsl_required_occurs_raport="http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport"
    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
+   xmlns:default_db__x3A__MK_Rewiry="https://biuro.biall-net.pl/wfs/default_db/table/MK_Rewiry.xsd"
+   xmlns:fix_se_defaultdb_schema="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/fix_se_defaultdb_schema/fix_se_defaultdb_schema.xsd"
+   xmlns:p5Type="http://biuro.biall-net.pl/p5/schema/types"
    targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/SALES_PLAN.xsd"
-   vc:minVersion="1.1"
-   xmlns:default_db__x3A__MK_Rewiry="https://biuro.biall-net.pl/wfs/default_db/table/MK_Rewiry.xsd">
+   vc:minVersion="1.1">
+   <xs:import namespace="http://biuro.biall-net.pl/p5/schema/types"
+      schemaLocation="../../../types.xsd"/>
+   <xs:import namespace="http://www.opengis.net/gml/3.2"
+      schemaLocation="http://www.opengis.net/gml/3.2"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/IN7_DZIENNIK_KORESP.xsd"
       schemaLocation="../../default_db.IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP/IN7_DZIENNIK_KORESP.xsd"/>
    <xs:import
@@ -29,6 +35,8 @@
       schemaLocation="../SystemObjects/AccessOwner.xsd"/>-->
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/MK_Rewiry.xsd"
       schemaLocation="../../default_db.MK_Rewiry/MK_Rewiry/MK_Rewiry.xsd"/>
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/ADMIN_USERS.xsd"
+      schemaLocation="../../default_db.ADMIN_USERS/ADMIN_USERS/ADMIN_USERS.xsd"/>
    <xs:simpleType name="A_STATUS_Type" id="_SALES_PLAN___d4e31846-1_A_STATUS_T">
       <xs:restriction base="xs:string"/>
    </xs:simpleType>
@@ -57,6 +65,15 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          <xs:element name="A_STATUS_INFO" type="xs:string" id="_SALES_PLAN___d4e31855-1_A_STATUS_I"/>
          <xs:element name="L_APPOITMENT_USER" type="xs:string"
             id="_SALES_PLAN___d4e31856-1_L_APPOITME"/>
+         <xs:element ref="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="L_APPOITMENT_USER" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="default_db__x3A__ADMIN_USERS:L_APPOITMENT_USER/ADM_ACCOUNT"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
          <!--<xs:element ref="SystemObjects__x3A__AccessOwner:AccessOwner" id="_SALES_PLAN___d4e31857-1">
             <xs:annotation>
                <xs:appinfo>
@@ -130,6 +147,15 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
          </xs:element>-->
          <xs:element minOccurs="0" maxOccurs="1" name="ID_PROJECT" type="xs:int"
             id="_SALES_PLAN___d4e31895-1_ID_PROJECT"/>
+         <xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT">
+            <xs:annotation>
+               <xs:appinfo>
+                  <system_cache__appinfo:flat_relation_cache>
+                     <system_cache__appinfo:source system_cache__appinfo:name="ID_PROJECT" system_cache__appinfo:ref_engine="view" system_cache__appinfo:xpath="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT/ID"/>
+                  </system_cache__appinfo:flat_relation_cache>
+               </xs:appinfo>
+            </xs:annotation>
+         </xs:element>
          <!--<xs:element ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:ID_PROJECT" minOccurs="0"> to be backreferred
             <xs:annotation>
                <xs:appinfo>
@@ -149,7 +175,7 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
             id="_SALES_PLAN___d4e31900-1_STAWKA"/>
          <xs:element minOccurs="0" maxOccurs="1" name="STAWKA_GOTOWOSC" type="xs:double"
             id="_SALES_PLAN___d4e31901-1_STAWKA_GOT"/>
-         <xs:element minOccurs="0"
+         <!-- nie potrzebne drugi raz... <xs:element minOccurs="0"
             ref="default_db__x3A__IN7_MK_BAZA_DYSTRYBUCJI:IN7_MK_BAZA_DYSTRYBUCJI">
             <xs:annotation>
                <xs:appinfo>
@@ -158,7 +184,7 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                   </system_cache__appinfo:flat_relation_cache>
                </xs:appinfo>
             </xs:annotation>
-         </xs:element>
+         </xs:element>-->
          <xs:element name="NAZWA_REWI" type="xs:string">
             <xs:annotation>
                <xs:documentation>Cache nazwa rewiru powiązanego </xs:documentation>
@@ -171,7 +197,7 @@ Protopyowy obiekt, który powinien mieć typy konkretnych rodzaji dla różnych
                   <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"/>
                </system_cache__appinfo:flat_relation_cache>
             </xs:appinfo>-->
-                  <xs:appinfo>
+               <xs:appinfo>
                      <system_cache__appinfo:flat_relation_cache>
                         <system_cache__appinfo:source system_cache__appinfo:ref_engine="view" system_cache__appinfo:name="NAZWA_REWI" system_cache__appinfo:xpath="default_db__x3A__MK_Rewiry:MK_Rewiry/NAZWA_REWI"/>
                      </system_cache__appinfo:flat_relation_cache>