after resolve conflicts
This commit is contained in:
parent
76c6d44ef3
commit
bdd9ea7a39
|
|
@ -1,4 +1,12 @@
|
||||||
import { useEffect, useState, useMemo, useCallback, lazy } from 'react';
|
import {
|
||||||
|
useEffect,
|
||||||
|
useState,
|
||||||
|
useMemo,
|
||||||
|
useCallback,
|
||||||
|
lazy,
|
||||||
|
Suspense,
|
||||||
|
useRef,
|
||||||
|
} from 'react';
|
||||||
import { useSelector, useDispatch } from 'react-redux';
|
import { useSelector, useDispatch } from 'react-redux';
|
||||||
import { FaChartLine, FaRupeeSign } from 'react-icons/fa';
|
import { FaChartLine, FaRupeeSign } from 'react-icons/fa';
|
||||||
import { Badge, Popconfirm, Tooltip } from 'antd';
|
import { Badge, Popconfirm, Tooltip } from 'antd';
|
||||||
|
|
@ -8,6 +16,7 @@ import {
|
||||||
getCardDataWithoutSub,
|
getCardDataWithoutSub,
|
||||||
getCardDataWithoutSubmodule,
|
getCardDataWithoutSubmodule,
|
||||||
getLayoutproductCard,
|
getLayoutproductCard,
|
||||||
|
getPreferenceData,
|
||||||
getSelectedFavItems,
|
getSelectedFavItems,
|
||||||
GlobalOrderStatus,
|
GlobalOrderStatus,
|
||||||
GlobalOtherSevices,
|
GlobalOtherSevices,
|
||||||
|
|
@ -579,6 +588,7 @@ const SalesCountForStandard = React.memo(() => {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<Suspense fallback={<div>Loading...</div>}>
|
||||||
<div className="NewLayoutBillContainer">
|
<div className="NewLayoutBillContainer">
|
||||||
<Messages
|
<Messages
|
||||||
messageType={messageType}
|
messageType={messageType}
|
||||||
|
|
@ -911,7 +921,8 @@ const SalesCountForStandard = React.memo(() => {
|
||||||
<tr
|
<tr
|
||||||
key={item.OrderId}
|
key={item.OrderId}
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: index % 2 === 0 ? '#f7faff' : '#e9f1ff',
|
backgroundColor:
|
||||||
|
index % 2 === 0 ? '#f7faff' : '#e9f1ff',
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
transition: 'background 0.3s',
|
transition: 'background 0.3s',
|
||||||
}}
|
}}
|
||||||
|
|
@ -1143,7 +1154,8 @@ const SalesCountForStandard = React.memo(() => {
|
||||||
<tr
|
<tr
|
||||||
key={index}
|
key={index}
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: index % 2 === 0 ? '#f7faff' : '#ffffff',
|
backgroundColor:
|
||||||
|
index % 2 === 0 ? '#f7faff' : '#ffffff',
|
||||||
transition: 'background 0.3s',
|
transition: 'background 0.3s',
|
||||||
}}
|
}}
|
||||||
onMouseEnter={(e) =>
|
onMouseEnter={(e) =>
|
||||||
|
|
@ -1279,7 +1291,9 @@ const SalesCountForStandard = React.memo(() => {
|
||||||
onClose={handleModalCancel}
|
onClose={handleModalCancel}
|
||||||
productDetails={modalProductDetails}
|
productDetails={modalProductDetails}
|
||||||
headerData={{
|
headerData={{
|
||||||
dateTime: dateFormatChange1(TableData?.[SelectedIndex]?.CreatedDate),
|
dateTime: dateFormatChange1(
|
||||||
|
TableData?.[SelectedIndex]?.CreatedDate
|
||||||
|
),
|
||||||
fromBranch: TableData?.[SelectedIndex]?.FromBranchName,
|
fromBranch: TableData?.[SelectedIndex]?.FromBranchName,
|
||||||
Dispatch_Id: TableData?.[SelectedIndex]?.DispatchId,
|
Dispatch_Id: TableData?.[SelectedIndex]?.DispatchId,
|
||||||
Created_By: TableData?.[SelectedIndex]?.Created_By,
|
Created_By: TableData?.[SelectedIndex]?.Created_By,
|
||||||
|
|
@ -1288,6 +1302,7 @@ const SalesCountForStandard = React.memo(() => {
|
||||||
onSubmit={handleModalSubmit}
|
onSubmit={handleModalSubmit}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
</Suspense>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.BSItemCard-master-container {
|
.BSItemCard-master-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
@ -162,6 +163,7 @@
|
||||||
column-gap: 0.3rem;
|
column-gap: 0.3rem;
|
||||||
row-gap: 0.5rem;
|
row-gap: 0.5rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
// vicky
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -239,6 +241,7 @@
|
||||||
column-gap: 0.5rem !important;
|
column-gap: 0.5rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.ant-modal .ant-modal-content {
|
.ant-modal .ant-modal-content {
|
||||||
padding: 1rem !important;
|
padding: 1rem !important;
|
||||||
}
|
}
|
||||||
|
|
@ -266,9 +269,12 @@
|
||||||
|
|
||||||
.BSItemCard-itemPrice {
|
.BSItemCard-itemPrice {
|
||||||
font-size: 9px !important;
|
font-size: 9px !important;
|
||||||
|
//nk
|
||||||
width: 60px !important;
|
width: 60px !important;
|
||||||
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//nk
|
||||||
.qtyUomName-itemCard {
|
.qtyUomName-itemCard {
|
||||||
width: 78px !important;
|
width: 78px !important;
|
||||||
}
|
}
|
||||||
|
|
@ -309,7 +315,9 @@
|
||||||
.BSItemCard-master-container {
|
.BSItemCard-master-container {
|
||||||
padding: 0px 0px;
|
padding: 0px 0px;
|
||||||
justify-content: center !important;
|
justify-content: center !important;
|
||||||
|
// padding-bottom: 10rem !important;
|
||||||
padding-bottom: 1rem !important;
|
padding-bottom: 1rem !important;
|
||||||
|
// column-gap: 0.1rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.BSItemCard-container {
|
.BSItemCard-container {
|
||||||
|
|
@ -325,6 +333,7 @@
|
||||||
width: 8rem !important;
|
width: 8rem !important;
|
||||||
height: 6rem !important;
|
height: 6rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.BSItemCard-itemName {
|
.BSItemCard-itemName {
|
||||||
width: 60px !important;
|
width: 60px !important;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
|
|
@ -335,10 +344,12 @@
|
||||||
.bs-item-card-masterdiv {
|
.bs-item-card-masterdiv {
|
||||||
height: inherit;
|
height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 500px) and (max-width: 767px) {
|
@media (min-width: 500px) and (max-width: 767px) {
|
||||||
.bs-item-card-masterdiv {
|
.bs-item-card-masterdiv {
|
||||||
|
// height: 77vh !important;
|
||||||
height: inherit;
|
height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -352,6 +363,7 @@
|
||||||
|
|
||||||
@media (min-width: 280px) and (max-width: 499px) {
|
@media (min-width: 280px) and (max-width: 499px) {
|
||||||
.bs-item-card-masterdiv {
|
.bs-item-card-masterdiv {
|
||||||
|
// height: 60vh !important;
|
||||||
height: inherit;
|
height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -362,6 +374,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.QRStockchange-table thead {
|
.QRStockchange-table thead {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
@ -393,7 +406,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.BkPrdCardDeActive {
|
.BkPrdCardDeActive {
|
||||||
|
// pointer-events: none;
|
||||||
border: 1px solid #f10000;
|
border: 1px solid #f10000;
|
||||||
|
|
||||||
|
// border-radius: 8px;
|
||||||
.BSItemCard-container-smallimage {
|
.BSItemCard-container-smallimage {
|
||||||
width: 10.9rem;
|
width: 10.9rem;
|
||||||
}
|
}
|
||||||
|
|
@ -496,6 +512,7 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
column-gap: 0.1rem;
|
column-gap: 0.1rem;
|
||||||
|
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -505,19 +522,6 @@
|
||||||
font-family: "Gilroy";
|
font-family: "Gilroy";
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.qtyprice {
|
|
||||||
font-size: 16px;
|
|
||||||
background-color: var(--DEFAULT_SELECTED_COLOR);
|
|
||||||
color: #fff;
|
|
||||||
// padding: 0rem 2rem;
|
|
||||||
width: 105px;
|
|
||||||
display: flex;
|
|
||||||
font-family: var(--PARA_FONT_FAMILY);
|
|
||||||
justify-content: center;
|
|
||||||
text-align: center;
|
|
||||||
border-bottom-left-radius: 6px;
|
|
||||||
border-bottom-right-radius: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
//nk
|
//nk
|
||||||
.qtyUomName-itemCard {
|
.qtyUomName-itemCard {
|
||||||
|
|
@ -531,6 +535,20 @@
|
||||||
width: 105px;
|
width: 105px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.qtyprice {
|
||||||
|
font-size: 16px;
|
||||||
|
background-color: var(--DEFAULT_SELECTED_COLOR);
|
||||||
|
color: #fff;
|
||||||
|
// padding: 0rem 2rem;
|
||||||
|
width: 105px;
|
||||||
|
display: flex;
|
||||||
|
font-family: var(--PARA_FONT_FAMILY);
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
|
border-bottom-left-radius: 6px;
|
||||||
|
border-bottom-right-radius: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
.Card-modal-table .ant-pagination {
|
.Card-modal-table .ant-pagination {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
@ -800,6 +818,8 @@
|
||||||
|
|
||||||
.Payment-loader1 {
|
.Payment-loader1 {
|
||||||
.Payment-loader {
|
.Payment-loader {
|
||||||
|
|
||||||
|
// column-gap: 1rem;
|
||||||
.contener_mixte {
|
.contener_mixte {
|
||||||
top: 5px;
|
top: 5px;
|
||||||
right: 12rem;
|
right: 12rem;
|
||||||
|
|
@ -810,26 +830,28 @@
|
||||||
.EditQuantity-Master {
|
.EditQuantity-Master {
|
||||||
.Re-Print-table {
|
.Re-Print-table {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
scrollbar-width: none;
|
|
||||||
}
|
|
||||||
.ant-table-thead tr {
|
|
||||||
background-color: #1292ee !important;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.webkit-ul {
|
.webkit-ul {
|
||||||
height: 35vh;
|
height: 35vh;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
||||||
|
/* Firefox */
|
||||||
scrollbar-width: thin;
|
scrollbar-width: thin;
|
||||||
|
/* Options: auto | thin | none */
|
||||||
scrollbar-color: #c1c1c1 transparent;
|
scrollbar-color: #c1c1c1 transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* WebKit Browsers: Chrome, Edge, Safari */
|
||||||
.webkit-ul::-webkit-scrollbar {
|
.webkit-ul::-webkit-scrollbar {
|
||||||
width: 25px;
|
width: 25px;
|
||||||
|
/* Adjust width as needed */
|
||||||
}
|
}
|
||||||
|
|
||||||
.webkit-ul::-webkit-scrollbar-track {
|
.webkit-ul::-webkit-scrollbar-track {
|
||||||
background: #f0f0f0;
|
background: #f0f0f0;
|
||||||
|
/* Optional: add contrast to track */
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -837,6 +859,7 @@
|
||||||
background-color: #c1c1c1;
|
background-color: #c1c1c1;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
border: 6px solid transparent;
|
border: 6px solid transparent;
|
||||||
|
/* Adjust for padding inside thumb */
|
||||||
background-clip: content-box;
|
background-clip: content-box;
|
||||||
transition: background-color 0.3s ease;
|
transition: background-color 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
@ -999,6 +1022,7 @@
|
||||||
gap: 1.7rem !important;
|
gap: 1.7rem !important;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
scrollbar-width: none;
|
||||||
|
|
||||||
@media (max-width: 500px) {
|
@media (max-width: 500px) {
|
||||||
gap: 0.5rem !important;
|
gap: 0.5rem !important;
|
||||||
|
|
@ -1088,12 +1112,21 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.booked-text {
|
.booked-text {
|
||||||
|
// color: #070;
|
||||||
color: rgb(241, 16, 16);
|
color: rgb(241, 16, 16);
|
||||||
|
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
cursor: not-allowed !important;
|
cursor: not-allowed !important;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .Available-text{
|
||||||
|
// color: rgb(41, 201, 41);
|
||||||
|
// font-weight: 600;
|
||||||
|
// cursor: not-allowed !important;
|
||||||
|
// margin-top: 4px;
|
||||||
|
// }
|
||||||
|
|
||||||
.slot-btn.incart {
|
.slot-btn.incart {
|
||||||
background: #ffe066;
|
background: #ffe066;
|
||||||
color: #222;
|
color: #222;
|
||||||
|
|
@ -1631,6 +1664,7 @@
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
border-color: #f44336;
|
border-color: #f44336;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #c90b0b;
|
color: #c90b0b;
|
||||||
background-color: #ffff;
|
background-color: #ffff;
|
||||||
|
|
@ -1647,6 +1681,7 @@
|
||||||
background-color: #ffe8bf;
|
background-color: #ffe8bf;
|
||||||
color: #5f4204;
|
color: #5f4204;
|
||||||
border-color: #ff9800;
|
border-color: #ff9800;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: #5f4204;
|
background-color: #5f4204;
|
||||||
color: #ffe8bf;
|
color: #ffe8bf;
|
||||||
|
|
@ -1658,6 +1693,10 @@
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
border-color: #31a0f0;
|
border-color: #31a0f0;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
// &:hover{
|
||||||
|
// color:#148498;
|
||||||
|
// background-color: #fff;
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
&.selected {
|
&.selected {
|
||||||
|
|
@ -2221,9 +2260,11 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 270px;
|
height: 270px;
|
||||||
width: 195px;
|
width: 195px;
|
||||||
|
// background-color: #fff;
|
||||||
border-radius: 0.75rem;
|
border-radius: 0.75rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
// justify-content: space-between;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
position: relative;
|
position: relative;
|
||||||
border: 2px solid rgba(0, 0, 0, 0.3);
|
border: 2px solid rgba(0, 0, 0, 0.3);
|
||||||
|
|
@ -2231,6 +2272,7 @@
|
||||||
|
|
||||||
.voiceToTextIcon {
|
.voiceToTextIcon {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
// width: max-content;
|
||||||
top: 7px;
|
top: 7px;
|
||||||
left: 10px;
|
left: 10px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue