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:
commit
d201002b1c
|
|
@ -31,7 +31,7 @@ export const getInvoiceImageData = createAsyncThunk(
|
||||||
formData.append("file", file); // 👈 actual file here
|
formData.append("file", file); // 👈 actual file here
|
||||||
|
|
||||||
const response = await axiosRetailOcrData.post(
|
const response = await axiosRetailOcrData.post(
|
||||||
"/invoiceupload",
|
"/invoice",
|
||||||
formData,
|
formData,
|
||||||
{
|
{
|
||||||
headers: {
|
headers: {
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -36,13 +36,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.Product-table {
|
.Product-table {
|
||||||
|
|
||||||
table {
|
table {
|
||||||
border-spacing: unset;
|
border-spacing: unset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.Product-table .ant-input {
|
.Product-table .ant-input {
|
||||||
width: 5rem !important;
|
width: 4rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Product-table .ant-picker {
|
.Product-table .ant-picker {
|
||||||
|
|
@ -202,6 +203,8 @@
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
gap: 1.5rem;
|
gap: 1.5rem;
|
||||||
padding-top: 0.5rem;
|
padding-top: 0.5rem;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
& .field-DropDown {
|
& .field-DropDown {
|
||||||
width: 200px !important;
|
width: 200px !important;
|
||||||
|
|
@ -299,8 +302,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.inputForm .ant-table-content {
|
.inputFormSTOCKFORM .ant-table-content {
|
||||||
width: 70vw;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pe-inward-date {
|
.pe-inward-date {
|
||||||
|
|
@ -334,12 +337,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.purchase-status-data {
|
.purchase-status-data {
|
||||||
margin-top: 10px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 30px;
|
gap: 30px;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
padding: 1rem 3rem;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -516,6 +517,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.stockformTabele {
|
.stockformTabele {
|
||||||
|
width: 80vw;
|
||||||
|
|
||||||
.float-label,
|
.float-label,
|
||||||
.ant-select {
|
.ant-select {
|
||||||
width: 60px !important;
|
width: 60px !important;
|
||||||
|
|
@ -563,9 +566,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inputForm .ant-table-content {
|
|
||||||
width: 100vw;
|
|
||||||
}
|
|
||||||
|
|
||||||
.stock-input {
|
.stock-input {
|
||||||
// width: 100vw;
|
// width: 100vw;
|
||||||
|
|
@ -607,13 +608,12 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inputForm .ant-table-content {
|
|
||||||
width: 100vw;
|
|
||||||
}
|
|
||||||
|
|
||||||
.stock-input {
|
.stock-input {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tipsForUpload {
|
.tipsForUpload {
|
||||||
ul li {
|
ul li {
|
||||||
font-size: 10px !important;
|
font-size: 10px !important;
|
||||||
|
|
@ -689,14 +689,17 @@
|
||||||
top: 0;
|
top: 0;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
50% {
|
50% {
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
top: calc(100% - 3px);
|
top: calc(100% - 3px);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.preview-text-data {
|
.preview-text-data {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
@ -724,6 +727,7 @@
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.loading-overlay {
|
.loading-overlay {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
@ -761,12 +765,66 @@
|
||||||
0% {
|
0% {
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
transform: rotate(360deg);
|
transform: rotate(360deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.purchase-receipt-table {
|
.purchase-receipt-table {
|
||||||
.ant-input {
|
.ant-input {
|
||||||
padding-top: 6px !important;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue