From ed315ade1af3cb391e2b1fe7bc5ffe92fbdaa22f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 15 Feb 2017 21:32:01 -0700 Subject: [PATCH] Update app_config.php --- app/call_centers/app_config.php | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/app/call_centers/app_config.php b/app/call_centers/app_config.php index e4721ce810..84fca42789 100644 --- a/app/call_centers/app_config.php +++ b/app/call_centers/app_config.php @@ -20,7 +20,7 @@ $apps[$x]['description']['pt-br'] = "As filas servem para gerenciar as chamadas que entram e encaminhar as mesmas para os agentes disponíveis."; //destination details - $y = 0; + $y=0; $apps[$x]['destinations'][$y]['type'] = "sql"; $apps[$x]['destinations'][$y]['label'] = "call_centers"; $apps[$x]['destinations'][$y]['name'] = "call_centers"; @@ -35,7 +35,7 @@ $apps[$x]['destinations'][$y]['select_label'] = "\${destination} \${name} \${description}"; //permission details - $y = 0; + $y=0; $apps[$x]['permissions'][$y]['name'] = "call_center_queue_view"; $apps[$x]['permissions'][$y]['menu']['uuid'] = "6c072b29-5b6c-49fc-008e-95e24c77de99"; $apps[$x]['permissions'][$y]['groups'][] = "agent"; @@ -108,9 +108,10 @@ $apps[$x]['permissions'][$y]['groups'][] = "admin"; //schema details - $y = 0; //table array index - $z = 0; //field array index - $apps[$x]['db'][$y]['table'] = "v_call_center_agents"; + $y=0; + $apps[$x]['db'][$y]['table']['name'] = "v_call_center_agents"; + $apps[$x]['db'][$y]['table']['parent'] = ""; + $z=0; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "call_center_agent_id"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; @@ -192,9 +193,10 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - $y = 1; //table array index - $z = 0; //field array index - $apps[$x]['db'][$y]['table'] = "v_call_center_queues"; + $y++; + $apps[$x]['db'][$y]['table']['name'] = "v_call_center_queues"; + $apps[$x]['db'][$y]['table']['parent'] = ""; + $z=0; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "call_center_queue_id"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; @@ -313,9 +315,10 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - $y = 2; //table array index - $z = 0; //field array index - $apps[$x]['db'][$y]['table'] = "v_call_center_tiers"; + $y++; + $apps[$x]['db'][$y]['table']['name'] = "v_call_center_tiers"; + $apps[$x]['db'][$y]['table']['parent'] = ""; + $z=0; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "call_center_tier_id"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";