Fixes for meta definitions of list views

This commit is contained in:
David Bomba 2025-10-10 11:51:58 +11:00
parent bc8c8ec17e
commit 2e45fbe9d5
3 changed files with 21 additions and 5 deletions

View File

@ -131,7 +131,7 @@ class RegistroAlta
/** The business entity that is issuing the invoice */
$emisor = new PersonaFisicaJuridica();
$emisor->setNif($this->company->settings->vat_number)
$emisor->setNif(substr($this->company->settings->vat_number, 0, 9))
->setNombreRazon($this->invoice->company->present()->name());
/** The business entity (Client) that is receiving the invoice */

View File

@ -14481,7 +14481,15 @@ paths:
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Client'
meta:
type: object
$ref: '#/components/schemas/Meta'
401:
$ref: '#/components/responses/401'
403:

View File

@ -220,7 +220,15 @@
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Client'
meta:
type: object
$ref: '#/components/schemas/Meta'
401:
$ref: '#/components/responses/401'
403: