X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fcontacts_view.inc;h=82c06342d168ea39689408aa1260d7c32a170d37;hb=7ad222595e84451daea8aaa06c83d817cc3c774c;hp=23474adc9e32aca2d66b90f06189569d24a13f87;hpb=97ce7657f26ca3cc7f7d705a8ca019bf06b31600;p=fa-stable.git diff --git a/includes/ui/contacts_view.inc b/includes/ui/contacts_view.inc index 23474adc..82c06342 100644 --- a/includes/ui/contacts_view.inc +++ b/includes/ui/contacts_view.inc @@ -27,14 +27,14 @@ class contacts extends simple_crud { parent::__construct($name, $fields); $this->class = $class; - $this->subclass = $subclass; + $this->sub_class = $subclass; $this->entity = $id; } function list_view() { br(); - $contacts = get_crm_persons($this->class, $this->subclass, $this->entity); + $contacts = get_crm_persons($this->class, $this->sub_class, $this->entity); start_table(TABLESTYLE, "width='80%'"); $th = array(_('Assignment'), _("Reference"), _("Full Name"), _("Phone"), _("Sec Phone"), _("Fax"), @@ -91,7 +91,7 @@ class contacts extends simple_crud { text_row(_("Reference:"), 'ref', @$this->data['ref'], 35, 40); crm_category_types_list_row(_("Contact active for:"), 'assgn', @$this->data['contacts'], - array('subclass' => @$this->subclass, + array('subclass' => @$this->sub_class, 'class' => @$this->class, 'multi' =>true) );