Commit Graph

825 Commits

Author SHA1 Message Date
dhanabalan
a9803f927f Refactor plant selection options across multiple resources to display plants based on the authenticated user's plant ID, ensuring users only see relevant options. 2025-09-29 16:35:55 +05:30
dhanabalan
a4afe2f3c7 Refactor Plant model to ensure proper formatting and maintain consistency in method definitions 2025-09-29 12:33:13 +05:30
dhanabalan
168e9266fe Fix plant code validation logic in UserImporter 2025-09-29 12:28:18 +05:30
dhanabalan
af3ce0ea40 Add plant code column to UserExporter and implement plant validation in UserImporter 2025-09-29 12:18:09 +05:30
dhanabalan
5f4945d997 Add plant relationship to UserResource form and table 2025-09-29 11:41:30 +05:30
dhanabalan
f62f88aa55 Add plant relationship to User model 2025-09-29 11:37:11 +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
aa4e42d790 Add 'Created By' column to GrMasterResource table for better tracking 2025-09-27 16:09:03 +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
be892cb662 Add GrMasterPolicy class to manage authorization for GrMaster actions 2025-09-27 14:01:48 +05:30
dhanabalan
584d4faa07 Add GrMaster importer and exporter classes with column definitions and notification messages 2025-09-27 14:01:25 +05:30
dhanabalan
3f1b46873e Add GrMaster resource with CRUD pages and functionality for managing GR records 2025-09-27 14:00:31 +05:30
dhanabalan
9d69ce89ae Add GrMaster model with fillable attributes and relationships to Plant and Item 2025-09-27 13:59:19 +05:30
dhanabalan
998fbf814c Refactor validation logic in CreateInvoiceValidation to include additional checks for package types (use pack_slip if tube_sticker does not exist) and streamline code structure 2025-09-26 18:59:33 +05:30
dhanabalan
d2c7f85917 Fix validation for 'No of Operation' in resolveRecord method to include actual value in error message 2025-09-26 16:30:53 +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
7ca806449c Update export and import columns in TestingPanelReadingExporter and TestingPanelReadingImporter for improved data mapping 2025-09-21 16:00:08 +05:30
dhanabalan
fad3cf4ed6 Add relationships for equipment masters in Machine and Plant models 2025-09-21 15:46:01 +05:30