-
Notifications
You must be signed in to change notification settings - Fork 0
Save state business
Ahmed Reda edited this page Aug 2, 2016
·
4 revisions
- User can save only one organization from the same type
- User can return his saved version if he tried to create organization similar in type with the saved one
- User must insert at least organization commercial name (English && Arabic)
- if name already exists it will cause alert (back end)
- creator will be added automatically as organization user
- all validation are ignored in save state cause it's after all a demo data (not validated) yet
- dates (to avoid format validation ) & organization users & attachments values are set to null ... they can be added later
NOTE:
-
if user updated saved stated organization then :
- organization entity status will be kept as its STATUS_STATE_SAVED = 4 (done)
- a flash message will appear in my organization to tell user to do the following : (done)
- if organization entity has no users then it will tell him to update org users (ATC or ATp or Both)
- if organization there's at least one meta's status STATUS_STATE_SAVED = 4 , a message will appear telling the user to update organization license data
-
if user updated saved meta then :
- if the organization has no organization users (ATC && ATP && Both) then flash message will appear telling the user to update organization users
Tutorial : How to build organization using save state button ?
- First you just need to fill organization commercial name Ar&En and other values needed except attachments and dates
- Then save your dummy organization using save state button , then you will see your organization's types (ATC && ATP as state saved in /organization/myorganizations --- other types always active)
- Whenever you have the data needed you may start adding your organization license data (ATP 0r ATC ) from Renew button in my organization OR assign users to your organizations from Manage users button in my organizations , no matter which way you go first but you should do both to validate the organization
- Congratulations you've just updated your license and your users , Now your organization is valid waiting for admin approval (if creator is user ) or already active (if creator is admin)