Fix #229 Sales setup based Customer previous bill fetch

This commit is contained in:
karthikalakshmi 2026-03-04 15:07:33 +05:30
parent 127b64e749
commit 4faebbafeb
13 changed files with 33 additions and 13 deletions

View File

@ -2607,6 +2607,7 @@ const ThemeSlice = createSlice({
'UnpaidBill',
'OverallBackground',
'CreditCustomer',
'PreviousBillFetch'
];
const bookingBillingOptionsArray = tempDic['BookingBilling'][1];
const sortedBillingOptions = desiredOrder

View File

@ -3859,7 +3859,8 @@ export default function BST1Payment() {
)}
{/* Customer Orders */}
{SelCustId && (
{(SelCustId && tableOptions?.filter((item) => item.OptionName === 'PreviousBillFetch')
.length === 1) && (
<Tooltip title="Customer Orders" isMobile={isMobile}>
{' '}
<div

View File

@ -4178,7 +4178,8 @@ const BSBillingTable2 = () => {
)}
{/* Customer Orders */}
{SelCustId && (
{(SelCustId && tableOptions?.filter((item) => item.OptionName === 'PreviousBillFetch')
.length === 1) && (
<Tooltip title="Customer Orders" isMobile={isMobile}>
{' '}
<div

View File

@ -3809,7 +3809,8 @@ const BSBillingTable3Pay = () => {
</div>
)}
{/* Customer Orders */}
{SelCustId && (
{(SelCustId && tableOptions?.filter((item) => item.OptionName === 'PreviousBillFetch')
.length === 1) && (
<Tooltip title="Customer Orders" isMobile={isMobile}>
{' '}
<div

View File

@ -3920,7 +3920,8 @@ const BSBilling4Payment = () => {
)}
{/* Customer Orders */}
{SelCustId && (
{(SelCustId && tableOptions?.filter((item) => item.OptionName === 'PreviousBillFetch')
.length === 1) && (
<Tooltip title="Customer Orders" isMobile={isMobile}>
{' '}
<div

View File

@ -4163,7 +4163,8 @@ const BSBillingTable5 = () => {
''
)}
{/* Customer Orders */}
{SelCustId && (
{(SelCustId && tableOptions?.filter((item) => item.OptionName === 'PreviousBillFetch')
.length === 1) && (
<Tooltip title="Customer Orders" isMobile={isMobile}>
{' '}
<div

View File

@ -4152,7 +4152,8 @@ const BST6Payment = () => {
''
)}
{/* Customer Orders */}
{SelCustId && (
{(SelCustId && tableOptions?.filter((item) => item.OptionName === 'PreviousBillFetch')
.length === 1) && (
<Tooltip title="Customer Orders" isMobile={isMobile}>
{' '}
<div

View File

@ -3651,7 +3651,8 @@ const BSBilling7Payment = () => {
)}
{/* Customer Orders */}
{SelCustId && (
{(SelCustId && tableOptions?.filter((item) => item.OptionName === 'PreviousBillFetch')
.length === 1) && (
<Tooltip title="Customer Orders" isMobile={isMobile}>
{' '}
<div

View File

@ -3525,7 +3525,8 @@ const StandardTablePayment = () => {
)}
{/* Customer Orders */}
{SelCustId && (
{(SelCustId && tableOptions?.filter((item) => item.OptionName === 'PreviousBillFetch')
.length === 1) && (
<Tooltip title="Customer Orders" isMobile={isMobile}>
{' '}
<div

View File

@ -4403,7 +4403,8 @@ const BSC1Payment = (props) => {
</>
)}
{/* Customer Orders */}
{SelCustId && (
{(SelCustId && tableOptions?.filter((item) => item.OptionName === 'PreviousBillFetch')
.length === 1) && (
<Tooltip title="Customer Orders" isMobile={isMobile}>
{' '}
<div

View File

@ -144,7 +144,7 @@ input::-webkit-inner-spin-button {
justify-content: center;
gap: 0.2rem;
background-color: #dbdbdb;
font-family: "Poppins", sans-serif;
font-family: 'Poppins', sans-serif;
}
.payment-div-0-userplus {
@ -243,6 +243,7 @@ input::-webkit-inner-spin-button {
background-color: var(--DEFAULT_SELECTED_COLOR);
font-size: 14px;
font-weight: 500;
border: none;
height: 40px;
width: 75px;
border-radius: 7.2px;
@ -251,17 +252,20 @@ input::-webkit-inner-spin-button {
display: flex;
gap: 0.2rem;
align-items: center;
font-family: "Poppins";
font-family: 'Poppins';
justify-content: center;
cursor: pointer;
text-transform: capitalize;
outline: none;
}
.Btn-payment-mode {
background-color: var(--SELECTED_COLOR);
font-size: 14px;
border: none;
font-weight: 500;
height: 40px;
outline: none;
width: 75px;
border-radius: 7.2px;
color: #fff;
@ -269,8 +273,9 @@ input::-webkit-inner-spin-button {
display: flex;
gap: 0.2rem;
align-items: center;
font-family: "Poppins";
font-family: 'Poppins';
justify-content: center;
cursor: pointer;
text-transform: capitalize;
outline: none;
}

View File

@ -205,8 +205,9 @@ input::-webkit-inner-spin-button {
.Btn-payment-mode {
background-color: var(--SELECTED_COLOR);
font-size: 13px !important;
font-weight: 500;
font-weight: 500;border: none;
height: 40px;
outline: none;
flex-grow: 1;
flex: 1;
width: max-content !important;
@ -242,6 +243,7 @@ input::-webkit-inner-spin-button {
background-color: var(--DEFAULT_SELECTED_COLOR);
font-size: 13px !important;
font-weight: 500;
outline: none;border: none;
height: 40px;
width: max-content !important;
flex: 1;

View File

@ -109,6 +109,7 @@
.Btn-payment-mode {
background-color: var(--SELECTED_COLOR);
color: #ffffff;
outline: none;border: none;
font-size: 12px;
display: flex;
flex-direction: row;
@ -126,6 +127,8 @@
background-color: var(--DEFAULT_SELECTED_COLOR);
color: rgb(255, 255, 255);
font-size: 12px;
outline: none;
border: none;
cursor: pointer;
display: flex;
flex-direction: row;