Skip to content
Snippets Groups Projects
Verified Commit d462ce28 authored by Damien's avatar Damien
Browse files

FEAT #8550 Field color validate mail

parent 986f9b30
No related branches found
No related tags found
No related merge requests found
...@@ -820,6 +820,7 @@ function get_form_txt($values, $path_manage_action, $id_action, $table, $module, ...@@ -820,6 +820,7 @@ function get_form_txt($values, $path_manage_action, $id_action, $table, $module,
$sr = $resourceContact; $sr = $resourceContact;
} }
} }
$rate = [];
if (!empty($sr['type']) && $sr['type'] == 'contact') { if (!empty($sr['type']) && $sr['type'] == 'contact') {
$contactData = \Contact\models\ContactModel::getOnView(['select' => ['*'], 'where' => ['ca_id = ?'], 'data' => [$sr['item_id']]]); $contactData = \Contact\models\ContactModel::getOnView(['select' => ['*'], 'where' => ['ca_id = ?'], 'data' => [$sr['item_id']]]);
$rate = \Contact\controllers\ContactController::getFillingRate(['contact' => (array)$contactData[0]]); $rate = \Contact\controllers\ContactController::getFillingRate(['contact' => (array)$contactData[0]]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment