fix: '==' by '='
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2022-10-04 15:04:27 +02:00
parent f3df373f70
commit 994cf7ccf0
1 changed files with 1 additions and 2 deletions

View File

@ -41,7 +41,6 @@ module.exports = Self => {
Self.globalInvoicing = async(ctx, options) => {
const args = ctx.args;
let tx;
const myOptions = {};
@ -79,7 +78,7 @@ module.exports = Self => {
const minShipped = new Date();
minShipped.setFullYear(minShipped.getFullYear() - 1);
if (args.fromClientId = args.toClientId) {
if (args.fromClientId == args.toClientId) {
minShipped.setFullYear(2021);
minShipped.setMonth(1);
minShipped.setDate(1);