'Nazwa', 'name' => 'firm', 'id' => 'firm', 'value' => $this -> client -> firm, 'inline' => true ] );?> 'Nazwa firmy', 'name' => 'firm_name', 'id' => 'firm_name', 'value' => $this -> client -> firm_name, 'inline' => true ] );?> 'Emaile', 'name' => 'emails', 'id' => 'emails', 'value' => $this -> client -> emails, 'inline' => true ] );?> 'Telefony', 'name' => 'phones', 'id' => 'phones', 'value' => $this -> client -> phones, 'inline' => true ] );?> 'Notatki', 'name' => 'notes', 'id' => 'notes', 'value' => $this -> client -> notes, 'rows' => 10 ] );?> id = 'client-edit'; $grid -> gdb_opt = $gdb; $grid -> include_plugins = true; $grid -> title = 'edycja klient'; $grid -> title_small = 'ZarzÄ…dzaj klientem'; $grid -> fields = [ [ 'db' => 'id', 'type' => 'hidden', 'value' => $this -> client -> id ] ]; $grid -> external_code = $out; $grid -> actions = [ 'save' => [ 'url' => '/crm/client_save/', 'back_url' => '/crm/main_view/' ], 'cancel' => [ 'url' => '/crm/main_view/' ] ]; $grid -> persist_edit = true; $grid -> id_param = 'id'; echo $grid -> draw(); ?>