Design isued fix in all modal

This commit is contained in:
Your Name 2026-02-25 18:29:17 +05:30
parent 65eb86ffdd
commit 49017e7307
17 changed files with 825 additions and 807 deletions

View File

@ -16,6 +16,8 @@ import { TiDelete } from 'react-icons/ti';
import BSBillingEbill from '../BSBillingEwayBill/BSBillingEbill'; import BSBillingEbill from '../BSBillingEwayBill/BSBillingEbill';
import Search from '../../../../../Components/Forms/Search'; import Search from '../../../../../Components/Forms/Search';
import { IoEye } from 'react-icons/io5'; import { IoEye } from 'react-icons/io5';
// src\Styles\BookingScreen\Components\UtillComponents\BSNavBarComponents.scss
import "../../../../../Styles/BookingScreen/Components/UtillComponents/BSNavBarComponents.scss"
const { RangePicker } = DatePicker; const { RangePicker } = DatePicker;
const ListOfSalesInvoices = (props) => { const ListOfSalesInvoices = (props) => {
@ -422,16 +424,6 @@ const ListOfSalesInvoices = (props) => {
/> />
</div> </div>
</div> </div>
{/* <Button
className="BSC1Payment-HoldModel-cancleall"
type="primary"
danger
onClick={removeAll}
// onClick={() => statusFormatter(record,index)}
>
Clear All
</Button> */}
<div className="BSC1Payment-Tablediv"> <div className="BSC1Payment-Tablediv">
<Tables <Tables

View File

@ -21,6 +21,7 @@ import { TbAlertTriangleFilled } from 'react-icons/tb';
import { IoEye } from 'react-icons/io5'; import { IoEye } from 'react-icons/io5';
import { DefaultModal } from '../../../../Components/Modal/DefaultModal'; import { DefaultModal } from '../../../../Components/Modal/DefaultModal';
import { Tables } from '../../../../Components/Tables/Table'; import { Tables } from '../../../../Components/Tables/Table';
import '../../../../Styles/OverAllStyle/OverAllStyle.scss';
const NoDataComponent = () => ( const NoDataComponent = () => (
<div style={{ textAlign: 'center', padding: 20 }}> <div style={{ textAlign: 'center', padding: 20 }}>
@ -301,10 +302,12 @@ const BSExpireProductsList = () => {
</span> </span>
) : ( ) : (
(expiredList?.length > 0 || lowStockList?.length > 0) && ( (expiredList?.length > 0 || lowStockList?.length > 0) && (
<span style={{ position: 'relative', display: 'inline-block' }} onClick={onClickExpiredIcon}> <span
style={{ position: 'relative', display: 'inline-block' }}
onClick={onClickExpiredIcon}
>
<AiFillAlert <AiFillAlert
className="alert-badge stock-alert-animation" className="alert-badge stock-alert-animation"
style={{ fontSize: 23, cursor: 'pointer', color: '#ff4d4f' }} style={{ fontSize: 23, cursor: 'pointer', color: '#ff4d4f' }}
/> />
{ {
@ -341,6 +344,7 @@ const BSExpireProductsList = () => {
footer={null} // You can enable this if you want default buttons footer={null} // You can enable this if you want default buttons
width={700} width={700}
centered centered
className="LowStockAlterModal"
> >
<Messages <Messages
messageType={message.type} messageType={message.type}
@ -377,6 +381,7 @@ const BSExpireProductsList = () => {
</div> </div>
<Table <Table
className='LowStockAlterModalTable'
rowKey="InwardDtlId" rowKey="InwardDtlId"
columns={ columns={
selectedSegment === 'expired' ? expiredColumns : lowStockColumns selectedSegment === 'expired' ? expiredColumns : lowStockColumns

View File

@ -190,7 +190,15 @@ const BSNavBarDragItems = ({
{Isdragging && favopen && ( {Isdragging && favopen && (
<div className="AddFavList addfavlist-master"> <div className="AddFavList addfavlist-master">
<div className="AddFavList-subContainer"> <div className="AddFavList-subContainer">
<div style={{ display: 'flex', alignItems: 'center', gap: '5px' }}> <div
style={{
display: 'flex',
alignItems: 'center',
gap: '5px',
justifyContent: 'space-between',
width: '100%',
}}
>
<div className="DragChooseBTNs"> <div className="DragChooseBTNs">
{PurProductdata.map((item) => ( {PurProductdata.map((item) => (
<button <button

View File

@ -20,8 +20,8 @@ import { useDispatch } from 'react-redux';
import { PutStockPrice } from '../../../../Features/StockPriceUpdate/StockPriceUpdateMaster'; import { PutStockPrice } from '../../../../Features/StockPriceUpdate/StockPriceUpdateMaster';
import PriceChange from '../../../../Images/PayOptImgs/PriceChange.svg'; import PriceChange from '../../../../Images/PayOptImgs/PriceChange.svg';
import { v4 as uuidv4 } from 'uuid'; import { v4 as uuidv4 } from 'uuid';
// src\Styles\BookingScreen\Template\BSLayout2\BSLayout2.scss
import '../../../../Styles/BookingScreen/Template/BSLayout2/BSLayout2.scss'; import '../../../../Styles/BookingScreen/Template/BSLayout2/BSLayout2.scss';
import '../../../../Styles/OverAllStyle/OverAllStyle.scss';
const ProductPriceChange = ({ const ProductPriceChange = ({
showButton = true, showButton = true,

View File

@ -319,7 +319,6 @@ const BSLayout1 = () => {
const handleInvoiceClose = () => { const handleInvoiceClose = () => {
setListOfInvoices(false); setListOfInvoices(false);
}; };
// BSLayout1Data?.BookingNavbar?.[1]?.some((item) => item?.OptionName === "AddCustomer")
return ( return (
<Suspense fallback={<CardSkeleton />}> <Suspense fallback={<CardSkeleton />}>
{' '} {' '}

View File

@ -1,12 +1,4 @@
import { import { useEffect, useState, useMemo, useCallback, lazy, useRef } from 'react';
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';
@ -588,7 +580,6 @@ const SalesCountForStandard = React.memo(() => {
}; };
return ( return (
<Suspense fallback={<div>Loading...</div>}>
<div className="NewLayoutBillContainer"> <div className="NewLayoutBillContainer">
<Messages <Messages
messageType={messageType} messageType={messageType}
@ -921,8 +912,7 @@ const SalesCountForStandard = React.memo(() => {
<tr <tr
key={item.OrderId} key={item.OrderId}
style={{ style={{
backgroundColor: backgroundColor: index % 2 === 0 ? '#f7faff' : '#e9f1ff',
index % 2 === 0 ? '#f7faff' : '#e9f1ff',
textAlign: 'center', textAlign: 'center',
transition: 'background 0.3s', transition: 'background 0.3s',
}} }}
@ -1063,9 +1053,10 @@ const SalesCountForStandard = React.memo(() => {
overflow: 'hidden', overflow: 'hidden',
boxShadow: '0 2px 8px rgba(0,0,0,0.1)', boxShadow: '0 2px 8px rgba(0,0,0,0.1)',
}} }}
className='SCTableInPageSales'
> >
<thead> <thead>
<tr style={{ backgroundColor: '#003366', color: '#fff' }}> <tr style={{ backgroundColor: '#2c88ee', color: '#fff' }}>
<th <th
colSpan="2" colSpan="2"
style={{ border: '1px solid #ddd', padding: '10px' }} style={{ border: '1px solid #ddd', padding: '10px' }}
@ -1101,14 +1092,14 @@ const SalesCountForStandard = React.memo(() => {
style={{ style={{
border: '1px solid #ddd', border: '1px solid #ddd',
padding: '10px', padding: '10px',
backgroundColor: '#002244', backgroundColor: '#055ec0',
color: '#fff', color: '#fff',
}} }}
> >
Total Total
</th> </th>
</tr> </tr>
<tr style={{ backgroundColor: '#004080', color: '#fff' }}> <tr style={{ backgroundColor: '#2c88ee', color: '#fff' }}>
<th style={{ border: '1px solid #ddd', padding: '8px' }}> <th style={{ border: '1px solid #ddd', padding: '8px' }}>
Count Count
</th> </th>
@ -1154,8 +1145,7 @@ const SalesCountForStandard = React.memo(() => {
<tr <tr
key={index} key={index}
style={{ style={{
backgroundColor: backgroundColor: index % 2 === 0 ? '#f7faff' : '#ffffff',
index % 2 === 0 ? '#f7faff' : '#ffffff',
transition: 'background 0.3s', transition: 'background 0.3s',
}} }}
onMouseEnter={(e) => onMouseEnter={(e) =>
@ -1291,9 +1281,7 @@ const SalesCountForStandard = React.memo(() => {
onClose={handleModalCancel} onClose={handleModalCancel}
productDetails={modalProductDetails} productDetails={modalProductDetails}
headerData={{ headerData={{
dateTime: dateFormatChange1( dateTime: dateFormatChange1(TableData?.[SelectedIndex]?.CreatedDate),
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,
@ -1302,7 +1290,6 @@ const SalesCountForStandard = React.memo(() => {
onSubmit={handleModalSubmit} onSubmit={handleModalSubmit}
/> />
</div> </div>
</Suspense>
); );
}); });

View File

@ -743,7 +743,7 @@ const CounterCategoryMappingForm = () => {
</Form> */} </Form> */}
{CounterDetail?.length > 0 && ( {CounterDetail?.length > 0 && (
<div style={{ height: '400px', overflowY: 'scroll' }}> <div style={{ height: '400px', overflowY: 'scroll',scrollbarWidth:"thin" }}>
<Table <Table
dataSource={CounterDetail} dataSource={CounterDetail}
columns={TableColumns} columns={TableColumns}

View File

@ -3,7 +3,7 @@
// background-color: #f3f4f6; // background-color: #f3f4f6;
// padding: 1.5rem; // padding: 1.5rem;
width: 100%; width: 100%;
font-family: 'Poppins', sans-serif !important; font-family: "Poppins", sans-serif !important;
scrollbar-width: thin; scrollbar-width: thin;
height: 88vh; height: 88vh;
overflow: auto; overflow: auto;
@ -11,12 +11,10 @@
background: #fff !important; background: #fff !important;
// padding-right: 1rem; // padding-right: 1rem;
.header-title { .header-title {
font-size: 1.5rem; font-size: 1.5rem;
font-weight: 600; font-weight: 600;
padding: 0.1rem 0; padding: 0.1rem 0;
} }
.header-date-picker { .header-date-picker {
@ -59,7 +57,6 @@
color: #1d4ed8; color: #1d4ed8;
} }
.header-actions { .header-actions {
display: flex; display: flex;
gap: 0.5rem; gap: 0.5rem;
@ -88,7 +85,6 @@
// justify-content: space-between; // justify-content: space-between;
} }
.metric-controls { .metric-controls {
display: flex; display: flex;
gap: 0.5rem; gap: 0.5rem;
@ -109,10 +105,9 @@
} }
.bar-pie-switch { .bar-pie-switch {
.ant-switch-inner-checked, .ant-switch-inner-checked,
.ant-switch-inner-unchecked { .ant-switch-inner-unchecked {
font-family: 'Poppins'; font-family: "Poppins";
font-weight: 500; font-weight: 500;
} }
@ -126,7 +121,6 @@
background-color: #52c41a !important; background-color: #52c41a !important;
background: #52c41a !important; background: #52c41a !important;
} }
} }
.btn-chart-type { .btn-chart-type {
@ -196,7 +190,6 @@
border-radius: 0.5rem; border-radius: 0.5rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
padding: 1rem; padding: 1rem;
} }
.stat-card1 { .stat-card1 {
@ -472,7 +465,6 @@
align-items: center; align-items: center;
outline: none !important; outline: none !important;
.chart-data-item { .chart-data-item {
display: flex; display: flex;
align-items: center; align-items: center;
@ -497,8 +489,6 @@
// >div:nth-child(2) { // >div:nth-child(2) {
// width: 5%; // width: 5%;
// } // }
} }
} }
} }
@ -558,7 +548,6 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
gap: 10px; gap: 10px;
} }
.axis-label-wrapper { .axis-label-wrapper {
@ -629,7 +618,7 @@
position: relative; position: relative;
&::after { &::after {
content: ''; content: "";
position: absolute; position: absolute;
bottom: -4px; bottom: -4px;
left: 50%; left: 50%;
@ -750,7 +739,8 @@
.pie-legend { .pie-legend {
flex: 1 1 100%; flex: 1 1 100%;
max-width: 100%; width: 100%;
justify-content: center;
} }
} }

View File

@ -228,16 +228,13 @@
background-color: #e9e8e8 !important; background-color: #e9e8e8 !important;
border: none; border: none;
} }
//dhana
// height: clamp(30vh, 50vh, 95vh);
} }
// writed by sree
.ItemWiseReport-table1 { .ItemWiseReport-table1 {
overflow: auto; overflow: auto;
height: clamp(40vh, 30vh, 95vh); height: clamp(40vh, 30vh, 95vh);
width: 79vw !important; width: 79vw !important;
scrollbar-width: thin;
} }
.ItemWiseReport-table .ant-table-thead tr .ant-table-cell { .ItemWiseReport-table .ant-table-thead tr .ant-table-cell {

View File

@ -84,6 +84,15 @@
.BsnavbarSearchMain { .BsnavbarSearchMain {
width: 25vw; width: 25vw;
position: relative; position: relative;
.BarCodeScanMaster {
position: absolute;
right: 0;
padding: 0 !important;
top: 30%;
svg {
font-size: 20px !important;
}
}
.searchDiv .ant-input { .searchDiv .ant-input {
color: #fff !important; color: #fff !important;

View File

@ -296,7 +296,7 @@
} }
.BSC1Payment-Tablediv .ant-table-wrapper .ant-table-thead > tr > th { .BSC1Payment-Tablediv .ant-table-wrapper .ant-table-thead > tr > th {
color: black !important; color: rgb(255, 255, 255) !important;
font-weight: 600 !important; font-weight: 600 !important;
font-size: 14px; font-size: 14px;
} }
@ -325,9 +325,7 @@
box-shadow: unset !important; box-shadow: unset !important;
} }
.ant-select:not(.ant-select-customize-input) .ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input {
.ant-select-selector
.ant-select-selection-search-input {
bottom: 14px; bottom: 14px;
} }

View File

@ -469,3 +469,15 @@ body {
font-size: 14px; font-size: 14px;
background-color: rgb(240, 240, 240); background-color: rgb(240, 240, 240);
} }
.SCTableInPageSales {
th {
font-weight: 500;
text-transform: uppercase;
font-size: 12px !important;
letter-spacing: 0.1px;
}
td {
font-weight: 500 !important;
font-family: "Poppins" !important;
}
}

View File

@ -851,6 +851,9 @@
} }
.price-change-table { .price-change-table {
.ant-table-thead tr {
background-color: #2c88ee !important;
}
.ant-form-item { .ant-form-item {
margin-bottom: 0 !important; margin-bottom: 0 !important;
} }
@ -1634,3 +1637,17 @@ table {
} }
} }
} }
.LowStockAlterModal {
.ant-input-affix-wrapper {
width: 300px !important;
}
.ant-input {
padding: 5px 14px 6px 11px !important;
}
}
.LowStockAlterModalTable {
margin-top: 1rem;
.ant-table-thead tr {
background-color: #2c88ee !important;
}
}

View File

@ -204,3 +204,8 @@
.printer-settings-tabs { .printer-settings-tabs {
font-family: "Poppins"; font-family: "Poppins";
} }
.PrinterSettingTab {
.ant-tabs-tab-active {
background-color: #2c5282 !important;
}
}

View File

@ -8,7 +8,8 @@
flex-grow: 1; flex-grow: 1;
width: 100%; width: 100%;
height: 40vh; height: 40vh;
overflow: scroll; overflow: auto;
scrollbar-width: thin;
} }
.DateWiseReport-denomination { .DateWiseReport-denomination {

View File

@ -229,15 +229,13 @@
border: none; border: none;
} }
//dhana
// height: clamp(30vh, 50vh, 95vh);
} }
// writed by sree
.ItemWiseReport-table1 { .ItemWiseReport-table1 {
overflow: auto; overflow: auto;
height: clamp(40vh, 30vh, 95vh); height: clamp(40vh, 30vh, 95vh);
width: 79vw !important; width: 79vw !important;
scrollbar-width: thin;
} }
.ItemWiseReport-table .ant-table-thead tr .ant-table-cell { .ItemWiseReport-table .ant-table-thead tr .ant-table-cell {