ubk.erp.webpack 1.1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +91 -29
- package/dist/index.cjs +12 -12
- package/dist/index.d.ts +60 -0
- package/dist/index.js +9250 -5706
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -120,6 +120,16 @@ This library exports React components. If you want URL pages like:
|
|
|
120
120
|
|
|
121
121
|
`/HumanResourceDashboard/PayrollReceiptDetails?id=1`
|
|
122
122
|
|
|
123
|
+
```jsx
|
|
124
|
+
export default function Page({ token }) {
|
|
125
|
+
return <Payroll
|
|
126
|
+
token={token}
|
|
127
|
+
onOpenReceiptDetails={(staffId) => navigate(`/HumanResourceDashboard/PayrollReceiptDetails?id=${staffId}`)}
|
|
128
|
+
/>;
|
|
129
|
+
}
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
|
|
123
133
|
your app must define a route for that path (React Router example):
|
|
124
134
|
|
|
125
135
|
```jsx
|
|
@@ -133,11 +143,17 @@ export default function AppRoutes({ token }) {
|
|
|
133
143
|
path="/HumanResourceDashboard/PayrollReceiptDetails"
|
|
134
144
|
element={<PayrollReceiptDetails token={token} />}
|
|
135
145
|
/>
|
|
146
|
+
<Route
|
|
147
|
+
path="/AcademicsDashboard/TimeTable"
|
|
148
|
+
element={<TimeTable token={token} />}
|
|
149
|
+
/>
|
|
136
150
|
</Routes>
|
|
137
151
|
);
|
|
138
152
|
}
|
|
139
153
|
```
|
|
140
154
|
|
|
155
|
+
|
|
156
|
+
|
|
141
157
|
### Using the Transport Module
|
|
142
158
|
|
|
143
159
|
```jsx
|
|
@@ -150,11 +166,42 @@ const TransportPage = () => {
|
|
|
150
166
|
|
|
151
167
|
## 🧩 Available Components
|
|
152
168
|
|
|
169
|
+
### Core
|
|
170
|
+
|
|
153
171
|
| Component | Description |
|
|
154
172
|
| :--- | :--- |
|
|
155
173
|
| `ErpDashboard` | Main dashboard overview. |
|
|
156
174
|
| `MenuSubmenu` | Dynamic menu and navigation component. |
|
|
157
|
-
|
|
175
|
+
|
|
176
|
+
### Front Office
|
|
177
|
+
|
|
178
|
+
| Component | Description |
|
|
179
|
+
| :--- | :--- |
|
|
180
|
+
| `AdmissionEnquiry` | Admission enquiry management. |
|
|
181
|
+
|
|
182
|
+
### Academics
|
|
183
|
+
|
|
184
|
+
| Component | Description |
|
|
185
|
+
| :--- | :--- |
|
|
186
|
+
| `Class` | Class master. |
|
|
187
|
+
| `Sections` | Section master. |
|
|
188
|
+
| `Subjects` | Subject master. |
|
|
189
|
+
| `Holidays` | Holiday master. |
|
|
190
|
+
| `AssignSubjects` | Assign subjects to class. |
|
|
191
|
+
| `AssignByClass` | Assign class/subjects to teacher. |
|
|
192
|
+
| `CreateTimeGroup` | Create time group. |
|
|
193
|
+
| `AssignTimeGroup` | Assign time group. |
|
|
194
|
+
| `PromoteStudents` | Promote students (selected students, Continue/Leave). |
|
|
195
|
+
| `CoScholasticArea` | Co-scholastic skills + category management. |
|
|
196
|
+
| `Notes` | Notes list + upload. |
|
|
197
|
+
| `Syllabus` | Syllabus list + upload. |
|
|
198
|
+
| `TransferCertificate` | Transfer certificate list + create. |
|
|
199
|
+
| `TimeTable` | Create / Routine / Teacher-wise timetable. |
|
|
200
|
+
|
|
201
|
+
### Transport
|
|
202
|
+
|
|
203
|
+
| Component | Description |
|
|
204
|
+
| :--- | :--- |
|
|
158
205
|
| `TransportRoutes` | Manage transport routes and pricing. |
|
|
159
206
|
| `TransportVehicles` | Vehicle fleet management. |
|
|
160
207
|
| `AssignVehicles` | Assign vehicles to specific routes. |
|
|
@@ -162,34 +209,49 @@ const TransportPage = () => {
|
|
|
162
209
|
| `RouteTimeTable` | Schedule management for transport routes. |
|
|
163
210
|
| `AssignStudentToTransport` | Assign students to transport routes. |
|
|
164
211
|
| `Stoppage` | Manage route stops and timings. |
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
|
169
|
-
|
|
|
170
|
-
| `
|
|
171
|
-
| `
|
|
172
|
-
| `
|
|
173
|
-
| `
|
|
174
|
-
| `
|
|
175
|
-
| `
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
|
180
|
-
|
|
|
181
|
-
| `
|
|
182
|
-
| `
|
|
183
|
-
| `
|
|
184
|
-
| `
|
|
185
|
-
| `
|
|
186
|
-
| `
|
|
187
|
-
| `
|
|
188
|
-
| `
|
|
189
|
-
| `
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
212
|
+
|
|
213
|
+
### Library
|
|
214
|
+
|
|
215
|
+
| Component | Description |
|
|
216
|
+
| :--- | :--- |
|
|
217
|
+
| `AddBook` | Add books. |
|
|
218
|
+
| `BookList` | Book list + barcode printing. |
|
|
219
|
+
| `IssueReturn` | Issue/return books. |
|
|
220
|
+
| `LibraryAssignStudent` | Assign/remove student membership. |
|
|
221
|
+
| `LibraryCategory` | Manage book categories. |
|
|
222
|
+
| `LibraryReport` | Monthly report. |
|
|
223
|
+
|
|
224
|
+
### Store
|
|
225
|
+
|
|
226
|
+
| Component | Description |
|
|
227
|
+
| :--- | :--- |
|
|
228
|
+
| `Vendor` | Manage vendors. |
|
|
229
|
+
| `Products` | Manage products. |
|
|
230
|
+
| `Category` | Manage categories. |
|
|
231
|
+
| `SubCategory` | Manage sub-categories. |
|
|
232
|
+
| `BuySellProduct` | Buy/sell products workflow. |
|
|
233
|
+
| `Unit` | Manage units. |
|
|
234
|
+
| `SellReports` | Sell reports. |
|
|
235
|
+
| `ManageStock` | Stock management. |
|
|
236
|
+
| `StockReport` | Stock report. |
|
|
237
|
+
|
|
238
|
+
### Human Resource
|
|
239
|
+
|
|
240
|
+
| Component | Description |
|
|
241
|
+
| :--- | :--- |
|
|
242
|
+
| `AddStaff` | Add staff wizard. |
|
|
243
|
+
| `StaffDirectory` | Staff list + search. |
|
|
244
|
+
| `StaffAttendance` | Mark staff attendance. |
|
|
245
|
+
| `StaffAttendanceReport` | Monthly attendance report. |
|
|
246
|
+
| `Payroll` | Payroll list by role/month/year. |
|
|
247
|
+
| `AprroveLeaveRequest` | Approve/decline leave requests. |
|
|
248
|
+
| `ApplyLeave` | Apply for leave + requests table. |
|
|
249
|
+
| `LeaveType` | Leave type master. |
|
|
250
|
+
| `Department` | Department master. |
|
|
251
|
+
| `Designation` | Designation master. |
|
|
252
|
+
| `Shift` | Shift master. |
|
|
253
|
+
| `StaffDailyAttendance` | Daily attendance report + print. |
|
|
254
|
+
| `PayrollReceiptDetails` | Payroll receipt details (page/component). |
|
|
193
255
|
|
|
194
256
|
|
|
195
257
|
## 🛠️ Development
|