Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 2.76 KB

File metadata and controls

61 lines (44 loc) · 2.76 KB

Create Contract

Create Contract will have link to create contract from view approved estimate sub Estimate table screen.

View Approved Estimate Screen

Clicking on this will open create contract screen.

Create Contract Screen

Add create contract fields mdms config

Add the following MDMS config to fetch the values of different dropdown filed of create estimate

MDMS config for Depatment, Designation
{
    tenant,   //pb
    "common-masters",
        [
            {
                "name": "Department"
            },
            {
                "name": "Designation"
            }
        ]
}

Once the above details are filled, user needs to forward contract to concerned department and official for checking. Forwarding is considered as part of contract creation.Fill in the details and click “Forward and Approve”.

Workflow Modal

Once Create Contract API call is successful, an acknowledgement screen is shown.

Create Contract Acknowledgement Screen

DropDown Data and Localization

Some of the dropdown data is fetched from mdms and hrms search API

PageComponentData SourceAPI / MDMS Object
Executing DepartmentMDMS

{

tenant,

"common-masters",

[ { "name": "Department" } ]

}

DesignationMDMS

{

tenant,

"common-masters",

[ { "name": "Designation" } ]

}

Designation of officer in chargehrms/egov-hrms/employees/_search
Name of officer in chargehrms/egov-hrms/employees/_search

Localization keys are added under the ‘rainmaker-works’ locale module. In future if any new labels are implemented in works module that should also be pushed in the locale DB under rainmaker-works locale module. Below is the example of few locale labels for hindi and English.

{
    "code":"WORKS_CREATE_CONTRACT",
    "message":"एक अनुबंध बनाएं",
    "module":"rainmaker-works",
    "locale":"hi_IN"
}

{
    "code":"WORKS_CREATE_CONTRACT",
    "message":"Create a Contract",
    "module":"rainmaker-works",
    "locale":"en_IN"
}