prosapp_web_app has chat, dashboard, calendar, support, 13 providers and Fluro URL routing. Keep Dockerfile + nginx.conf from previous prosappweb. Upgrade google_fonts 6.2.1 → 8.1.0 (Dart 3.12 compat fix). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
334 B
Dart
20 lines
334 B
Dart
export 'service_status.dart';
|
|
|
|
enum ServiceStatus {
|
|
pending, // 0
|
|
acepted, // 1
|
|
denied, // 2
|
|
active, // 3
|
|
cancelled, // 4
|
|
completed, // 5
|
|
selfBooked // 6
|
|
}
|
|
|
|
int enumToIntService(ServiceStatus state) {
|
|
return state.index;
|
|
}
|
|
|
|
ServiceStatus intToEnumService(int value) {
|
|
return ServiceStatus.values[value];
|
|
}
|