Commit Graph

120 Commits

Author SHA1 Message Date
dhanabalan
533ad72ca8 Added get and post api for process order 2025-11-17 14:00:46 +05:30
dhanabalan
95e18838ca Sort work centers by name in get_data method of MachineController 2025-11-15 17:29:45 +05:30
dhanabalan
7c773f2cca Enhance MachineController with detailed validation and Machine Data Retrieval against plant and line 2025-11-15 17:07:25 +05:30
dhanabalan
966e756bf2 Fix error message for empty GR Number in getGRSerial response 2025-11-02 15:40:28 +05:30
dhanabalan
d79c7101b4 Remove unused test method and its associated code from ObdController 2025-10-13 15:57:18 +05:30
dhanabalan
ffec5e1cd3 Added proper messages for get pdf for gr number 2025-10-08 10:11:21 +05:30
dhanabalan
767082d703 Added completed logic for gr master api 2025-10-04 15:34:46 +05:30
dhanabalan
d148828ef1 Added status column to update 2025-10-04 15:12:40 +05:30
dhanabalan
1802c1443c Add plant code retrieval in user controller to enhance user data response 2025-09-29 17:21:44 +05:30
dhanabalan
9f98348600 added item code in an array for getting serial number 2025-09-29 17:17:03 +05:30
dhanabalan
7845b86a79 Addded item code logic in get serial number 2025-09-29 17:06:13 +05:30
dhanabalan
53cb04b14e Update error message for user not found in updateGR method for clarity 2025-09-27 16:53:08 +05:30
dhanabalan
64003ca776 Add validation for item codes in updateGR method to ensure they are at least 6 digits and numeric 2025-09-27 16:51:18 +05:30
dhanabalan
0d9fd498d6 Refactor user retrieval in updateGR method to simplify query by removing unnecessary plant_id condition 2025-09-27 16:49:17 +05:30
dhanabalan
071627ccd4 Add user validation in updateGR method to ensure scanned_by exists for the given plant 2025-09-27 16:30:59 +05:30
dhanabalan
f58c36383b Add validation for existing GR numbers and check for missing serials in updateGR method 2025-09-27 16:26:34 +05:30
dhanabalan
0c84421719 Add updateGR method to PdfController for updating serial numbers with validation 2025-09-27 16:08:01 +05:30
dhanabalan
61e9995892 Remove status_code from getGRSerial response in PdfController 2025-09-27 15:07:27 +05:30
dhanabalan
034db8f879 Add getGRSerial method to PdfController for retrieving serial numbers by GR number and plant code with authorization 2025-09-27 15:04:01 +05:30
dhanabalan
388d91f8a4 Add getGRPdf method to PdfController for retrieving GR PDFs with authorization 2025-09-27 14:35:19 +05:30
dhanabalan
5b8bb29aeb Add validation for serial numbers in readFiles method and return error response for invalid entries 2025-09-26 12:09:41 +05:30
dhanabalan
b2cf4dc18e Refactor readFiles method to streamline CSV row processing and ensure unique remaining row is returned 2025-09-26 11:57:28 +05:30
dhanabalan
9774cda2ad Refactor readFiles method to enhance CSV row validation and ensure unique remaining rows are collected 2025-09-26 11:49:31 +05:30
dhanabalan
bbe05d62b1 Enhance readFiles method to validate CSV row structure and return error response for insufficient columns 2025-09-26 11:40:00 +05:30
dhanabalan
f353a699a2 Refactor readFiles method to handle file content processing and return structured response with serial numbers and remaining rows 2025-09-26 11:38:14 +05:30
dhanabalan
956c282005 Add debug response for file reading in readFiles method and improve error handling for file accessibility 2025-09-26 11:22:52 +05:30
dhanabalan
c9b5a59bf2 Refactor readFiles method to dynamically set file path and improve file handling 2025-09-26 11:16:06 +05:30
dhanabalan
086910122e Implement file reading and database insertion in readFiles method 2025-09-26 11:13:38 +05:30
dhanabalan
92a3b5a448 Refactor error responses in readFiles method to standardize status descriptions 2025-09-26 10:48:52 +05:30
dhanabalan
64237c3da0 Improve error handling in readFiles method for directory access and readability 2025-09-26 10:47:35 +05:30
dhanabalan
3d21975096 Validate plant code in readFiles method and update response structure 2025-09-26 10:43:52 +05:30
dhanabalan
0710c3a7a1 Add authorization check to readFiles method in SapFileController 2025-09-26 10:35:22 +05:30
dhanabalan
18eb234df4 Fix readFiles method to correctly concatenate file path for reading file contents 2025-09-26 10:30:58 +05:30
dhanabalan
8a3c0639ad Refactor readFiles method to improve .txt file filtering logic 2025-09-26 10:26:04 +05:30
dhanabalan
f50fbf5771 Fix readFiles method to add missing slash in file path for correct .txt file filtering 2025-09-26 10:22:23 +05:30
dhanabalan
3a115241a9 Fix readFiles method to add missing slash in file path for correct .txt file filtering 2025-09-26 10:21:07 +05:30
dhanabalan
062f35cb4d Fix readFiles method to correctly filter .txt files by adding missing slash in path 2025-09-26 10:15:34 +05:30
dhanabalan
062f143dbb Refactor readFiles method in SapFileController to streamline file filtering logic 2025-09-26 10:13:41 +05:30
dhanabalan
7406f4c97e Update readFiles method in SapFileController to change directory path and improve debug information 2025-09-26 10:06:29 +05:30
dhanabalan
733cc45e60 Update readFiles method in SapFileController to change the directory path for file access 2025-09-23 12:17:23 +05:30
dhanabalan
0f3b516614 Update readFiles method in SapFileController to improve user identification in error responses 2025-09-23 10:55:56 +05:30
dhanabalan
8187aca5d4 Update readFiles method in SapFileController to enhance error reporting and adjust file path 2025-09-23 10:46:24 +05:30
dhanabalan
1d998d6478 Enhance readFiles method in SapFileController with improved error handling and debugging information 2025-09-23 09:48:24 +05:30
dhanabalan
86ad06def7 Refactor readFiles method in SapFileController for improved error handling and code clarity 2025-09-23 09:42:57 +05:30
dhanabalan
6a70b45f4f Refactor readFiles method in SapFileController for improved file handling and readability 2025-09-23 09:38:47 +05:30
dhanabalan
7e1852cfed Add SapFileController and route for reading SAP files 2025-09-23 09:34:17 +05:30
dhanabalan
4da6e97e6e Add EquipmentMasterController with authorization and equipment retrieval logic with relevant API 2025-09-21 15:32:18 +05:30
dhanabalan
5a7050a5b4 Add winded_serial_number to store method in TestingPanelController for enhanced data tracking 2025-09-16 12:04:50 +05:30
dhanabalan
9a6e364f52 Refactored store method in TestingPanelController to improve validation for line and machine names, replacing Line model with WorkGroupMaster for accurate data handling. 2025-09-15 17:40:52 +05:30
dhanabalan
d827c9368f Updated MachineController to replace 'line' with 'workGroupMaster' for accurate data retrieval to get all group and individual work center 2025-09-15 14:42:26 +05:30