public function executeFormOfPayment(sfWebRequest $request)
 {
     $this->categories = CategoryPeer::getActiveCategories();
     $this->form_of_payments = FormOfPaymentPeer::doSelect(new Criteria());
     $id = $request->getParameter('id_session');
     //    $id_session = (empty($id))? session_id() : $id;
     //
     //    $this->addClientToCart($id_session);
     if ($request->isMethod('post')) {
         $this->pay($request);
         $redirect = $this->generateUrl('default', array('module' => 'sophiaStore', 'action' => 'paymentList'));
         $this->redirect($redirect);
     }
 }
foreach ($movements as $movement) {
    ?>
              <tr style="height:24px; font-size:0.9em; <?php 
    echo $i == 1 ? 'background:#f2f2f2;' : '';
    ?>
">
                <td align="center"><?php 
    echo $movement->getId();
    ?>
</td>
                <td align="center"><?php 
    echo $movement->getCreatedAt('Y-m-d');
    ?>
</td>
                <td align="center"><?php 
    echo FormOfPaymentPeer::getFormOfPayment($movement->getPaymentTypeId(), Variables::$PAY_CONCEPT_CARRITO);
    ?>
</td>
                <td align="center">$us <?php 
    echo $movement->getSum();
    ?>
</td>
              </tr>
              <?php 
    $i = 1 - $i;
    ?>
              <?php 
}
?>
            </table>
          </td>