fix(back-end): email fix
All checks were successful
Build, Test and Deploy / test-backend (push) Successful in 34s
Build, Test and Deploy / build-and-push (push) Successful in 40s
Build, Test and Deploy / deploy (push) Successful in 8s

This commit is contained in:
2026-02-24 10:47:13 +01:00
parent 57f6301e03
commit 6463fac211
2 changed files with 9 additions and 1 deletions

View File

@@ -81,6 +81,14 @@ public class OrderService {
customer.setPhone(request.getCustomer().getPhone()); customer.setPhone(request.getCustomer().getPhone());
customer.setCustomerType(request.getCustomer().getCustomerType()); customer.setCustomerType(request.getCustomer().getCustomerType());
if (request.getBillingAddress() != null) {
customer.setFirstName(request.getBillingAddress().getFirstName());
customer.setLastName(request.getBillingAddress().getLastName());
customer.setCompanyName(request.getBillingAddress().getCompanyName());
customer.setContactPerson(request.getBillingAddress().getContactPerson());
}
customer.setUpdatedAt(OffsetDateTime.now()); customer.setUpdatedAt(OffsetDateTime.now());
customerRepo.save(customer); customerRepo.save(customer);

View File

@@ -274,7 +274,7 @@
"METHOD_TWINT": "TWINT", "METHOD_TWINT": "TWINT",
"METHOD_BANK": "Fattura QR / Bonifico", "METHOD_BANK": "Fattura QR / Bonifico",
"STATUS_REPORTED_TITLE": "Ordine in lavorazione", "STATUS_REPORTED_TITLE": "Ordine in lavorazione",
"STATUS_REPORTED_DESC": "Abbiamo registrato la tua operazione. L'ordine entrerà a breve in produzione.", "STATUS_REPORTED_DESC": "Abbiamo registrato la tua operazione. Appena confermiamo il pagamento l'ordine entrà in produzione",
"IN_VERIFICATION": "Pagamento Segnalato" "IN_VERIFICATION": "Pagamento Segnalato"
}, },
"TRACKING": { "TRACKING": {