accountingType.isAutoConciliated == true #639
|
@ -93,7 +93,7 @@ module.exports = function(Self) {
|
||||||
clientOriginal.accountingAccount
|
clientOriginal.accountingAccount
|
||||||
],
|
],
|
||||||
options);
|
options);
|
||||||
} else {
|
} else if (accountingType.isAutoConciliated == true) {
|
||||||
const description = `${clientOriginal.id} : ${clientOriginal.socialName} - ${accountingType.receiptDescription}`;
|
const description = `${clientOriginal.id} : ${clientOriginal.socialName} - ${accountingType.receiptDescription}`;
|
||||||
const [xdiarioNew] = await Self.rawSql(
|
const [xdiarioNew] = await Self.rawSql(
|
||||||
`SELECT xdiario_new(?, CURDATE(), ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ledger;`,
|
`SELECT xdiario_new(?, CURDATE(), ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ledger;`,
|
||||||
|
|
Loading…
Reference in New Issue