Merge pull request 'Fix #23 : Enhance Product Receipt module with dynamic fields and supplier-based product loading' (#43) from feature/product-receipt-enhancement into main

Reviewed-on: Pozomind/pozo-retail-app#43
This commit is contained in:
karthikalakshmi 2026-01-30 19:16:22 +05:30
commit d201002b1c
3 changed files with 1592 additions and 1354 deletions

View File

@ -31,7 +31,7 @@ export const getInvoiceImageData = createAsyncThunk(
formData.append("file", file); // 👈 actual file here
const response = await axiosRetailOcrData.post(
"/invoiceupload",
"/invoice",
formData,
{
headers: {

File diff suppressed because it is too large Load Diff

View File

@ -36,13 +36,14 @@
}
.Product-table {
table {
border-spacing: unset;
}
}
.Product-table .ant-input {
width: 5rem !important;
width: 4rem !important;
}
.Product-table .ant-picker {
@ -202,6 +203,8 @@
flex-direction: row;
gap: 1.5rem;
padding-top: 0.5rem;
justify-content: space-between;
width: 100%;
& .field-DropDown {
width: 200px !important;
@ -299,8 +302,8 @@
}
}
.inputForm .ant-table-content {
width: 70vw;
.inputFormSTOCKFORM .ant-table-content {
width: 100% !important;
}
.pe-inward-date {
@ -334,12 +337,10 @@
}
.purchase-status-data {
margin-top: 10px;
display: flex;
align-items: center;
gap: 30px;
justify-content: flex-end;
padding: 1rem 3rem;
width: 100%;
}
@ -516,6 +517,8 @@
}
.stockformTabele {
width: 80vw;
.float-label,
.ant-select {
width: 60px !important;
@ -563,9 +566,7 @@
width: 100%;
}
.inputForm .ant-table-content {
width: 100vw;
}
.stock-input {
// width: 100vw;
@ -607,13 +608,12 @@
width: 100%;
}
.inputForm .ant-table-content {
width: 100vw;
}
.stock-input {
width: 100vw;
}
.tipsForUpload {
ul li {
font-size: 10px !important;
@ -689,14 +689,17 @@
top: 0;
opacity: 1;
}
50% {
opacity: 0.8;
}
100% {
top: calc(100% - 3px);
opacity: 1;
}
}
.preview-text-data {
display: flex;
flex-direction: column;
@ -724,6 +727,7 @@
font-weight: 500;
}
}
.loading-overlay {
position: absolute;
top: 0;
@ -761,12 +765,66 @@
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.purchase-receipt-table {
.ant-input {
padding-top: 6px !important;
}
.ant-table-cell {
padding: 5px !important;
}
}
.addallProductTBN {
border: none;
outline: none;
padding: 8px 16px;
width: max-content;
font-family: "Poppins";
font-weight: 500;
font-size: 14px;
cursor: pointer;
background-color: #1292ee;
height: max-content;
color: #fff;
border-radius: 4px;
}
.productSearchRecipt {
display: flex;
align-items: center;
flex-wrap: nowrap;
flex-direction: row-reverse;
gap: 1rem;
.ant-input-affix-wrapper {
width: 250px !important;
}
.ant-input {
padding: 3px 14px 6px 11px !important;
}
}
.finalSubmitPRBTN {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 1rem;
margin-top: 1rem;
}
.imeiSNTable {
.ant-input {
padding: 4px 4px !important;
text-align: center;
}
}