fix: Empfänger statt Besteller in Umlade-Dialogen und Filial-Abholung
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -74,13 +74,13 @@ class _DeliverySelectionPageState extends State<DeliverySelectionPage> {
|
||||
}
|
||||
|
||||
Future<void> _showReleaseDialog(Delivery delivery, TourDetails details) async {
|
||||
final customer = details.customerOf(delivery);
|
||||
final recipient = details.recipientOf(delivery);
|
||||
final result = await showDialog<bool>(
|
||||
context: context,
|
||||
builder: (ctx) => AlertDialog(
|
||||
title: const Text('Lieferung freigeben'),
|
||||
content: Text(
|
||||
'${customer?.name ?? 'Diese Lieferung'} wurde Ihrem Fahrzeug '
|
||||
'${recipient.name} wurde Ihrem Fahrzeug '
|
||||
'zugeordnet. Möchten Sie sie wieder freigeben?',
|
||||
),
|
||||
actions: [
|
||||
@ -106,7 +106,7 @@ class _DeliverySelectionPageState extends State<DeliverySelectionPage> {
|
||||
Delivery delivery,
|
||||
TourDetails details,
|
||||
) async {
|
||||
final customer = details.customerOf(delivery);
|
||||
final recipient = details.recipientOf(delivery);
|
||||
final foreignPlate = _plateFor(delivery.assignedCarId);
|
||||
final ownPlate = _plateFor(widget.selectedCarId);
|
||||
final theme = Theme.of(context);
|
||||
@ -120,7 +120,7 @@ class _DeliverySelectionPageState extends State<DeliverySelectionPage> {
|
||||
style: theme.textTheme.bodyMedium,
|
||||
children: [
|
||||
TextSpan(
|
||||
text: '${customer?.name ?? 'Diese Lieferung'} ist aktuell ',
|
||||
text: '${recipient.name} ist aktuell ',
|
||||
),
|
||||
TextSpan(
|
||||
text: foreignPlate,
|
||||
|
||||
Reference in New Issue
Block a user