added net weight, user, date etc. generates new document number with year as a prefix, restarts numbering every year
This commit is contained in:
@@ -360,7 +360,7 @@ export default function Main() {
|
||||
<button
|
||||
className="weight-set-btn"
|
||||
onClick={handleSetTare}
|
||||
disabled={currentWeight === null || isNaN(currentWeight)}
|
||||
disabled={currentWeight === null || isNaN(currentWeight) || selectedVehicle?.tare != null}
|
||||
>
|
||||
Set Tare
|
||||
</button>
|
||||
@@ -381,7 +381,7 @@ export default function Main() {
|
||||
<button
|
||||
className="weight-set-btn"
|
||||
onClick={handleSetGross}
|
||||
disabled={currentWeight === null || isNaN(currentWeight)}
|
||||
disabled={currentWeight === null || isNaN(currentWeight) || selectedVehicle?.gross != null}
|
||||
>
|
||||
Set Gross
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user