accountingType.isAutoConciliated == true
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Javi Gallego 2021-06-07 07:57:46 +02:00
parent 2c0fc7e45e
commit c90fa41fae
1 changed files with 1 additions and 1 deletions

View File

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