Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DatiBeniServizi - Unità di misura obbligatoria #9

Closed
ChristianGiupponi opened this issue Dec 19, 2018 · 2 comments
Closed

DatiBeniServizi - Unità di misura obbligatoria #9

ChristianGiupponi opened this issue Dec 19, 2018 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ChristianGiupponi
Copy link

Ciao,
nella parte di creazione delle linee DatiBeniServizi c'è di default la scritta pz come Unità di Misura ma alcune volte è suprerfluo, non sarebbe meglio lasciare quel campo nullo e inserirlo in fattura solo se presente?

@salgua
Copy link
Contributor

salgua commented Dec 19, 2018

Ciao Christian,
l'unità di misura diventa obbligatoria se si specifica la quantità, per questo motivo il default per la quantità è 1 mentre per l'unità di misura è 'pz'. Potrei mettere "null" su entrambi.
Ad ogni modo nelle prossime release permetterò di aggiungere qualsiasi campo dinamicamente usando le proprietà magiche di php, quindi una volta istanziata una classe potrai aggiungere campi così

$blocco->campoA
$blocco->campoB
$blocco->campoC 

salgua added a commit that referenced this issue Dec 19, 2018
…UnitaMisura' non vengono aggiunti all'xml
@salgua salgua added the bug Something isn't working label Dec 19, 2018
@salgua salgua added this to the v1.1.0 milestone Dec 19, 2018
@salgua
Copy link
Contributor

salgua commented Dec 19, 2018

Fatto. Rilascio stabile nella v1.1.0

@salgua salgua closed this as completed Dec 19, 2018
@salgua salgua self-assigned this Dec 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants