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 committed by joan
parent f6c4ef8150
commit c7e2e3c703
1 changed files with 1 additions and 1 deletions

View File

@ -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;`,