Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

On clicking on the Download Acknowledgement Form, A PDF will be downloaded.

...

Release 2.8 Enhancements & Changes:

In the Trade Units page, values for trade type and trade subtype has been loaded by the following MDMS call :

Code Block
const { isLoading, data: Data = {} } = Digit.Hooks.tl.useTradeLicenseMDMS(stateId, "TradeLicense", "TradeUnits", "[?(@.type=='TL')]");

Following Validation has been added for the same :

Users when select trade type and then subtype, it compared with the available billing slab for which the hook has been mentioned below, and if the billing slab is not there it wont allow users to move forward and error will get displayed.

Code Block
const { data: billingSlabTradeTypeData, isLoading : isBillingSlabLoading } = Digit.Hooks.tl.useTradeLicenseBillingslab({ tenantId: tenantId, filters: {} }, {
    select: (data) => {
    return data?.billingSlab.filter((e) => e.tradeType && e.applicationType === "NEW" && e.licenseType === "PERMANENT" && e.uom);
    }});

...

once the right trade type and subtype is added, and correct billing slab is there, then for the UOM value validation is added, it will check the value in the given range, mentioned in the billing slab object and displays the error if the value is outside of the range.

...

Technical Implementation Details:

...