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,
|
10,
|
||||||
invoicePartnerCreate.length
|
invoicePartnerCreate.length
|
||||||
);
|
);
|
||||||
|
console.log(documentno);
|
||||||
let idx = 0;
|
let idx = 0;
|
||||||
if (invoicePartnerCreate.length > 0)
|
if (invoicePartnerCreate.length > 0)
|
||||||
for (const inv of invoicePartnerCreate) {
|
for (const inv of invoicePartnerCreate) {
|
||||||
const docno = documentno[idx];
|
const docno = documentno[idx];
|
||||||
idx++;
|
console.log(docno);
|
||||||
|
idx = idx + 1;
|
||||||
transactions.push(
|
transactions.push(
|
||||||
db.invoicepartner.create({
|
db.invoicepartner.create({
|
||||||
data: {
|
data: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue