diff --git a/client/src/js/services/CashService.js b/client/src/js/services/CashService.js index f971dad858..2c9b6e9549 100644 --- a/client/src/js/services/CashService.js +++ b/client/src/js/services/CashService.js @@ -83,7 +83,8 @@ function CashService(Modal, Api, Exchange, Session, moment, $translate) { return invoice.reference; }); - var referencesString = invoicesReferences.join(', '); + // this must be semicolons, otherwise the CSV file breaks. + var referencesString = invoicesReferences.join('; '); var tmpl = isCaution ? 'CASH.PREPAYMENT_DESCRIPTION' : 'CASH.PAYMENT_DESCRIPTION';