mod add Verkauf

This commit is contained in:
atseirjo
2025-05-05 08:56:31 +02:00
parent 68355f1ed3
commit 2b69e2741d
11 changed files with 123 additions and 5 deletions

View File

@@ -112,21 +112,21 @@ class HomeController extends GetxController {
confirmTextColor: Colors.white,
cancelTextColor: Colors.red,
buttonColor: Colors.blue,
onCancel: () async {
// Handle cancel action
await _loadFromNotionKantine();
onCancel: () {
Get.back();
},
onConfirm: () {
onConfirm: () async {
// Handle adding the receipt
// Handle cancel action
await _loadFromNotionKantine();
print('Beleg Name: ${newBelegName.value}');
print('Beleg Datum: ${newBelegDate.value}');
print('Beleg Betrag: ${newBelegBetrag.value}');
Get.back();
_saveData();
},
);
update();
_saveData();
}
Map<String, dynamic> currentBodyItem(