private function addBankRowToView(ViewModel $view, Bank $bank = null)
 {
     $view->setTemplate('application/company/partial/bank');
     if ($bank != null) {
         /* @var $bank \Application\Entity\Bank */
         $view->name = $bank->getName();
         $view->country = $bank->getCountry();
         $view->iban = $bank->getIban();
         $view->swift = $bank->getSwift();
         $view->code = $bank->getCode();
     }
     return $view;
 }