public function selectedcovenantAction()
 {
     $cdclient = $_POST["cdclient"];
     $covenant = $_POST["covenant"];
     $clientCovenantModel = new ClientcovenantModel();
     $clientCovenant = $clientCovenantModel->fetchRow($clientCovenantModel->getClientCovenantDetatils($cdclient, $covenant));
     $clientCovenantData = array();
     $clientCovenantData['nmcovenant'] = $clientCovenant->nmcovenant;
     $this->view->selectedCovenant = $clientCovenantData;
 }
 public function selectedcovenantAction()
 {
     $cdclient = $_POST["cdclient"];
     $cdcovenant = $_POST["cdcovenant"];
     $clientCovenantModel = new ClientcovenantModel();
     $clientCovenant = $clientCovenantModel->fetchRow($clientCovenantModel->getClientCovenantDetatils($cdclient, $cdcovenant));
     $clientCovenantData = array();
     if ($cdcovenant != -1) {
         $clientCovenantData['idcovenantcard'] = $clientCovenant->idcovenantcard;
         $clientCovenantData['fgactive'] = $clientCovenant->fgactive;
     }
     $this->view->clientCovenant = $clientCovenantData;
 }