216 Commits
Author SHA1 Message Date
ehsan.moradi 6f12cd4e69 get inputs with udi too 2025-06-08 12:18:18 +03:30
ehsan.moradi b8b6e46cf2 add roles 2025-05-28 12:53:53 +03:30
ehsan.moradi 122c7cdbda fix 2025-05-26 11:09:33 +03:30
ehsan.moradi 0977346b6e fix 2025-05-25 16:03:03 +03:30
ehsan.moradi 8f0b87c333 fix 2025-05-25 15:01:29 +03:30
ehsan.moradi a467b06ea7 fix 2025-05-25 14:43:24 +03:30
ehsan.moradi fa7df1e500 showUdi item 2025-05-13 11:51:57 +03:30
ehsan.moradi 4c48b13646 add test_type_name to test result index 2025-05-10 12:44:16 +03:30
ehsan.moradi dd85f7f5e2 change GetInputs api 2025-05-05 17:26:36 +03:30
ehsan.moradi 27cd2292fe cssd changes and fixes 2025-05-04 16:42:14 +03:30
ehsan.moradi 6d108e43c9 fix transfer item issue 2025-05-01 13:15:47 +03:30
ehsan.moradi 2b8ad33cb2 change export download way 2025-05-01 11:49:11 +03:30
ehsan.moradi b3f733cdd0 adding items for myPackage too 2025-04-28 11:38:02 +03:30
ehsan.moradi c03c1196ec adding media for item edit 2025-04-27 12:41:50 +03:30
ehsan.moradi 838ad7ca12 only return user's packages and items for supervisor and user role, and adding items field for package index 2025-04-27 11:30:27 +03:30
Moradi a5136a341f I had forgotten to update item package_id 2025-04-12 18:09:27 +03:30
Moradi f9023086c9 items that belongs to a package cannot be transferred. 2025-04-09 14:02:13 +03:30
Moradi 6311e2af70 just change an operator but the difference was huge. (index items) 2025-04-09 13:37:33 +03:30
Moradi 4492db15cf add pagination to my packages 2025-04-09 13:15:11 +03:30
Moradi 62a353ef80 ... 2025-04-09 12:49:02 +03:30
Moradi 6de8d2dbae items didn't attach to package because the input was different with the way controller method handles it. 2025-04-08 16:56:39 +03:30
Moradi accf16c184 change default spatie guard name to api 2025-03-25 11:47:30 +03:30
Moradi 540f9a1d65 ineffective small change 2025-03-17 15:54:37 +03:30
Moradi f5e1ff198e register method assign user role with web guard (default) I change it to api guard. 2025-03-15 14:41:15 +03:30
Moradi 8a90d3bce4 fix the issue with getByMedicalCenter (commented the wrong code) 2025-03-15 13:55:18 +03:30
Moradi 1ee3585674 add where condition to getLabels query to get only enabled labels 2025-03-13 13:02:47 +03:30
Moradi 1d98af0113 add validation for enabled labels, rename enable (to enabled) in labels table, and update the enabled attribute of corresponding labels to false when cycle saved 2025-03-13 12:45:00 +03:30
Moradi 034000bcef fix the issue with the previous commit. event was called before the labels attached to a cycle. 2025-03-12 16:42:00 +03:30
ehsan 5fe7474227 remove the validation for cycle number in store label and add an eloquent event for updating cycle number when cycle is saved. 2025-03-12 11:57:11 +03:30
Moradi 71e493ec10 change StatusTypeEnum::SUSPENDING to StatusTypeEnum::PENDING 2025-03-11 13:54:56 +03:30
Moradi b0b6d700ba remove status approved condition from index items for users and fix the issue with validating store package request. 2025-03-11 13:34:55 +03:30
Moradi 0170cb1258 remove the where condition for index items query and add enable column to labels table. 2025-03-11 12:21:36 +03:30
Moradi 9c9f40d06e a little changes in retrieve data based on roles. 2025-03-05 12:28:25 +03:30
Moradi e5253f7eda there was a misunderstanding for this part I fix it. and the issue is not from the backend I just add some validation to make doubly sure. 2025-03-01 12:37:51 +03:30
Moradi 96de1c2fbe add new rules for store and update package 2025-02-27 17:57:46 +03:30
Moradi 117a1cb160 forgot sth "user can create a package only from his items" 2025-02-27 14:51:17 +03:30
Moradi 9bf95438b7 fix issue "user can create a package only from his items" 2025-02-27 14:46:14 +03:30
Moradi a4392b74c9 Fix this issue "error when two same label is included" 2025-02-27 11:49:43 +03:30
amir-ys 82b33e8a8f Merge remote-tracking branch 'origin/master' 2025-02-18 23:49:56 +03:30
amir-ys e49bcd7936 fix: media load in ItemResource and TestResultResource 2025-01-10 14:27:35 +03:30
amir-ys 8286ec25a7 fix: media load in ItemResource and TestResultResource 2025-01-10 14:23:34 +03:30
amir-ys 9bcd8beaed fix: media load in ItemResource and TestResultResource 2025-01-09 17:57:05 +03:30
amir-ys f4acfd7531 feat: add export for cycles 2024-12-14 00:56:08 +03:30
amir-ys a74492e488 feat: add factory for models 2024-11-23 22:14:01 +03:30
amir-ys e98a61231d fix: delete users and medical_center api 2024-11-15 00:21:03 +03:30
amir-ys 01769d7a68 fix: cors middleware error 2024-11-10 23:43:51 +03:30
amir-ys acb9871379 fix: change models namespace 2024-11-07 16:41:50 +03:30
amir-ys 865d565a91 feat: install phpstan and resolving reported errors in PHPStan 2024-11-07 01:41:19 +03:30
amir-ys b779e9a186 feat: upgrade laravel version from 8 to 9 2024-11-06 23:37:19 +03:30
mahdi purHosseini 325d7ed759 fix conflict 2024-09-02 12:31:14 +03:30