ubk.erp.webpack 1.1.3 → 1.1.5
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 +86 -3
- package/dist/index.cjs +14 -12
- package/dist/index.d.ts +62 -0
- package/dist/index.js +10197 -7773
- package/package.json +10 -6
package/README.md
CHANGED
|
@@ -68,9 +68,9 @@ If you prefer using environment variables, the library also supports:
|
|
|
68
68
|
|
|
69
69
|
```env
|
|
70
70
|
# Provide a full URL for asset/API base; if omitted the default
|
|
71
|
-
# fallback `
|
|
72
|
-
VITE_ASSET_BASE_URL=
|
|
73
|
-
REACT_APP_API_URL=
|
|
71
|
+
# fallback `yourbase_url` will be used.
|
|
72
|
+
VITE_ASSET_BASE_URL=yourbase_url
|
|
73
|
+
REACT_APP_API_URL=yourbase_url
|
|
74
74
|
|
|
75
75
|
# API Endpoints
|
|
76
76
|
VITE_MENU_URL=api/sdk/Menus
|
|
@@ -164,6 +164,64 @@ const TransportPage = () => {
|
|
|
164
164
|
};
|
|
165
165
|
```
|
|
166
166
|
|
|
167
|
+
### Using the AttendanceDashboard Module
|
|
168
|
+
|
|
169
|
+
```jsx
|
|
170
|
+
import {
|
|
171
|
+
AttendanceDashboard,
|
|
172
|
+
StudentAttendance,
|
|
173
|
+
DailyAttendance,
|
|
174
|
+
MonthlyReport,
|
|
175
|
+
YearlyReport,
|
|
176
|
+
} from "ubk.erp.webpack";
|
|
177
|
+
|
|
178
|
+
const AttendancePage = ({ token }) => {
|
|
179
|
+
return (
|
|
180
|
+
<>
|
|
181
|
+
<AttendanceDashboard token={token} />
|
|
182
|
+
<StudentAttendance token={token} />
|
|
183
|
+
<DailyAttendance token={token} />
|
|
184
|
+
<MonthlyReport token={token} />
|
|
185
|
+
<YearlyReport token={token} />
|
|
186
|
+
</>
|
|
187
|
+
);
|
|
188
|
+
};
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### Using the GeneralSetting Module
|
|
192
|
+
|
|
193
|
+
```jsx
|
|
194
|
+
import {
|
|
195
|
+
Organization,
|
|
196
|
+
AcademicYear,
|
|
197
|
+
FeeReceiptSetting,
|
|
198
|
+
MarksheetSetting,
|
|
199
|
+
Terms,
|
|
200
|
+
Privacy,
|
|
201
|
+
About,
|
|
202
|
+
FeesInfo,
|
|
203
|
+
PayrollSettings,
|
|
204
|
+
PaymentGateway,
|
|
205
|
+
} from "ubk.erp.webpack";
|
|
206
|
+
|
|
207
|
+
const GeneralSettingPage = ({ token }) => {
|
|
208
|
+
return (
|
|
209
|
+
<>
|
|
210
|
+
<Organization token={token} />
|
|
211
|
+
<AcademicYear token={token} />
|
|
212
|
+
<FeeReceiptSetting token={token} />
|
|
213
|
+
<MarksheetSetting token={token} />
|
|
214
|
+
<Terms token={token} />
|
|
215
|
+
<Privacy token={token} />
|
|
216
|
+
<About token={token} />
|
|
217
|
+
<FeesInfo token={token} />
|
|
218
|
+
<PayrollSettings token={token} />
|
|
219
|
+
<PaymentGateway token={token} />
|
|
220
|
+
</>
|
|
221
|
+
);
|
|
222
|
+
};
|
|
223
|
+
```
|
|
224
|
+
|
|
167
225
|
## 🧩 Available Components
|
|
168
226
|
|
|
169
227
|
### Core
|
|
@@ -253,6 +311,31 @@ const TransportPage = () => {
|
|
|
253
311
|
| `StaffDailyAttendance` | Daily attendance report + print. |
|
|
254
312
|
| `PayrollReceiptDetails` | Payroll receipt details (page/component). |
|
|
255
313
|
|
|
314
|
+
### Attendance Dashboard
|
|
315
|
+
|
|
316
|
+
| Component | Description |
|
|
317
|
+
| :--- | :--- |
|
|
318
|
+
|
|
319
|
+
| `StudentAttendance` | Student attendance marking page with emergency leave support. |
|
|
320
|
+
| `DailyAttendance` | Daily student attendance enquiry with print/export actions. |
|
|
321
|
+
| `MonthlyReport` | Monthly class-wise student attendance matrix and drilldown. |
|
|
322
|
+
| `YearlyReport` | Yearly student attendance summary report. |
|
|
323
|
+
|
|
324
|
+
### General Setting
|
|
325
|
+
|
|
326
|
+
| Component | Description |
|
|
327
|
+
| :--- | :--- |
|
|
328
|
+
| `Organization` | Organization profile, logo, school settings, and contact configuration. |
|
|
329
|
+
| `AcademicYear` | Academic year/session management. |
|
|
330
|
+
| `FeeReceiptSetting` | Fee receipt configuration. |
|
|
331
|
+
| `MarksheetSetting` | Marksheet configuration and template settings. |
|
|
332
|
+
| `Terms` | Terms and conditions content management. |
|
|
333
|
+
| `Privacy` | Privacy policy content management. |
|
|
334
|
+
| `About` | About page content management. |
|
|
335
|
+
| `FeesInfo` | Fee receipt information, signatures, and branding settings. |
|
|
336
|
+
| `PayrollSettings` | Payroll-related configuration settings. |
|
|
337
|
+
| `PaymentGateway` | Payment gateway credentials and integration settings. |
|
|
338
|
+
|
|
256
339
|
|
|
257
340
|
## 🛠️ Development
|
|
258
341
|
|