Subversion Repositories SmartDukaan

Rev

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

Rev 7077 Rev 7081
Line 120... Line 120...
120
                logger.error("Order Id is null or empty");
120
                logger.error("Order Id is null or empty");
121
                return "index";
121
                return "index";
122
            }
122
            }
123
            TransactionClient transactionServiceClient = new TransactionClient();
123
            TransactionClient transactionServiceClient = new TransactionClient();
124
            TransactionService.Client orderClient = transactionServiceClient.getClient();
124
            TransactionService.Client orderClient = transactionServiceClient.getClient();
125
            buffer = orderClient.retrieveInvoice(Long.parseLong(orderId));
125
            buffer = orderClient.retrieveInvoice(Long.parseLong(orderId), userinfo.getUserId());
126
            if(!buffer.hasArray()) {
126
            if(!buffer.hasArray()) {
127
                logger.error("The invoice does not found");
127
                logger.error("The invoice does not found");
128
            }
128
            }
129
        } catch (Exception e) {
129
        } catch (Exception e) {
130
            System.out.println(e.getMessage());
130
            System.out.println(e.getMessage());