You are here

function pminvoice_ajax_organization_nid in Drupal PM (Project Management) 7

Ajax callback for the organization nid field on a pminvoice node.

1 string reference to 'pminvoice_ajax_organization_nid'
pminvoice_form in pminvoice/pminvoice.module
Implements hook_form().

File

pminvoice/pminvoice.module, line 504
1: Hooks (help, perm, init, menu, theme, node_info) 2: Access functions 3: Load organization and project details 4: Invoice create / edit form 5: Invoice node manipulation functions 6: Admin settings 7: Views hook 8: Project Managementinvoiceitem…

Code

function pminvoice_ajax_organization_nid(&$form, &$form_state) {
  return $form['group2']['project_nid'];
}