fix: add logging for generated document numbers during invoice partner creation
Deploy Application / deploy (push) Successful in 33s
Details
Deploy Application / deploy (push) Successful in 33s
Details
This commit is contained in:
parent
e4a60acc58
commit
0f476cd2ea
|
|
@ -35,11 +35,13 @@ export default async function ({ data }: { data: any }) {
|
|||
10,
|
||||
invoicePartnerCreate.length
|
||||
);
|
||||
console.log(documentno);
|
||||
let idx = 0;
|
||||
if (invoicePartnerCreate.length > 0)
|
||||
for (const inv of invoicePartnerCreate) {
|
||||
const docno = documentno[idx];
|
||||
idx++;
|
||||
console.log(docno);
|
||||
idx = idx + 1;
|
||||
transactions.push(
|
||||
db.invoicepartner.create({
|
||||
data: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue