feat: moneda y tipo de cambio del documento (debajo del Nº de referencia) y ajustes de moneda local de la empresa
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a74c19a139
commit
b85383dda1
11 files changed
+229
-9
No files matched your search
@@ -248,6 +248,25 @@
|
||||
}
|
||||
</div>
|
||||
}
|
||||
@case ('currency') {
|
||||
<sbo-field [label]="f.label">
|
||||
<sbo-select
|
||||
width="170px"
|
||||
ariaLabel="Moneda del documento"
|
||||
[options]="currencyOptions()"
|
||||
[readonly]="readOnly() || locked(f)"
|
||||
[value]="currencyValue()"
|
||||
(valueChange)="onCurrency('' + ($event ?? ''))"
|
||||
/>
|
||||
<sbo-number
|
||||
ariaLabel="Tipo de cambio"
|
||||
[decimals]="6"
|
||||
[readonly]="readOnly() || locked(f) || isLocalCurrency()"
|
||||
[value]="isLocalCurrency() ? null : +str(header()['DocRate'])"
|
||||
(valueChange)="setHeader('DocRate', $event ?? '')"
|
||||
/>
|
||||
</sbo-field>
|
||||
}
|
||||
@case ('rounding') {
|
||||
@if (roundingEnabled()) {
|
||||
<sbo-field [label]="f.label">
|
||||
|
||||
Reference in new issue
Block a user