feat: add receiptName field to InventoryItem model and update related DTOs and service
This commit is contained in:
@@ -162,7 +162,7 @@ export default function ReceiptImportClient() {
|
||||
productId: r.selectedProductId,
|
||||
quantity: parseFloat(r.editQty) || r.quantity,
|
||||
unit: r.editUnit,
|
||||
brand: r.rawName,
|
||||
receiptName: r.rawName,
|
||||
}),
|
||||
}),
|
||||
),
|
||||
@@ -299,4 +299,4 @@ export default function ReceiptImportClient() {
|
||||
|
||||
function primaryBtn(disabled: boolean): React.CSSProperties {
|
||||
return { padding: '0.6rem 1.25rem', background: disabled ? '#aaa' : '#0070f3', color: '#fff', border: 'none', borderRadius: '6px', cursor: disabled ? 'not-allowed' : 'pointer', fontWeight: 600, fontSize: '0.95rem' };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user