feature/cierres #31

Merged
aldarien merged 462 commits from feature/cierres into develop 2025-09-11 17:05:18 -03:00
335 changed files with 1393 additions and 14591 deletions
Showing only changes of commit d1905194bd - Show all commits

View File

@ -9,10 +9,15 @@ class Customer extends Ideal\Model
public Persona $persona;
public string $toku_id;
public function rut(): string
{
return implode('', [$this->persona->rut, strtoupper($this->persona->digito)]);
}
protected function jsonComplement(): array
{
return [
'rut' => implode('', [$this->persona->rut, $this->persona->digito]),
'rut' => $this->rut(),
'toku_id' => $this->toku_id
];
}