feat(abschluss): interne Notiz nach den Unterschriften abfragen
- Nach "Abschliessen" oeffnet sich ein Blatt "Interne Notiz" (optional, max. 2000 Zeichen). Ohne Eingabe genuegt ein Tipp auf "Ohne Notiz abschliessen"; "Zurueck zur Unterschrift" bricht nur das Abschliessen ab - Die Notiz reist im Abschluss-Aufruf mit (internalNote) und landet im Lieferbericht, nicht in den Kunden-Notizen - API-Client aus aktueller Backend-Spec neu generiert - Widget-Tests fuer das Blatt Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -203,6 +203,7 @@ class TourRepositoryImpl implements TourRepository {
|
||||
String? paymentMethodId,
|
||||
String? actorCarId,
|
||||
bool paymentCollected = false,
|
||||
String? internalNote,
|
||||
}) async {
|
||||
// multipart/form-data: zwei Signatur-PNGs + ein JSON-Feld mit den
|
||||
// Bestätigungen. Direkt über die Dio-Instanz, weil der dart-dio-Generator
|
||||
@ -215,6 +216,7 @@ class TourRepositoryImpl implements TourRepository {
|
||||
'paymentCollected': paymentCollected,
|
||||
if (paymentMethodId != null) 'paymentMethodId': paymentMethodId,
|
||||
if (actorCarId != null) 'authorCarId': actorCarId,
|
||||
if (internalNote != null) 'internalNote': internalNote,
|
||||
};
|
||||
final form = FormData.fromMap({
|
||||
'customer_signature': MultipartFile.fromBytes(
|
||||
|
||||
Reference in New Issue
Block a user