Rechnungen

- Artikelsuche
- optional weg
- Einheit weg
- Einzelpreis wird nicht geholt
- einzelpreis andere preistypen irgendwie anzeigen
- ust weg
- -1 menge erlauben
- kleiner Speicher bug
- mit Rechnungsadresse LS geht nicht übernehmen
- pdf herunterladen Status ändern
- per Mail verschicken ohne eingetragene Mail geht ned
This commit is contained in:
Luca Haid
2026-01-20 15:57:50 +01:00
parent 7059de3202
commit 7974371d3f
4 changed files with 83 additions and 35 deletions

View File

@@ -131,7 +131,10 @@ class WarehouseShippingNoteController extends TTCrud {
// Get billing address info
$billingAddress = null;
if ($shippingNote->billingAddressId) {
$billingAddress = Address::getOne($shippingNote->billingAddressId);
$billingAddress = new Address($shippingNote->billingAddressId);
if (!$billingAddress->id) {
$billingAddress = null;
}
}
// Determine price type ONCE (not in loop for performance)