$months = $filter->getMonths();
    $total_months = $filter->getTotalMonths();
    $bankstatements = $filter->getBankStatements();
    $bank_average = $filter->getBankAverage();
    $nfs_average = $filter->getNSF();
    $creditcard = $filter->getCreditCard();
    $creditcard_t = $filter->getCreditCard_T();
    $creditcard_average = $filter->getCreditCardAverage();
    $email = $filter->getEmail();
    // obtenemos parametros
    $lender->setBusiness($type_business);
    $lender->setForeclosure($foreclosure);
    $lender->setLandlord($landlord);
    $lender->setYears($years);
    $lender->setMonths($months);
    $lender->setTotalMonths($total_months);
    $lender->setBankStatements($bankstatements);
    $lender->setBankAverage($bank_average);
    $lender->setNSF($nfs_average);
    $lender->setCreditCard($creditcard);
    $lender->setCreditCard_t($creditcard_t);
    $lender->setCreditCardAverage($creditcard_average);
}
if (isset($_POST['id_merchant'])) {
    $id_merchant = $_POST['id_merchant'];
    $type_business = $_POST['type_business'];
    $foreclosure = $_POST['foreclosure'];
    $landlord = $_POST['landlord'];
    $years = $_POST['years'];
    $months = $_POST['months'];
    $bankstatements = $_POST['bankstatements'];