Esempio n. 1
0
 public function testFormatearCuilt()
 {
     $this->assertEquals('20-25248532-6', Cuilt::FormatearCuilt('20252485326'));
     $this->assertEquals('20-25248532-6', Cuilt::FormatearCuilt('20-25248532-6'));
 }
Esempio n. 2
0
 /**
  * Setea el cuilt, realizando previamente un formateo.
  *
  * @param string $Cuilt
  */
 public function setCuilt($Cuilt)
 {
     $this->Cuilt = \Tapir\BaseBundle\Helper\Cuilt::FormatearCuilt($Cuilt);
 }