edite and add some functionality in platform Adalo
Maksettu toimituksen yhteydessä
The idea in general is that we have two accounts, one for a restaurant( business account) and another for associations( organization account) The restaurant account only posts a post he can't see anyone's publications except his right and the association account he can see the publications of all restaurants The account of the society if he sees a post he likes he can press the request button on the post himself then he can go to the restaurant account that posted this post and he can accept the request or not and the reply goes back to the account of the association
If a restaurant account before the request can start a chat with an association account and there will be a chat between them (but the chat starts only if the request is accepted + and the restaurant account must start the chat then an association can reply).
So that the organization account if it enters and sees the posts it can send a requste and the business account can accept or reject and chat has restrictions it must be between the business account and the organization account and there must be a request between them that is acceptable and the one who starts the chat must be the business account so that if the conversation is between two accounts of the same type for example all of them are business it is not accepted and if there is no accepted requst before or try the organization account to start the conversation a message appears to him error .
Projektin tunnus: #36703695