Fixes for meta definitions of list views
This commit is contained in:
parent
bc8c8ec17e
commit
2e45fbe9d5
|
|
@ -131,7 +131,7 @@ class RegistroAlta
|
||||||
|
|
||||||
/** The business entity that is issuing the invoice */
|
/** The business entity that is issuing the invoice */
|
||||||
$emisor = new PersonaFisicaJuridica();
|
$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());
|
->setNombreRazon($this->invoice->company->present()->name());
|
||||||
|
|
||||||
/** The business entity (Client) that is receiving the invoice */
|
/** The business entity (Client) that is receiving the invoice */
|
||||||
|
|
|
||||||
|
|
@ -14481,7 +14481,15 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
$ref: '#/components/schemas/Client'
|
$ref: '#/components/schemas/Client'
|
||||||
|
meta:
|
||||||
|
type: object
|
||||||
|
$ref: '#/components/schemas/Meta'
|
||||||
401:
|
401:
|
||||||
$ref: '#/components/responses/401'
|
$ref: '#/components/responses/401'
|
||||||
403:
|
403:
|
||||||
|
|
|
||||||
|
|
@ -220,7 +220,15 @@
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
$ref: '#/components/schemas/Client'
|
$ref: '#/components/schemas/Client'
|
||||||
|
meta:
|
||||||
|
type: object
|
||||||
|
$ref: '#/components/schemas/Meta'
|
||||||
401:
|
401:
|
||||||
$ref: '#/components/responses/401'
|
$ref: '#/components/responses/401'
|
||||||
403:
|
403:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue