feat: refs #7235 update invoice out global form to fetch config based on serial type #1082
No reviewers
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#1082
Loading…
Reference in New Issue
No description provided.
Delete Branch "7235-InvoiceOutBySerial"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -79,3 +79,4 @@
this.formInitialData.invoiceDate = this.minInvoicingDate;
formData.invoiceDate = this.minInvoicingDate;
} catch (err) {
console.error('Error fetching invoice out global initial data');
@alexm Hace poco hiciste una PR en el que eliminabas todos los try/catch.
Puedes verificar que este caso debe existir o se ha colado?
Si puede que alguno se haya quedado, si se quita mejor
@ -66,3 +65,2 @@
try {
this.formInitialData.companyFk = companyFk;
const params = { companyFk: companyFk };
const userInfo = await useUserConfig().fetch();
Si de userInfo, solo usas 1 parámetro, casi que podrías hacer const {companyFk}, no afecta dejarlo asi