');
output('
Customer Relationship Management
');
output(html_form('crm_main', '', '', 'Kunde nach Stichwort suchen:
'));
output('');
if (isset($_SESSION['crm_customer'])) {
$cid = $_SESSION['crm_customer'];
$cust = new Customer($cid);
$hostingcont = hosting_contracts($cust->id);
$hosting = '';
foreach ($hostingcont AS $h) {
$hosting .= '- Hosting: ';
}
$hosting .= '
';
output('Aktueller Kunde
'.$cust->fullname.'
Firma: '.$cust->firma.'
Name: '.$cust->vorname.' '.$cust->nachname.'
Adresse: '.$cust->adresse.' - '.$cust->plz.' '.$cust->ort.'
Kundendaten
Letzte Rechnungen
Kommende Rechnungsposten
');
output ( print_r($cust, true) );
}