|
|
@@ -55,12 +55,12 @@ $tables['Z']['BI_audit_CEIDG_pelnomocnicy']['rel']['nip']='nip';
|
|
|
$tables['Z']['BI_audit_CEIDG_pelnomocnicy']['rel_and']['adres']['miejscowosc']='miejscowosc';
|
|
|
$tables['Z']['BI_audit_CEIDG_pelnomocnicy']['rel_and']['adres']['ulica']='ulica';
|
|
|
$tables['Z']['BI_audit_CEIDG_pelnomocnicy']['rel_and']['adres']['kodPocztowy']='kodPocztowy';
|
|
|
-$tables['Z']['BI_audit_CEIDG_pelnomocnicy']['ref'][]='BI_audit_CEIDG';
|
|
|
+//$tables['Z']['BI_audit_CEIDG_pelnomocnicy']['ref'][]='BI_audit_CEIDG';
|
|
|
|
|
|
|
|
|
$tables['Z']['BI_audit_CEIDG_powiazania']['rel']['nip']='nip';
|
|
|
$tables['Z']['BI_audit_CEIDG_powiazania']['rel']['regon']='nip';
|
|
|
-$tables['Z']['BI_audit_CEIDG_powiazania']['ref'][]='BI_audit_CEIDG';
|
|
|
+//$tables['Z']['BI_audit_CEIDG_powiazania']['ref'][]='BI_audit_CEIDG';
|
|
|
|
|
|
|
|
|
$tables['Z']['BI_audit_KRS']['rel']['nip']='nip';
|
|
|
@@ -69,22 +69,42 @@ $tables['Z']['BI_audit_KRS']['rel']['krs']='krs';
|
|
|
$tables['Z']['BI_audit_KRS']['rel_and']['adres']['miejscowosc']='A_miejscowosc';
|
|
|
$tables['Z']['BI_audit_KRS']['rel_and']['adres']['ulica']='A_ulica';
|
|
|
$tables['Z']['BI_audit_KRS']['rel_and']['adres']['kodPocztowy']='A_kod';
|
|
|
-
|
|
|
$tables['Z']['BI_audit_KRS']['ref'][]='BI_audit_KRS_person';
|
|
|
$tables['Z']['BI_audit_KRS']['ref'][]='BI_audit_KRS_company';
|
|
|
|
|
|
|
|
|
|
|
|
+$tables['Z']['BI_audit_KRS_company']['rel']['regon']='regon';
|
|
|
+$tables['Z']['BI_audit_KRS_company']['rel']['krs']='krs';
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+function start_dig() {
|
|
|
+ foreach($tables['Y'] as $Y ) {
|
|
|
+ $sql='select * from '.$Y ;
|
|
|
+ $res= DB::getPDO()->query($sql);
|
|
|
+ while ($h= mysql_fetch_array($res)) {
|
|
|
+
|
|
|
+ print_r($h);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+function dig_next($hist_loop,$prev_dig) {
|
|
|
+
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-function
|