diff --git a/actions/index.js b/actions/index.js index a5a3d2f7..ee60e791 100644 --- a/actions/index.js +++ b/actions/index.js @@ -130,6 +130,19 @@ export const getBasicSearch = (searchString) => { }); }; +export const getBasicDNSSearch = (searchString) => { + return axios + .get( + WEBAPI_URL + + "incidents?$select=_accountid_value,_customerid_value,pinswg_appealcasetype,statuscode,ticketnumber,title, _primarycontactid_value&$expand=primarycontactid($select=fullname)&$filter=pinswg_appealcasetype eq 846040011&$count=true", + azureHeaders + ) + .then((res) => res.data) + .catch((error) => { + console.log("thiserror", error); + }); +}; + export const getBasicSearchDetails = (appealType, caseReference) => { return axios .get( @@ -146,6 +159,21 @@ export const getBasicSearchDetails = (appealType, caseReference) => { }); }; +export const getBasicDNSSearchDetails = (appealType, caseReference) => { + return axios + .get( + WEBAPI_URL + + "pinswg_dnses?$filter=pinswg_name eq '" + + caseReference + + "'&$count=true", + azureHeaders + ) + .then((res) => res.data) + .catch((error) => { + console.log("thiserror", error); + }); +}; + export const getFormData = (whichForm) => { //console.log("got to axios", whichForm); //console.log("api_root: ", BASE_URL); diff --git a/components/breadcrumbs.js b/components/breadcrumbs.js index 7b51b60a..9c66724f 100644 --- a/components/breadcrumbs.js +++ b/components/breadcrumbs.js @@ -45,18 +45,20 @@ const Breadcrumbs = (props) => {
+ {t("dnsApplications:page-intro-paragraph-1")} +
+