conflict-updated
This commit is contained in:
parent
817b4331ac
commit
139789f085
|
|
@ -18,6 +18,15 @@ export const getNotification = createAsyncThunk(
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
export const getStockDetailsByVariantName = createAsyncThunk(
|
||||||
|
'BookingData/getStockDetailsByVariantName',
|
||||||
|
async (data) => {
|
||||||
|
return await axiosRetailInstanceData.post(
|
||||||
|
`/productVariantListByname`,
|
||||||
|
data
|
||||||
|
);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
export const getLayoutCategories = createAsyncThunk(
|
export const getLayoutCategories = createAsyncThunk(
|
||||||
'BookingData/getLayoutCategories',
|
'BookingData/getLayoutCategories',
|
||||||
|
|
@ -1449,8 +1458,7 @@ export const CustomerOrderList = createAsyncThunk(
|
||||||
return await axiosRetailInstanceData.get(
|
return await axiosRetailInstanceData.get(
|
||||||
`/LastBuyProductList?compId=${CompId}&branchId=${BranchId}&appId=${AppId}&mobileNo=${MobileNo}&fromDate=${FromDate}&toDate=${ToDate}`
|
`/LastBuyProductList?compId=${CompId}&branchId=${BranchId}&appId=${AppId}&mobileNo=${MobileNo}&fromDate=${FromDate}&toDate=${ToDate}`
|
||||||
);
|
);
|
||||||
}
|
} else if (
|
||||||
else if (
|
|
||||||
AppId != null &&
|
AppId != null &&
|
||||||
AppId != undefined &&
|
AppId != undefined &&
|
||||||
CompId != null &&
|
CompId != null &&
|
||||||
|
|
|
||||||
|
|
@ -3789,40 +3789,7 @@ const BSBilling4Payment = () => {
|
||||||
</div>
|
</div>
|
||||||
</TooltipWrapper>
|
</TooltipWrapper>
|
||||||
)}
|
)}
|
||||||
{/* Customer Orders */}
|
|
||||||
{GetCustId && (
|
|
||||||
<Tooltip title="Customer Orders" isMobile={isMobile}>
|
|
||||||
{' '}
|
|
||||||
<div
|
|
||||||
className="BSBillingNav-icon-table-icon"
|
|
||||||
onClick={() => {
|
|
||||||
if (
|
|
||||||
CheckBookingStatus !== 'Close' &&
|
|
||||||
!addnewAccess &&
|
|
||||||
!(OrderCardDetail?.length > 0)
|
|
||||||
) {
|
|
||||||
setCustomerPreviesOrders(true);
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
style={{
|
|
||||||
cursor: OrderCardDetail?.length > 0 && 'not-allowed',
|
|
||||||
color:
|
|
||||||
OrderCardDetail?.length > 0 ||
|
|
||||||
(OrderCardDetail?.length > 0 &&
|
|
||||||
GetCustId?.CustMobile === undefined)
|
|
||||||
? 'gray'
|
|
||||||
: 'rgb(18, 146, 238)',
|
|
||||||
fontSize: '25px',
|
|
||||||
display: 'flex',
|
|
||||||
alignItems: 'center',
|
|
||||||
height: '2.46rem',
|
|
||||||
width: '1.5rem',
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<FaCartPlus />
|
|
||||||
</div>
|
|
||||||
</Tooltip>
|
|
||||||
)}
|
|
||||||
{OtherServicesglobal && OrderCardDetail.length >= 1 && (
|
{OtherServicesglobal && OrderCardDetail.length >= 1 && (
|
||||||
<TooltipWrapper title="Vehicle Number" isMobile={isMobile}>
|
<TooltipWrapper title="Vehicle Number" isMobile={isMobile}>
|
||||||
{' '}
|
{' '}
|
||||||
|
|
@ -3859,6 +3826,41 @@ const BSBilling4Payment = () => {
|
||||||
{/* </React.Fragment> */}
|
{/* </React.Fragment> */}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{/* Customer Orders */}
|
||||||
|
{GetCustId && (
|
||||||
|
<Tooltip title="Customer Orders" isMobile={isMobile}>
|
||||||
|
{' '}
|
||||||
|
<div
|
||||||
|
className="BSBillingNav-icon-table-icon"
|
||||||
|
onClick={() => {
|
||||||
|
if (
|
||||||
|
CheckBookingStatus !== 'Close' &&
|
||||||
|
!addnewAccess &&
|
||||||
|
!(OrderCardDetail?.length > 0)
|
||||||
|
) {
|
||||||
|
setCustomerPreviesOrders(true);
|
||||||
|
}
|
||||||
|
}}
|
||||||
|
style={{
|
||||||
|
cursor: OrderCardDetail?.length > 0 && 'not-allowed',
|
||||||
|
color:
|
||||||
|
OrderCardDetail?.length > 0 ||
|
||||||
|
(OrderCardDetail?.length > 0 &&
|
||||||
|
GetCustId?.CustMobile === undefined)
|
||||||
|
? 'gray'
|
||||||
|
: 'rgb(18, 146, 238)',
|
||||||
|
fontSize: '25px',
|
||||||
|
display: 'flex',
|
||||||
|
alignItems: 'center',
|
||||||
|
height: '2.46rem',
|
||||||
|
width: '1.5rem',
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<FaCartPlus />
|
||||||
|
</div>
|
||||||
|
</Tooltip>
|
||||||
|
)}
|
||||||
{tabledata?.length > 0 && (
|
{tabledata?.length > 0 && (
|
||||||
<div style={{ width: '2rem' }}>
|
<div style={{ width: '2rem' }}>
|
||||||
{tableOptions
|
{tableOptions
|
||||||
|
|
|
||||||
|
|
@ -815,6 +815,7 @@ function BSReprint({ setOpenModel = () => { } }) {
|
||||||
<a style={{ color: 'black' }}>{(page - 1) * 10 + index + 1}</a>
|
<a style={{ color: 'black' }}>{(page - 1) * 10 + index + 1}</a>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
title: 'Bill No',
|
title: 'Bill No',
|
||||||
dataIndex: 'BillNo',
|
dataIndex: 'BillNo',
|
||||||
|
|
@ -1420,7 +1421,7 @@ function BSReprint({ setOpenModel = () => { } }) {
|
||||||
CreatedDate={orderDetail?.CreatedDate}
|
CreatedDate={orderDetail?.CreatedDate}
|
||||||
PaymentStatus={reprintData?.[0]?.OrderPaymentDtl}
|
PaymentStatus={reprintData?.[0]?.OrderPaymentDtl}
|
||||||
Preference={SettingDataSelector}
|
Preference={SettingDataSelector}
|
||||||
|
printDatas={printDatas}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|
@ -1553,7 +1554,7 @@ function BSReprint({ setOpenModel = () => { } }) {
|
||||||
label: option.ConfigName,
|
label: option.ConfigName,
|
||||||
}))}
|
}))}
|
||||||
label={
|
label={
|
||||||
<label class="required">Reprint reason Type</label>
|
<label className="required">Reprint reason Type</label>
|
||||||
}
|
}
|
||||||
className="field-DropDown-Emp"
|
className="field-DropDown-Emp"
|
||||||
onChangeFunction={(e) => reprintReasonDropDownChange(e)}
|
onChangeFunction={(e) => reprintReasonDropDownChange(e)}
|
||||||
|
|
@ -1748,6 +1749,7 @@ function BSReprint({ setOpenModel = () => { } }) {
|
||||||
CreatedDate={orderDetail?.CreatedDate}
|
CreatedDate={orderDetail?.CreatedDate}
|
||||||
PaymentStatus={reprintData?.[0]?.OrderPaymentDtl}
|
PaymentStatus={reprintData?.[0]?.OrderPaymentDtl}
|
||||||
Preference={SettingDataSelector}
|
Preference={SettingDataSelector}
|
||||||
|
printDatas={printDatas}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|
@ -1809,6 +1811,7 @@ function BSReprint({ setOpenModel = () => { } }) {
|
||||||
CreatedDate={orderDetail?.CreatedDate}
|
CreatedDate={orderDetail?.CreatedDate}
|
||||||
PaymentStatus={reprintData?.[0]?.OrderPaymentDtl}
|
PaymentStatus={reprintData?.[0]?.OrderPaymentDtl}
|
||||||
Preference={SettingDataSelector}
|
Preference={SettingDataSelector}
|
||||||
|
printDatas={printDatas}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue