ubk.erp.webpack 1.2.7 → 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
@@ -201,6 +201,51 @@ const GeneralSettingPage = ({ token }) => {
201
201
  };
202
202
  ```
203
203
 
204
+ ### Using the Front Office Module
205
+
206
+ ```jsx
207
+ import {
208
+ AdmissionEnquiry,
209
+ VisitorBook,
210
+ PhoneCallLog,
211
+ PostalDispatch,
212
+ PostalReceive,
213
+ Complain,
214
+ SetupFrontOffice,
215
+ GatePass,
216
+ } from "ubk.erp.webpack";
217
+
218
+ const FrontOfficePage = ({ token }) => {
219
+ return (
220
+ <>
221
+ <AdmissionEnquiry token={token} />
222
+ <VisitorBook token={token} />
223
+ <PhoneCallLog token={token} />
224
+ <PostalDispatch token={token} />
225
+ <PostalReceive token={token} />
226
+ <Complain token={token} />
227
+ <SetupFrontOffice token={token} />
228
+ <GatePass token={token} />
229
+ </>
230
+ );
231
+ };
232
+ ```
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
+
204
249
  ## 🧩 Available Components
205
250
 
206
251
  ### Core
@@ -215,6 +260,20 @@ const GeneralSettingPage = ({ token }) => {
215
260
  | Component | Description |
216
261
  | :--- | :--- |
217
262
  | `AdmissionEnquiry` | Admission enquiry management. |
263
+ | `VisitorBook` | Visitor entry tracking with purpose, contact, date, and image upload. |
264
+ | `PhoneCallLog` | Phone call log management with call type, follow-up date, and duration. |
265
+ | `PostalDispatch` | Postal dispatch management with reference, address, and document upload. |
266
+ | `PostalReceive` | Postal receive management with from/to title, reference, and document upload. |
267
+ | `Complain` | Complaint management with type, description, action taken, and assignment. |
268
+ | `SetupFrontOffice` | Front office setup/master data (Purpose, Complaint Type, Source, Reference). |
269
+ | `GatePass` | Student gate pass list with print support and today's gate pass summary. |
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. |
218
277
 
219
278
  ### Academics
220
279
 
package/dist/Api/api.d.ts CHANGED
@@ -32,3 +32,63 @@ export const libraryRenewalBookWise: "api/report/LibraryRenewalReport/bookWiseRe
32
32
  export const libraryRenewalClassWise: "api/report/LibraryRenewalReport/classWiseReport";
33
33
  export const libraryRenewalStaffWise: "api/report/LibraryRenewalReport/staffWiseReport";
34
34
  export const libraryRenewalStatistics: "api/report/LibraryRenewalReport/renewalStatisticsByDate";
35
+ export const visitorListUrl: "api/branchapi/Frontoffice/visitortablelist";
36
+ export const purposeUrl: "api/branchapi/Frontoffice/purposedropdown";
37
+ export const visitorAddUrl: "api/branchapi/frontoffice/addvisitors";
38
+ export const visitorUpdateUrl: "api/branchapi/frontoffice/editvisitorsdata";
39
+ export const visitorDeleteUrl: "api/branchapi/frontoffice/deletevisitors";
40
+ export const visitorUploadUrl: "api/branchapi/frontoffice/uploadfrontofficeDocument";
41
+ export const generalcallUrl: "api/branchapi/frontoffice/generalcallsShowdata";
42
+ export const generalcallAddUrl: "api/branchapi/frontoffice/addgenaralcalls";
43
+ export const generalcallUpdateUrl: "api/branchapi/frontoffice/editgeneralcall";
44
+ export const generalcallDeleteUrl: "api/branchapi/frontoffice/deletegeneralcall";
45
+ export const postalDispatchUrl: "api/branchapi/frontoffice/postaldispatchtablelist";
46
+ export const postalDispatchAddUrl: "api/branchapi/frontoffice/addpostaldispatch";
47
+ export const postalDispatchUpdateUrl: "api/branchapi/frontoffice/editpostaldispatch";
48
+ export const postalDispatchDeleteUrl: "api/branchapi/frontoffice/deletepostalreceivedispatch";
49
+ export const postalReceiveUrl: "api/branchapi/frontoffice/postalrecivetablelist";
50
+ export const postalReceiveAddUrl: "api/branchapi/frontoffice/addpostalrecive";
51
+ export const postalReceiveUpdateUrl: "api/branchapi/frontoffice/editpostalrecive";
52
+ export const postalReceiveDeleteUrl: "api/branchapi/frontoffice/deletepostalreceivedispatch";
53
+ export const complainUrl: "api/branchapi/frontoffice/complainttablelist";
54
+ export const complainTypeUrl: "api/branchapi/frontoffice/complainttypedropdown";
55
+ export const complainAddUrl: "api/branchapi/frontoffice/addcomplaint";
56
+ export const complainUpdateUrl: "api/branchapi/frontoffice/editcomplaint";
57
+ export const complainDeleteUrl: "api/branchapi/frontoffice/deletecomplaint";
58
+ export const purposeTableUrl: "api/branchapi/Frontoffice/purposetablelist";
59
+ export const complaintTypeTableUrl: "api/branchapi/Frontoffice/complaint_typetablelist";
60
+ export const sourceTableUrl: "api/branchapi/Frontoffice/sourcetablelist";
61
+ export const referencTableUrl: "api/branchapi/Frontoffice/referencetablelist";
62
+ export const purposeAddUrl: "api/branchapi/frontoffice/addvisitors_purpose";
63
+ export const complainTypeAddUrl: "api/branchapi/frontoffice/addcomplaint_type";
64
+ export const sourceAddUrl: "api/branchapi/frontoffice/addsource";
65
+ export const referenceAddUrl: "api/branchapi/frontoffice/addreference";
66
+ export const deleteVisitorsPurpose: "api/branchapi/frontoffice/deleteVisitorsPurpose";
67
+ export const deleteComplaintType: "api/branchapi/frontoffice/deletecomplaint_type";
68
+ export const deleteSource: "api/branchapi/frontoffice/deletesource";
69
+ export const deleteReference: "api/branchapi/frontoffice/deletereference";
70
+ export const studentGatePassList: "api/branchapi/Student/studentGatePassList";
71
+ export const studentGatePass: "api/branchapi/Student/studentGatePass";
72
+ export const routeTableListUrl: "api/branchapi/Transport/routeTableList";
73
+ export const routeShowdataUrl: "api/branchapi/Transport/routeShowdata";
74
+ export const uploadRouteByCsvUrl: "api/branchapi/transport/uploadroutebyCSV";
75
+ export const routeSampleTemplateUrl: "/sample_templates/route_upload.xlsx";
76
+ export const classUrl: "api/branchapi/academy/classdropdownlist";
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";
81
+ export const routeStudentList: "api/branchapi/Transport/routeStudentList";
82
+ export const getrouteDropdownUrl: "api/branchapi/Transport/getrouteDropdown";
83
+ export const getvehicleListByRouteIdwithCount: "api/branchapi/transport/getvehicleListByRouteIdwithCount";
84
+ export const getStoppageDropdown: "api/branchapi/transport/getStoppageDropdown";
85
+ export const showRouteAssignStudentUrl: "api/branchapi/Transport/showRouteAssignStudent";
86
+ export const assignTransportRoutesStudent: "api/branchapi/Transport/assignTransportRoutesStudent";
87
+ export const updateTransportRoutesStudent: "api/branchapi/Transport/updateTransportRoutesStudent";
88
+ export const removeStudentTransport: "api/branchapi/transport/removeStudentTransport";
89
+ export const assignTransportRoutesStudentBulkUrl: "api/branchapi/transport/assignTransportRoutesStudentBulk";
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 Complain;
3
+ declare function Complain({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default ComplainEdit;
3
+ declare function ComplainEdit({ data }: {
4
+ data: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default GatePass;
3
+ declare function GatePass({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default PhoneCallLog;
3
+ declare function PhoneCallLog({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default PhoneCallLogEdit;
3
+ declare function PhoneCallLogEdit({ data }: {
4
+ data: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default PostalDispatch;
3
+ declare function PostalDispatch({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default PostalDispatchEdit;
3
+ declare function PostalDispatchEdit({ data }: {
4
+ data: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default PostalReceive;
3
+ declare function PostalReceive({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default PostalReceiveEdit;
3
+ declare function PostalReceiveEdit({ data }: {
4
+ data: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default SetupFrontOffice;
3
+ declare function SetupFrontOffice({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default VisitorBook;
3
+ declare function VisitorBook({ token }: {
4
+ token: any;
5
+ }): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export default VisitorEdit;
3
+ declare function VisitorEdit({ data }: {
4
+ data: any;
5
+ }): React.JSX.Element;
@@ -1,8 +1,9 @@
1
1
  import { default as React } from 'react';
2
2
  export default AssignStudentToTransport;
3
- declare function AssignStudentToTransport({ token, editType, onNavigate, editPagePath, }: {
3
+ declare function AssignStudentToTransport({ token, editType, onNavigate, editPagePath, sampleTemplateUrl, }: {
4
4
  token: any;
5
5
  editType: any;
6
6
  onNavigate: any;
7
7
  editPagePath: any;
8
+ sampleTemplateUrl?: string | undefined;
8
9
  }): React.JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  export default TransportRoutes;
3
- declare function TransportRoutes({ token }: {
3
+ declare function TransportRoutes({ token, sampleTemplateUrl }: {
4
4
  token: any;
5
+ sampleTemplateUrl?: string | undefined;
5
6
  }): 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 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;