function person_enter_render_xml()
 {
     $form = new Form();
     $form->addElement(new FormInputElement("first_name", "Voornaam"));
     $form->addElement(new FormInputElement("initials", "Voorletters"));
     $form->addElement(new FormInputElement("last_name_prefix", "Tussenvoegsel"));
     $form->addElement(new FormInputElement("last_name", "Achternaam"));
     $form->addElement(new FormInputElement("email_address", "E-mail adres", "email"));
     return $form->GenerateForm(NULL, "Voer persoonsgegevens in");
 }
 function render_xml()
 {
     $form = new Form();
     $form->addElement(new FormInputElement("address_street", "Straat"));
     $form->addElement(new FormInputElement("address_number", "Huisnummer"));
     $form->addElement(new FormInputElement("address_postalcode", "Postcode"));
     $form->addElement(new FormInputElement("address_city", "Stad"));
     //$form->addElement(new FormInputElement("address_province","Provincie"));
     //$form->addElement(new FormInputElement("address_country","Land")); //!! ISO CODE, DROPDOWN
     return $form->GenerateForm(NULL, "Voer adresgegevens in");
 }
 function Wizard_Organisation_ChooseOrganisationType_render_xml()
 {
     $form = new Form();
     $form->addElement(new FormButtonElement('organisationType', "In oprichting", 'in_formation'));
     $form->addElement(new FormButtonElement('organisationType', "Vereniging (zonder kvk)", "association_unregged"));
     $form->addElement(new FormButtonElement('organisationType', "Vereniging (met kvk)", "association_regged"));
     $form->addElement(new FormButtonElement('organisationType', "Stichting", "foundation"));
     $form->addElement(new FormButtonElement('organisationType', "Bedrijf", "company"));
     $form->addElement(new FormButtonElement('organisationType', "Anders", "other"));
     return $form->GenerateForm(NULL, "Kies type organisatie", true);
 }
 function chooseproject_render_xml()
 {
     $sth = $this->stone->pdo->prepare("SELECT project_id, project_description_short FROM project ");
     $sth->execute();
     $form = new Form();
     while ($project = $sth->fetch()) {
         $form->addElement(new FormButtonElement("project_id", $project['project_description_short'], $project['project_id']));
     }
     return $form->GenerateForm(NULL, "Kies project");
 }
 function add_existing_person_render_xml()
 {
     //TODO: also check if a person is not linked to an organisation?
     //A person might be both individual and coorperate supplier
     $sth = $this->stone->pdo->prepare("SELECT person_id ,CONCAT_WS(' ',person_first_name,person_last_name_prefix,person_last_name) as person_name\n                                       FROM person\n                                       WHERE person_id NOT IN \n                                           ( SELECT organisation_id \n                                             FROM link_supplier2person\n                                           )");
     $sth->execute();
     $form = new Form();
     // TODO: create form support for the original structure
     while ($supplier = $sth->fetch()) {
         $form->addElement(new FormButtonElement("person_id", $supplier['person_name'], $supplier['person_id']));
     }
     return $form->GenerateForm(NULL, "Kies de persoon om toe te voegen als leverancier", false);
 }
Example #6
0
 function kvk_enter_render_xml()
 {
     $form = new Form();
     $form->addElement(new FormInputElement("kvk", "KvK Nummer", "number"));
     return $form->GenerateForm(NULL, "Voer KvK nummer in");
 }
 function vies_enter_render_xml()
 {
     $form = new Form();
     $form->addElement(new FormInputElement("vat", "BTW Nummer"));
     return $form->GenerateForm(NULL, "Voer BTW nummer in");
 }