|
|
@@ -48,7 +48,8 @@ import { |
|
|
|
isCreditorLoggedIn, |
|
|
|
isINDLoggedIn, |
|
|
|
isPasswordExpiry, |
|
|
|
// isORGLoggedIn, |
|
|
|
haveOrgPaymentRecord, |
|
|
|
isORGLoggedIn, |
|
|
|
// getUserId |
|
|
|
} from "utils/Utils"; |
|
|
|
import { handleLogoutFunction } from 'auth/index'; |
|
|
@@ -343,30 +344,45 @@ function Header(props) { |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
{isCreditorLoggedIn() ? |
|
|
|
<> |
|
|
|
<Link className="paymentRecord"> |
|
|
|
<Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 1 }}> |
|
|
|
<FormattedMessage id="paymentHistory" /> |
|
|
|
</Typography> |
|
|
|
<KeyboardArrowDownIcon sx={{ fontSize: '1.0rem' }} /> |
|
|
|
</Link> |
|
|
|
<ul className='dropdown'> |
|
|
|
<li> |
|
|
|
<Link className="manageOrgUser" to='/paymentPage/search'><Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 1 }}> |
|
|
|
<FormattedMessage id="onlinePaymentHistory" /> |
|
|
|
</Typography></Link> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<Link className="manageOrgUser" to='/paymentPage/demandNote'><Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 1 }}> |
|
|
|
<FormattedMessage id="paymentInfoRecord" /> |
|
|
|
</Typography></Link> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</> |
|
|
|
haveOrgPaymentRecord()? |
|
|
|
<> |
|
|
|
<Link className="paymentRecord"> |
|
|
|
<Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 1 }}> |
|
|
|
<FormattedMessage id="paymentHistory" /> |
|
|
|
</Typography> |
|
|
|
<KeyboardArrowDownIcon sx={{ fontSize: '1.0rem' }} /> |
|
|
|
</Link> |
|
|
|
<ul className='dropdown'> |
|
|
|
<li> |
|
|
|
<Link className="manageOrgUser" to='/paymentPage/search'><Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 1 }}> |
|
|
|
<FormattedMessage id="onlinePaymentHistory" /> |
|
|
|
</Typography></Link> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<Link className="manageOrgUser" to='/paymentPage/demandNote'><Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 1 }}> |
|
|
|
<FormattedMessage id="paymentInfoRecord" /> |
|
|
|
</Typography></Link> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</> |
|
|
|
: |
|
|
|
<Link className="manageOrgUser" to='/paymentPage/demandNote'><Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 1 }}> |
|
|
|
<FormattedMessage id="paymentInfoRecord" /> |
|
|
|
</Typography></Link> |
|
|
|
: |
|
|
|
isORGLoggedIn()? |
|
|
|
haveOrgPaymentRecord()? |
|
|
|
<Link className="manageOrgUser" to='/paymentPage/search'><Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 1 }}> |
|
|
|
<FormattedMessage id="onlinePaymentHistory" /> |
|
|
|
</Typography></Link> |
|
|
|
: |
|
|
|
<Link className="manageOrgUser" to='/paymentPage/demandNote'><Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 1 }}> |
|
|
|
<FormattedMessage id="paymentInfoRecord" /> |
|
|
|
</Typography></Link> |
|
|
|
: |
|
|
|
<Link className="manageOrgUser" to='/paymentPage/search'><Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 1 }}> |
|
|
|
<FormattedMessage id="onlinePaymentHistory" /> |
|
|
|
</Typography></Link> |
|
|
|
<Link className="manageOrgUser" to='/paymentPage/search'><Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 1 }}> |
|
|
|
<FormattedMessage id="onlinePaymentHistory" /> |
|
|
|
</Typography></Link> |
|
|
|
} |
|
|
|
</li> |
|
|
|
<li> |
|
|
|