Subversion Repositories SmartDukaan

Rev

Rev 4142 | Rev 4490 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4142 Rev 4267
Line 63... Line 63...
63
    private long                customerActivityCount;
63
    private long                customerActivityCount;
64
    private long                pendingCodVerificationCount;
64
    private long                pendingCodVerificationCount;
65
    private long                agentUnreadActivityCount;
65
    private long                agentUnreadActivityCount;
66
    private long                openFailedPaymentsTicketCount;
66
    private long                openFailedPaymentsTicketCount;
67
    private long                openDelayedDeliveryTicketCount;
67
    private long                openDelayedDeliveryTicketCount;
-
 
68
    private long                openFlaggedPaymentsTicketCount;
68
 
69
 
69
    @Action("/")
70
    @Action("/")
70
    public String index() throws Exception {
71
    public String index() throws Exception {
71
        String returnValue = INPUT;
72
        String returnValue = INPUT;
72
 
73
 
Line 207... Line 208...
207
            searchFilter.getTicketStatuses().add(TicketStatus.REOPEN);
208
            searchFilter.getTicketStatuses().add(TicketStatus.REOPEN);
208
            searchFilter.setTicketCategory(TicketCategory.DELAYED_DELIVERY);
209
            searchFilter.setTicketCategory(TicketCategory.DELAYED_DELIVERY);
209
            crmServiceClient = new CRMClient().getClient();
210
            crmServiceClient = new CRMClient().getClient();
210
            openDelayedDeliveryTicketCount = crmServiceClient.getTickets(searchFilter).size();
211
            openDelayedDeliveryTicketCount = crmServiceClient.getTickets(searchFilter).size();
211
        }
212
        }
-
 
213
        
-
 
214
        if (canViewFlaggedPayments()) {
-
 
215
            searchFilter = new SearchFilter();
-
 
216
            searchFilter.setTicketStatuses(new ArrayList<TicketStatus>());
-
 
217
            searchFilter.getTicketStatuses().add(TicketStatus.OPEN);
-
 
218
            searchFilter.getTicketStatuses().add(TicketStatus.REOPEN);
-
 
219
            searchFilter.setTicketCategory(TicketCategory.PAYMENT_FLAGGED);
-
 
220
            crmServiceClient = new CRMClient().getClient();
-
 
221
            openFlaggedPaymentsTicketCount = crmServiceClient.getTickets(searchFilter).size();
-
 
222
        }
212
    }
223
    }
213
 
224
 
214
    private void loadUserCommunicationDetails()
225
    private void loadUserCommunicationDetails()
215
            throws UserCommunicationException, TException {
226
            throws UserCommunicationException, TException {
216
        userContextServiceClient = new UserClient().getClient();
227
        userContextServiceClient = new UserClient().getClient();
Line 433... Line 444...
433
 
444
 
434
    public void setOpenDelayedDeliveryTicketCount(
445
    public void setOpenDelayedDeliveryTicketCount(
435
            long openDelayedDeliveryTicketCount) {
446
            long openDelayedDeliveryTicketCount) {
436
        this.openDelayedDeliveryTicketCount = openDelayedDeliveryTicketCount;
447
        this.openDelayedDeliveryTicketCount = openDelayedDeliveryTicketCount;
437
    }
448
    }
-
 
449
 
-
 
450
    public long getOpenFlaggedPaymentsTicketCount() {
-
 
451
        return openFlaggedPaymentsTicketCount;
-
 
452
    }
-
 
453
 
-
 
454
    public void setOpenFlaggedPaymentsTicketCount(
-
 
455
            long openFlaggedPaymentsTicketCount) {
-
 
456
        this.openFlaggedPaymentsTicketCount = openFlaggedPaymentsTicketCount;
-
 
457
    }
438
}
458
}
439
459