...
Manipulate this information on DOP (FZ-Portal)
...
To enhance the functionality of managing rules and purchase limits for home deliveries, a new page
...
Create rules of access on this page, reference here;
...
The users can choose which rules they want to use;
...
The users can adjust the limit values to purchases in home delivery;
...
The users can make this to his/her restaurants;
...
The franchisees can change this information as well;
...
How to use, here;
...
To save this information on Sanity, we will use the Sanity Client Lib to connect DOP with Sanity.
...
will be created containing all the relevant information. This page allows users to perform several important actions.
Firstly, it will be possible to establish specific access rules for this page, ensuring that only authorized users can view and modify the information. The access rules will be detailed in this reference.
Users will have the ability to decide which rules they want to apply to their transactions. Additionally, they will be able to adjust the limit values for purchases in home deliveries, providing greater flexibility and control over financial operations.
This functionality is not limited to end users. Franchisees will also be able to access and modify this information, ensuring that all organizational levels can effectively manage their own settings.
To assist users in using this new page and its functionalities, a detailed guide will be made available through in this link.
Finally, all information configured by users will be saved in Sanity, using the Sanity Client Library to connect DOP with Sanity. This will ensure that the data is stored securely and is accessible for future consultations and modifications.
...
The mutation that controls updates in Sanity is located at
workspaces/graphql/src/schema/mutations/updateRestaurantCashLimitation.ts
.The pages are controlled in
workspaces/frontend/src/pages/payment-methods/index.ts
.
WL-app controls the exhibition of physical payments
...