Subversion Repositories SmartDukaan

Rev

Rev 37351 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37351 Rev 37401
Line 927... Line 927...
927
        sdCreditService.resetHardLimit();
927
        sdCreditService.resetHardLimit();
928
    }
928
    }
929
 
929
 
930
    public void testInvoiceFormat() throws ProfitMandiBusinessException {
930
    public void testInvoiceFormat() throws ProfitMandiBusinessException {
931
        InvoicePdfModel invoicePdfModel = orderService.getInvoicePdfModel(560280);
931
        InvoicePdfModel invoicePdfModel = orderService.getInvoicePdfModel(560280);
932
        //System.out.println(InvoiceFormatter.buildInvoiceLines(invoicePdfModel, InvoiceFormatter.WIDTH_80MM));
-
 
933
    }
932
    }
934
 
933
 
935
    public void sendTrialExpiry() {
934
    public void sendTrialExpiry() {
936
        List<FofoStore> stores = fofoStoreRepository.selectAllTrial();
935
        List<FofoStore> stores = fofoStoreRepository.selectAllTrial();
937
        List<FofoStore> twoDaysToExpiry = stores.stream().filter(x -> x.getTrialEnd().minusDays(2).equals(LocalDate.now())).collect(Collectors.toList());
936
        List<FofoStore> twoDaysToExpiry = stores.stream().filter(x -> x.getTrialEnd().minusDays(2).equals(LocalDate.now())).collect(Collectors.toList());