Commit Graph
238 Commits
Author SHA1 Message Date
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 4a9010d2c7 change item delete policy 2025-03-16 12:27:35 +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 2d1df25b0e packages index problem 2025-03-11 13:18:47 +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 db95ee3306 feat: add command for update model namespace in morph fields 2024-11-15 00:12:53 +03:30
amir-ys 4dd982d2c3 feat: update production Dockerfile to php 8.2 2024-11-14 22:55:35 +03:30
amir-ys 01769d7a68 fix: cors middleware error 2024-11-10 23:43:51 +03:30
amir-ys c0ed382891 fix: change routes use style 2024-11-10 21:10:45 +03:30
amir-ys 50c261678f feat: complete upgrade media-library packages 2024-11-08 02:16:34 +03:30
amir-ys ff8db13621 feat: upgrading laravel version to 11 from 10 2024-11-07 23:01:06 +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 b7efa6b24a feat: upgrade laravel version from 9 to 10 2024-11-07 00:18:46 +03:30
amir-ys b779e9a186 feat: upgrade laravel version from 8 to 9 2024-11-06 23:37:19 +03:30
amir-ys a5bc493fd8 feat: upgrade laravel version from 6 to 7 2024-11-05 00:30:01 +03:30
mahdi purHosseini 325d7ed759 fix conflict 2024-09-02 12:31:14 +03:30
mahdi purHosseini fd59106db8 fix label and cycle 2024-09-02 12:28:51 +03:30
mahdi1113 3f3baf2850 fix user index 2024-06-12 23:52:50 +03:30
mahdi1113 a3b6493003 fix migration 2024-06-10 15:51:08 +03:30
mahdi1113 c5473f5d9b fix getItem 2024-06-07 04:27:55 +03:30
mahdi1113 c8f5ba1105 fix trasnfer 2024-05-26 02:13:27 +03:30
mahdi1113 4e48b74d0f app/Http/Controllers/UserController.php 2024-05-03 09:09:24 +03:30