Version 2.3RC3
[fa-stable.git] / includes / ui / contacts_view.inc
index 11e73877134697bd516f9979202a425fa5f39507..c2ff889df0acb124c5416dac9559d1ee548df58d 100644 (file)
@@ -73,7 +73,7 @@ class contacts extends simple_crud {
        {
                br();
 
-               start_outer_table(TABLESTYLE, "width=80%");
+               start_outer_table(TABLESTYLE);
 
                table_section(1);
                table_section_title(_("Contact data"));
@@ -94,6 +94,7 @@ class contacts extends simple_crud {
                email_row(_("E-mail:"), 'email', @$this->data['email'], 35, 55);
 
                table_section(2);
+               table_section_title(" ");
                textarea_row(_("Address:"), 'address', @$this->data['address'], 30, 4);
                languages_list_row( _("Document Language:"), 'lang', @$this->data['lang'], _("Customer default"));
 
@@ -105,7 +106,7 @@ class contacts extends simple_crud {
                        $dat = $this->data;
                        return add_crm_person($dat['ref'], $dat['name'], $dat['name2'], $dat['address'],
                                $dat['phone'], $dat['phone2'], $dat['fax'], $dat['email'], $dat['lang'],
-                               $dat['notes'], $dat['assgn'], $this->entity);
+                               $dat['notes'], $dat['contacts'], $this->entity);
        }
 
        function db_update() {