+++ /dev/null
-<?php
-
-// imports
-require_once 'GenericAdmin/DataTypes/EnumType.php';
-
-class Zahlweise extends EnumType {
-
- /** Zahlungsmethoden */
- const ZW_BAR = 0;
- const ZW_SELBST = 1;
- const ZW_EINZUG = 2;
-
- // (string representations of) defined values
- public static $defd_vals = array (
- self::ZW_BAR => 'Barzahler',
- self::ZW_SELBST => 'Selbstüberweise',
- self::ZW_EINZUG => 'Bankeinzug',
- );
-
- public function __construct($value) {
- $this->initInstance('Zahlweise', self::$defd_vals, $value);
- }
-}
+++ /dev/null
-<?php
-
-// imports
-require_once 'GenericAdmin/GenericAdmin.php';
-require_once 'util/Config.php';
-
-class MVAdmin extends GenericAdmin {
-
- function MVAdmin() {
- // Generic Administration configuration data
- require 'AWK/impl/GenadData.php';
- parent::setDscrData($mocd_tab, $atdc_tab);
- }
-}
+++ /dev/null
-<?php
-
-// imports
-require_once 'GenericAdmin/DataTypes/AttrProperty.php';
-
- // Generic Administration configuration data
- $mocd_tab = array (
- 1 => array (
- 'intern' => 'Stamm',
- 'extern' => 'Personenstamm'),
- 2 => array (
- 'intern' => 'Grundstuck',
- 'extern' => 'Grundstück'),
- 3 => array (
- 'intern' => 'Beitrage',
- 'extern' => 'Beiträge'),
-// 4 => array (
-// 'intern' => 'Werkzeug',
-// 'extern' => 'Werkzeug')
- );
-
- $atdc_tab = array (
-
- // Personenstamm
- array (
- 'intern' => 'nachname',
- 'extern' => 'Nachname',
- 'moc' => 'Stamm',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET)),
- array (
- 'intern' => 'vorname',
- 'extern' => 'Vorname',
- 'moc' => 'Stamm',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET)),
- array (
- 'intern' => 'stasse',
- 'extern' => 'Straße',
- 'moc' => 'Stamm',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET)),
- array (
- 'intern' => 'plz',
- 'extern' => 'PLZ',
- 'moc' => 'Stamm',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET)),
- array (
- 'intern' => 'ort',
- 'extern' => 'Ort',
- 'moc' => 'Stamm',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET)),
- array (
- 'intern' => 'zahlweise',
- 'extern' => 'Zahlweise',
- 'moc' => 'Stamm',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET),
- 'typ_cl' => 'Zahlweise'),
- array (
- 'intern' => 'iban',
- 'extern' => 'IBAN',
- 'moc' => 'Stamm',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET)),
- array (
- 'intern' => 'bic',
- 'extern' => 'BIC',
- 'moc' => 'Stamm',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET)),
- array (
- 'intern' => 'kommentar',
- 'extern' => 'Kommentar',
- 'moc' => 'Stamm',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET)),
- array (
- 'intern' => 'Grundstuck',
- 'extern' => 'Versicherte_Grundstücke',
- 'moc' => 'Stamm',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET, AttrProperty::AP_LIST, AttrProperty::AP_REL),
- 'rel_moc' => 2), //Grundstücke
- array (
- 'intern' => 'Beitrag',
- 'extern' => 'Zahlungen',
- 'moc' => 'Stamm',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET, AttrProperty::AP_LIST, AttrProperty::AP_REL),
- 'rel_moc' => 3), //Zahlungen
-
- // Grundstück
- array (
- 'intern' => 'wie_anschrift',
- 'extern' => 'wie_Anschrift',
- 'moc' => 'Grundstuck',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET, AttrProperty::AP_BOOL)),
- array (
- 'intern' => 'strasse',
- 'extern' => 'Straße',
- 'moc' => 'Grundstuck',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET)),
- array (
- 'intern' => 'plz',
- 'extern' => 'PLZ',
- 'moc' => 'Grundstuck',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET)),
- array (
- 'intern' => 'ort',
- 'extern' => 'Ort',
- 'moc' => 'Grundstuck',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET)),
- array (
- 'intern' => 'kommentar',
- 'extern' => 'Kommentar',
- 'moc' => 'Grundstuck',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET)),
-
- // Beiträge
- array (
- 'intern' => 'jahr',
- 'extern' => 'Jahr',
- 'moc' => 'Beitrage',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_INT)),
- array (
- 'intern' => 'zahlweise',
- 'extern' => 'Zahlweise',
- 'moc' => 'Beitrage',
- 'props' => array (AttrProperty::AP_GET),
- 'typ_cl' => 'Zahlweise'),
- array (
- 'intern' => 'kommentar',
- 'extern' => 'Kommentar',
- 'moc' => 'Beitrage',
- 'props' => array (AttrProperty::AP_GET, AttrProperty::AP_SET)),
- );
-
-?>
+++ /dev/null
-# Database driver
-propel.database = mysql
-
-# Project name
-propel.project = propel
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<config>
- <!-- Uncomment this if you have PEAR Log installed -->
- <!--log>
- <type>file</type>
- <name>/tmp/propel.log</name>
- <ident>AlarmManagement</ident>
- <level>7</level>
- </log-->
- <propel>
- <datasources default="svbal">
- <datasource id="svbal">
- <adapter>mysql</adapter> <!-- sqlite, mysql, myssql, oracle, or pgsql -->
- <connection>
- <dsn>mysql:host=localhost;dbname=svbal</dsn>
- <user>SVBaL</user>
- <password>SVBaL</password>
- <settings>
- <setting id="charset">utf8</setting>
- </settings>
- </connection>
- </datasource>
- </datasources>
- </propel>
-</config>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<database name="svbal" defaultIdMethod="native">
- <table name="stamm">
- <column name="id" type="integer" required="true" primaryKey="true" autoIncrement="true"/>
- <column name="mod" type="integer" required="true"/>
- <column name="nachname" type="varchar" size="100" required="true"/>
- <column name="vorname" type="varchar" size="100" required="true"/>
- <column name="stasse" type="varchar" size="100" required="true"/>
- <column name="plz" type="char" size="10" required="true"/>
- <column name="ort" type="varchar" size="100" required="true"/>
- <column name="zahlweise" type="integer" required="true"/>
- <column name="iban" type="char" size="20" required="true"/>
- <column name="bic" type="char" size="10" required="true"/>
- </table>
- <table name="stamm_kommentar">
- <column name="id" type="integer" required="true" primaryKey="true" autoIncrement="true"/>
- <column name="erstellt_am" type="integer" required="true"/>
- <column name="kommentar" type="varchar" size="1000" required="true"/>
- <column name="stamm_id" type="integer" required="true"/>
- <foreign-key foreignTable="stamm" refPhpName="Grundstuck">
- <reference local="stamm_id" foreign="id"/>
- </foreign-key>
- </table>
- <table name="grundstuck">
- <column name="id" type="integer" required="true" primaryKey="true" autoIncrement="true"/>
- <column name="mod" type="integer" required="true"/>
- <column name="wie_anschrift" type="integer" required="true"/>
- <column name="strasse" type="varchar" size="100" required="true"/>
- <column name="plz" type="char" size="10" required="true"/>
- <column name="ort" type="varchar" size="100" required="true"/>
- <column name="kommentar" type="varchar" size="1000" required="true"/>
- <column name="stamm_id" type="integer" required="true"/>
- <foreign-key foreignTable="stamm" refPhpName="Grundstuck">
- <reference local="stamm_id" foreign="id"/>
- </foreign-key>
- </table>
- <table name="beitrage">
- <column name="id" type="integer" required="true" primaryKey="true" autoIncrement="true"/>
- <column name="mod" type="integer" required="true"/>
- <column name="jahr" type="integer" required="true"/>
- <column name="zahlweise" type="integer" required="true"/>
- <column name="kommentar" type="varchar" size="1000" required="true"/>
- <column name="stamm_id" type="integer" required="true"/>
- <foreign-key foreignTable="stamm" refPhpName="Beitrag">
- <reference local="stamm_id" foreign="id"/>
- </foreign-key>
- </table>
-</database>
+++ /dev/null
-<?php
-$configurationData = array (
-
- "gui::applications" => array ("Mitgliederverwaltung"),
- "autoloader" => array ("ClassLoader", "autoload"),
- "Mitgliederverwaltung::InterfaceClass" => "MVAdmin",
- "PropelClassPath" => "AWK/impl/data/build"
- );
+++ /dev/null
-<?php
-//phpinfo();
-
-// define user
-$user = getenv("USER");
-if ($user == "") putenv("USER=gui");
-
-// includes
-$path = preg_replace("/SVBaL.*/", "SVBaL", __FILE__);
-set_include_path($path . PATH_SEPARATOR . get_include_path());
-require_once 'util/Logger.php';
-require_once 'util/Config.php';
-require_once 'GenericAdmin/gui/control/GenadControl.php';
-
-// load configuration + class loader
-include 'gui/ConfigurationData.php';
-Config::setConfiguration($configurationData);
-
-// Logging
-$logger = Logger::getInstance();
-$requestMethod = $_SERVER["REQUEST_METHOD"];
-$logger->log(__FILE__, $requestMethod);
-$logger->log(__FILE__, "GET-Variabeles:");
-while ( list($key, $value) = each($_GET) ) {
- $logger->log(__FILE__, $key . " : " . $value);;
-}
-$logger->log(__FILE__, "POST-Variabeles:");
-while ( list($key, $value) = each($_POST) ) {
- $logger->log(__FILE__, $key . " : " . $value);;
-}
-
-// call implementation
-try {
- $control = new GenadControl();
- $control->doIt();
-}
-catch (Exception $e) {
- $logger->logException(__FILE__, $e);
- echo "<html><body>Error occurred!</body></html>";
-}
-
+++ /dev/null
-<?php
-$this->nameMap = array (
- "Back" => "Zurück",
- "Class Selection" => "Typ",
- "Create" => "Anlegen",
- "List" => "Liste",
- "Select" => "Auswählen",
- "Submit changes" => "Änderungen speichern",
- "zur_Zeit_bei" => "zur Zeit bei"
-);
+++ /dev/null
-/usr/share/php/GenericAdmin/gui/view/admin.css
\ No newline at end of file
+++ /dev/null
-/usr/share/php/mLohn/gui/view/gfx/
\ No newline at end of file
--- /dev/null
+SVBaL-Repository
+================
+- Erste Versuche mit GenericAdmin, am 10.1.2024 gelöscht.
+10.2.2024
+- Beginn mit Python-Werkzeug für den S-Verein-Deltaabgleich
+