feat(web): copiar de / a entre documentos de ventas y compras
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cafe4bc035
commit
29e80181fe
8 files changed
+383
-6
No files matched your search
@@ -94,4 +94,24 @@
|
||||
<button sboActions class="btn" type="button" (click)="reload()">Recargar</button>
|
||||
}
|
||||
<a sboActions class="btn" routerLink="..">{{ readOnly() ? 'Cerrar' : 'Cancelar' }}</a>
|
||||
@if (partner && copyFromItems().length) {
|
||||
<sbo-menu-button sboActionsEnd label="Copiar de" [items]="copyFromItems()" (picked)="copyFrom($event)" />
|
||||
}
|
||||
@if (partner && copyToItems().length) {
|
||||
<sbo-menu-button sboActionsEnd label="Copiar a" [items]="copyToItems()" (picked)="copyTo($event)" />
|
||||
}
|
||||
</sbo-window>
|
||||
|
||||
@if (copyListScreen(); as src) {
|
||||
<sbo-value-help
|
||||
[open]="true"
|
||||
[title]="'Copiar de: ' + src.createLabel.replace('Nueva ', '').replace('Nuevo ', '')"
|
||||
[resource]="src.resource"
|
||||
[columns]="copyListColumns"
|
||||
[baseFilter]="copyListFilter()"
|
||||
orderby="DocEntry desc"
|
||||
rowKey="DocEntry"
|
||||
(selected)="copyPicked($event)"
|
||||
(closed)="copyListFor.set(null)"
|
||||
/>
|
||||
}
|
||||
Reference in new issue
Block a user