public function indexAction()
 {
     $records = Compra::queryAll();
     $object = ["records" => $records, "FieldsIndex" => $this->FieldsIndex, "module" => $this->module, "key" => $this->key];
     return View::make($this->routeIndex, $object);
 }