updated the columns for transactions

This commit is contained in:
csawatzky 2025-04-08 14:39:24 -06:00
parent 97bbd41492
commit d3431f5559
4 changed files with 36 additions and 47 deletions

View file

@ -424,7 +424,6 @@ export default function BinSettings(props: Props) {
};
const updateBin = () => {
console.log("bin settings update")
// If initial moisture is updated, so does the timestamp
if (form.inventory?.initialMoisture !== bin?.settings.inventory?.initialMoisture) {
if (form.inventory) form.inventory.initialTimestamp = moment().format();
@ -451,7 +450,6 @@ export default function BinSettings(props: Props) {
form.lowTemp = lowTempC;
form.autoGrainNode = autoTopNode;
if (form.inventory) form.inventory.inventoryControl = inventoryControl;
console.log("bin api update")
binAPI
.updateBin(bin.key(), form)
.then(response => {
@ -839,7 +837,6 @@ export default function BinSettings(props: Props) {
row
value={inventoryControl}
onChange={(_, value) => {
console.log(value);
setInventoryControl(+value);
}}>
<FormControlLabel