Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/efthakhar/invextry
Browse files Browse the repository at this point in the history
  • Loading branch information
efthakhar committed Aug 26, 2023
2 parents a961c94 + 7a5ef6c commit 4cd8dcf
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
4 changes: 2 additions & 2 deletions A2ZTRACK/module-checklist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ steps:

> Create Requests file

> Create Resouce and Collections file
> Create Resource and Collections file

> Create necessary routes and controllers methods
> Create necessary routes and controllers methods

> Create pinia store file

Expand Down
33 changes: 16 additions & 17 deletions A2ZTRACK/system-guideline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,47 +7,46 @@


=> Run CreateApp seeder or its generated sql for the first time of installation of application.
That means only for version 1.0.0 .
CreateApp seeder will seed admin role and all permissions.
That means only for version 1.0.0 .
CreateApp seeder will seed admin role and all permissions.
Don't run it in version upgrades.

Run DevDemo seeder for creating demosite for showcase the site and for testing in development mood.

Differnce between DevDemo and CreateApp is CreateApp only seed superadmin and roles,permissions where
Difference between DevDemo and CreateApp is CreateApp only seed superadmin and roles,permissions where
DevDemo also create superadmin and role, permissions with necessary demo data for other modules.

If you want that your users will get some demo data for example currencies you can add that seeders
in your CreateApp seeder.
in your CreateApp seeder.

Don't include truncate function in individual seeder classes. Suppose you need to truncate
all currencies in version 2.3.4 upgrade file. Then truncate the currencies in that file first
all currencies in version 2.3.4 upgrade file. Then truncate the currencies in that file first
and run the currencies seeder file.

If any new permission need to add in new version released after 1.0.0
then seed the permissions from the dedicated version upgrade file.
If any new permission need to add in new version released after 1.0.0
then seed the permissions from the dedicated version upgrade file.
Don't run CreateApp seeder in version upgrades.



=> Never Try to jump a new version from an older version directly. Suppose current version
is 2.0.1 and your desired version is 5.0.0. You shuld upgrade to all version one by one
between this two versions. This will persist the consistancy of the application
is 2.0.1 and your desired version is 5.0.0. You should upgrade to all version one by one
between this two versions. This will persist the consistency of the application


=> When a person fill Registration form he will be assigned to subscriber role. If Admin assign him to any role
=> When a person fill Registration form he will be assigned to subscriber role. If Admin assign him to any role
which has manage_dashboard permission, only after then the user can access the dashboard or view dashboard area.
Any user without manage_dashboard permission will be redirected to home page.
Any user without manage_dashboard permission will be redirected to home page.



=> Products have unit, sell unit, purchase unit. Without choosing unit value user can not
=> Products have unit, sell unit, purchase unit. Without choosing unit value user can not
choose purchase and sell unit. Only units which has no base unit that means only base units
will be shown in the unit choose list. Then in sell unit and perchase unit , units will be
showed which base unit id is equal to the our choosen unit id
will be shown in the unit choose list. Then in sell unit and purchase unit , units will be
showed which base unit id is equal to the our chosen unit id

=> Hide now sale unit and purchase unit for simpicity purpose. Now Products sale and purchase units will
=> Hide now sale unit and purchase unit for simplicity purpose. Now Products sale and purchase units will
be equal to its unit

=> Place ConvertEmptyStringsToNull middleware after PreventXSS middleware.
Otherwise It will fail to convert empty string to NULL

Otherwise It will fail to convert empty string to NULL

0 comments on commit 4cd8dcf

Please sign in to comment.