Fehlerkorrekturen und Erweiterungen
This commit is contained in:
1 parent
777876bc8d
commit
1f3cc1e995
357 files changed
+50603
-572
No files matched your search
@@ -1,9 +1,9 @@
|
||||
import 'package:dart_mq/dart_mq.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:intl/intl.dart' show DateFormat;
|
||||
import 'package:isar/isar.dart';
|
||||
import 'package:stadtbote/content_views/tour_list_page.dart';
|
||||
import 'package:stadtbote/content_views/utils/content_view_widget.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
import 'package:stadtbote/messages/pop_content_view_message.dart';
|
||||
|
||||
import '../main.dart';
|
||||
@@ -57,8 +57,14 @@ class _AcceptedJobsPageState extends State<AcceptedJobsPage> with ProducerMixin
|
||||
|
||||
late List<Widget> jobWidgets = _createjobWidgets();
|
||||
|
||||
return ListView(
|
||||
children: jobWidgets
|
||||
return Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Scrollbar(
|
||||
thumbVisibility: true,
|
||||
child: ListView(
|
||||
children: jobWidgets
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -60,19 +60,16 @@ class _AssignedJobsPageState extends State<AssignedJobsPage> with ProducerMixin,
|
||||
return Util.getWaitWidget(context);
|
||||
}
|
||||
|
||||
var widgets = _createWidgets();
|
||||
var jobWidgets = _createWidgets();
|
||||
|
||||
return Container(
|
||||
height: 100,
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
color: Colors.white,
|
||||
border: Border.all(
|
||||
color: Colors.grey,
|
||||
width: 0.5,
|
||||
return Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Scrollbar(
|
||||
thumbVisibility: true,
|
||||
child: ListView(
|
||||
children: jobWidgets
|
||||
),
|
||||
),
|
||||
child: SingleChildScrollView(child: Column(children: widgets)),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -202,8 +199,6 @@ class _AssignedJobsPageState extends State<AssignedJobsPage> with ProducerMixin,
|
||||
|
||||
_jobs.removeWhere((databaseJob) => databaseJob.id == job.id);
|
||||
|
||||
print("test:" + _jobs.length.toString());
|
||||
|
||||
setState(() {});
|
||||
}),
|
||||
)
|
||||
|
||||
@@ -51,8 +51,14 @@ class _FinishedJobsPageState extends State<FinishedJobsPage> with ProducerMixin
|
||||
|
||||
late List<Widget> jobWidgets = _createjobWidgets();
|
||||
|
||||
return ListView(
|
||||
children: jobWidgets
|
||||
return Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Scrollbar(
|
||||
thumbVisibility: true,
|
||||
child: ListView(
|
||||
children: jobWidgets
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@ import 'package:stadtbote/popups/tasks_popups/arrived_popup.dart';
|
||||
import 'package:stadtbote/popups/tasks_popups/commision_number_popup.dart';
|
||||
import 'package:stadtbote/popups/tasks_popups/pickup_delivery_status_popup.dart';
|
||||
import 'package:stadtbote/popups/tasks_popups/receipt_giver_popup.dart';
|
||||
import 'package:stadtbote/popups/tasks_popups/scan_barcodes_popup.dart';
|
||||
import 'package:stadtbote/popups/tasks_popups/signature_popup.dart';
|
||||
import 'package:stadtbote/popups/tasks_popups/station_notice_popup.dart';
|
||||
import 'package:stadtbote/popups/tasks_popups/take_photos_popup.dart';
|
||||
@@ -231,7 +230,8 @@ class _TaskListPageState extends State<TaskListPage> with ProducerMixin {
|
||||
break;
|
||||
|
||||
case 5:
|
||||
_processScanBarcodes(taskInfo);
|
||||
// 26.02.2025 Nach Abstimmung mit Gunnar entfernt
|
||||
//_processScanBarcodes(taskInfo);
|
||||
break;
|
||||
|
||||
case 7:
|
||||
@@ -291,7 +291,7 @@ class _TaskListPageState extends State<TaskListPage> with ProducerMixin {
|
||||
});
|
||||
}
|
||||
|
||||
_processScanBarcodes(TaskInfo taskInfo) {
|
||||
/*_processScanBarcodes(TaskInfo taskInfo) {
|
||||
Util.logInfo('Task ${taskInfo.task.sId} called');
|
||||
|
||||
showScanBarcodesPopup(context, taskInfo, (List<String> barcodes) {
|
||||
@@ -309,7 +309,7 @@ class _TaskListPageState extends State<TaskListPage> with ProducerMixin {
|
||||
|
||||
_finishTaskProcessing(taskInfo);
|
||||
});
|
||||
}
|
||||
}*/
|
||||
|
||||
_processTakePhotos(TaskInfo taskInfo) {
|
||||
Util.logInfo('Task ${taskInfo.task.sId} called');
|
||||
|
||||
Reference in new issue
Block a user