diff --git a/lib/screens/sales_screen.dart b/lib/screens/sales_screen.dart index a2b6230..6c90720 100644 --- a/lib/screens/sales_screen.dart +++ b/lib/screens/sales_screen.dart @@ -96,40 +96,3 @@ class SalesScreen extends StatelessWidget { ); } - void _showSaveDialog(BuildContext context) { - showDialog( - context: context, - builder: (ctx) => AlertDialog( - title: const Text('売上確定'), - content: SingleChildScrollView( - child: Column( - mainAxisSize: MainAxisSize.min, - children: [ - Text('売上データを保存しますか?'), - ], - ), - ), - actions: [ - TextButton( - onPressed: () => Navigator.pop(ctx), - child: const Text('キャンセル'), - ), - ElevatedButton( - onPressed: () { - Navigator.pop(ctx); - ScaffoldMessenger.of(context).showSnackBar( - const SnackBar(content: Text('売上保存しました')), - ); - }, - style: ElevatedButton.styleFrom(backgroundColor: Colors.green), - child: const Text('確定'), - ), - ], - ), - ); - } - - void _showCustomerPicker(BuildContext context) { - // TODO: CustomerPickerModal を再利用して実装 - } -} \ No newline at end of file