Seleziona l'ordine GAS e compare sulla email
This commit is contained in:
@@ -178,6 +178,11 @@ module.exports.findAllIdApp = async function (idapp) {
|
||||
as: 'gasordine'
|
||||
}
|
||||
},
|
||||
{
|
||||
$match: {
|
||||
'gasordine.active': true
|
||||
}
|
||||
},
|
||||
{
|
||||
$lookup: {
|
||||
from: 'scontisticas',
|
||||
@@ -369,6 +374,11 @@ module.exports.getTotalOrderById = async function (id) {
|
||||
as: 'gasordine'
|
||||
}
|
||||
},
|
||||
{
|
||||
$match: {
|
||||
'gasordine.active': true
|
||||
}
|
||||
},
|
||||
{
|
||||
$lookup: {
|
||||
from: 'scontisticas',
|
||||
|
||||
Reference in New Issue
Block a user