Merge pull request 'accountingType.isAutoConciliated == true' (#639) from 2944-createReceipt into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #639 Reviewed-by: Joan Sanchez <joan@verdnatura.es>
This commit is contained in:
commit
3f74b52049
|
@ -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;`,
|
||||
|
|
Loading…
Reference in New Issue