You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: feature/autopay/README.md
+32-2Lines changed: 32 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ The AutoPay feature module provides functionality for setting up and managing au
9
9
- Manage automatic payment preferences
10
10
- View payment history and status
11
11
- Enable/disable automatic payments
12
+
- Quick access from Send Money Options screen
13
+
- Integration with Home screen for easy access
12
14
13
15
## Screenshots
14
16
### Android
@@ -30,14 +32,31 @@ feature/autopay/
30
32
│ │ │ │ └── AutoPayModule.kt
31
33
│ │ │ ├── AutoPayScreen.kt
32
34
│ │ │ ├── AutoPayNavigation.kt
33
-
│ │ │ └── AutoPayViewModel.kt
35
+
│ │ │ ├── AutoPayViewModel.kt
36
+
│ │ │ ├── AutoPaySetupScreen.kt
37
+
│ │ │ ├── AutoPayRulesScreen.kt
38
+
│ │ │ ├── AutoPayPreferencesScreen.kt
39
+
│ │ │ └── AutoPayHistoryScreen.kt
34
40
│ │ └── composeResources/
35
41
│ └── androidMain/
36
42
│ └── kotlin/org/mifospay/feature/autopay/
37
43
├── build.gradle.kts
38
44
└── README.md
39
45
```
40
46
47
+
## Integration Points
48
+
49
+
### Send Money Options Integration
50
+
- AutoPay button added to SendMoneyOptionsScreen
51
+
- Uses `MifosIcons.CalenderMonth` icon for recurring payment context
52
+
- Positioned below the main payment options row
53
+
- Navigates to AutoPay dashboard when clicked
54
+
55
+
### Home Screen Integration
56
+
- AutoPay button available on the main home screen
57
+
- Uses `MifosIcons.Payment` icon for general payment context
58
+
- Provides quick access to AutoPay functionality
59
+
41
60
## Dependencies
42
61
- Compose UI components
43
62
- Material3 design system
@@ -47,5 +66,16 @@ feature/autopay/
47
66
## Usage
48
67
This module is designed to be integrated into the main application through dependency injection. The AutoPayModule provides the necessary dependencies for the AutoPay feature.
49
68
69
+
### Navigation
70
+
The AutoPay feature can be accessed from:
71
+
1.**Home Screen**: Direct access via AutoPay button
72
+
2.**Send Money Options**: Via AutoPay button in the payment options grid
73
+
74
+
### Key Files
75
+
-`AutoPayScreen.kt`: Main AutoPay dashboard screen
76
+
-`AutoPayNavigation.kt`: Navigation routes and functions
77
+
-`AutoPayViewModel.kt`: Business logic and state management
0 commit comments