ubk.erp.webpack 1.2.8 → 1.2.9

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 CHANGED
@@ -231,6 +231,21 @@ const FrontOfficePage = ({ token }) => {
231
231
  };
232
232
  ```
233
233
 
234
+ ### Using the Homework Module
235
+
236
+ ```jsx
237
+ import { AddHomework, SubmissionDetails } from "ubk.erp.webpack";
238
+
239
+ const HomeworkPage = ({ token }) => {
240
+ return (
241
+ <>
242
+ <AddHomework token={token} />
243
+ <SubmissionDetails token={token} />
244
+ </>
245
+ );
246
+ };
247
+ ```
248
+
234
249
  ## 🧩 Available Components
235
250
 
236
251
  ### Core
@@ -253,6 +268,12 @@ const FrontOfficePage = ({ token }) => {
253
268
  | `SetupFrontOffice` | Front office setup/master data (Purpose, Complaint Type, Source, Reference). |
254
269
  | `GatePass` | Student gate pass list with print support and today's gate pass summary. |
255
270
 
271
+ ### Homework
272
+
273
+ | Component | Description |
274
+ | :--- | :--- |
275
+ | `AddHomework` | Create and manage homework assignments with class, section, subject, dates, description, and attachments. |
276
+ | `SubmissionDetails` | View homework submission details with student-wise submission status and document preview. |
256
277
 
257
278
  ### Academics
258
279
 
package/dist/Api/api.d.ts CHANGED
@@ -75,6 +75,9 @@ export const uploadRouteByCsvUrl: "api/branchapi/transport/uploadroutebyCSV";
75
75
  export const routeSampleTemplateUrl: "/sample_templates/route_upload.xlsx";
76
76
  export const classUrl: "api/branchapi/academy/classdropdownlist";
77
77
  export const sectionUrl: "api/branchapi/academy/sectionoftheClass";
78
+ export const classSubjectdropdownUrl: "api/branchapi/academy/classSubjectdropdown";
79
+ export const subjectUrl: "api/branchapi/academy/subjecttableList";
80
+ export const getSubjectsbyClassaslablevalue: "api/branchapi/academy/getSubjectsbyClassaslablevalue";
78
81
  export const routeStudentList: "api/branchapi/Transport/routeStudentList";
79
82
  export const getrouteDropdownUrl: "api/branchapi/Transport/getrouteDropdown";
80
83
  export const getvehicleListByRouteIdwithCount: "api/branchapi/transport/getvehicleListByRouteIdwithCount";
@@ -85,3 +88,7 @@ export const updateTransportRoutesStudent: "api/branchapi/Transport/updateTransp
85
88
  export const removeStudentTransport: "api/branchapi/transport/removeStudentTransport";
86
89
  export const assignTransportRoutesStudentBulkUrl: "api/branchapi/transport/assignTransportRoutesStudentBulk";
87
90
  export const assignStudentSampleTemplateUrl: "/sample_templates/student_transport_upload.xlsx";
91
+ export const homeworkListUrl: "api/branchapi/homeworks/gethomeworklistByClassSectionBranch";
92
+ export const homeworkAddUrl: "api/branchapi/homeworks/addHomework";
93
+ export const homeworkUpdateUrl: "api/student/Homework/updateHomework";
94
+ export const homeworkDeleteUrl: "api/student/Homework/deleteHomework";
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default AddHomework;
3
+ declare function AddHomework({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default AddHomework;
3
+ declare function AddHomework({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default HomeWorkEdit;
3
+ declare function HomeWorkEdit({ data }: {
4
+ data: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default SubmissionDetails;
3
+ declare function SubmissionDetails({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;