<?php
include_once('c_personals_org_card.php');

class c_page_cab_personals_org_card_personals extends c_page_cab_personals_org_card
{
    public $h1='Карточка организации - сотрудники';

    function block_main()
    {   $this->h1.=' - сотрудники' ;
        $this->page_title();
        $this->panel_org_personals();
    }

    function panel_org_personals()
    {   include_once(_DIR_EXT.'/personal/report_personals.php');
        $report_obj=new report_personals();
        $report_obj->filter['org_ids'][$this->rec_section['pkey']]=1;
        $report_obj->init() ;
        $report_obj->setting_to_org();
        $report_obj->view(array('debug'=>0));
    }
}

?>
