| 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());
|