- Added a floating action button to the Layout widget for better accessibility. - Updated the left bar navigation items for clarity and consistency. - Introduced Daily Progress Report and Daily Task Planning screens with comprehensive UI. - Implemented filtering and refreshing functionalities in task planning. - Improved user experience with better spacing and layout adjustments. - Updated pubspec.yaml to include new dependencies for image handling and path management.
26 lines
1.2 KiB
Dart
26 lines
1.2 KiB
Dart
class ApiEndpoints {
|
|
static const String baseUrl = "https://stageapi.marcoaiot.com/api";
|
|
|
|
// Attendance Screen API Endpoints
|
|
static const String getProjects = "/project/list";
|
|
static const String getEmployeesByProject = "/attendance/project/team";
|
|
static const String getAttendanceLogs = "/attendance/project/log";
|
|
static const String getAttendanceLogView = "/attendance/log/attendance";
|
|
static const String getRegularizationLogs = "/attendance/regularize";
|
|
static const String uploadAttendanceImage = "/attendance/record-image";
|
|
|
|
// Employee Screen API Endpoints
|
|
static const String getAllEmployeesByProject = "/Project/employees/get";
|
|
static const String getAllEmployees = "/employee/list";
|
|
static const String getRoles = "/roles/jobrole";
|
|
static const String createEmployee = "/employee/manage";
|
|
static const String getEmployeeInfo = "/employee/profile/get";
|
|
|
|
// Daily Task Screen API Endpoints
|
|
static const String getDailyTask = "/task/list";
|
|
static const String reportTask = "/task/report";
|
|
static const String commentTask = "/task/comment";
|
|
static const String dailyTaskDetails = "/project/details";
|
|
static const String assignDailyTask = "/task/assign";
|
|
}
|