ellisran 4 dienas atpakaļ
vecāks
revīzija
c986852078
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      app/controller/cost_controller.js

+ 1 - 0
app/controller/cost_controller.js

@@ -1025,6 +1025,7 @@ module.exports = app => {
 
         async gather(ctx) {
             try {
+                await this.checkDutyRela(ctx);
                 const ledgerStages = await this.getTypeStages(ctx, 'ledger', 'ASC');
                 const renderData = {
                     ledgerStages,