version 4.8.17 -- カレンダーで今日以降しか選べないようにした

This commit is contained in:
2024-08-10 09:11:29 +09:00
parent bdf6dd3c04
commit f9a2bae9a9
7 changed files with 25 additions and 21 deletions

View File

@ -363,7 +363,7 @@ class CameraPage extends StatelessWidget {
],
);
} else if (destinationController.isInRog.value &&
} else if ((destinationController.isInRog.value || (destination.buy_point != null && destination.buy_point! > 0)) &&
dbDest?.checkedin != null &&
destination.cp != -1 &&
dbDest?.checkedin == true) {
@ -403,7 +403,7 @@ class CameraPage extends StatelessWidget {
],
);
} else if (destinationController.isInRog.value &&
} else if ((destinationController.isInRog.value || (destination.buy_point != null && destination.buy_point! > 0)) &&
dbDest?.checkedin != null &&
destination.cp != -1 &&
destination.use_qr_code == true &&
@ -507,7 +507,7 @@ class CameraPage extends StatelessWidget {
//}else if(destination.use_qr_code){
// return QRCodeScannerPage(destination: destination);
} else if (destinationController.isInRog.value) {
} else if (destinationController.isInRog.value || (destination.buy_point != null && destination.buy_point! > 0)) {
// isInRogがtrueの場合は、カメラページのUIを構築します。
// AppBarには、目的地の情報を表示します。
// ボディには、目的地の画像、タグ、アクションボタンを表示します。