Refactor completion of documents routing and UI components

- Removed unused mobile route for completion of documents.
- Updated app routes to reflect the removal of the mobile route.
- Enhanced the desktop and mobile pages for completion of documents with improved layout and added TabletDesktopAppbar.
- Introduced meeting time handling in TenderDetailActions, integrating new bottom sheet and dialog components for better user interaction.
- Added meeting time state management in TenderDetailViewModel.
- Cleaned up deprecated files related to meeting time selection.
This commit is contained in:
amirrezaghabeli
2025-10-13 14:51:39 +03:30
parent be6b0bbe98
commit 919b9fb2ed
14 changed files with 448 additions and 282 deletions
@@ -28,6 +28,7 @@ class TenderDetailViewModel with ChangeNotifier {
TenderApprovalsData? _tenderApprovalData;
bool approvalStatus = false;
String _status = '';
String _meetingTime = '';
bool get isLoading => _isLoading;
bool get isSubmitApprovalLoading => _isSubmitApprovalLoading;
@@ -36,6 +37,12 @@ class TenderDetailViewModel with ChangeNotifier {
TenderData? get tenderDetail => _tenderDetail;
TenderApprovalsData? get tenderApprovalData => _tenderApprovalData;
String get status => _status;
String get meetingTime => _meetingTime;
set meetingTime(String value) {
_meetingTime = value;
notifyListeners();
}
Future<void> getTenderDetail({required String id}) async {
_isLoading = true;