Corrected Set Booked
This commit is contained in:
@@ -132,7 +132,7 @@ const updateIncomingInvoice = async (setBooked = false) => {
|
||||
|
||||
if(item.state === "Vorbereitet" && !setBooked) {
|
||||
item.state = "Entwurf"
|
||||
} else if(item.state === "Vorbereitet" && setBooked) {
|
||||
} else if(setBooked) {
|
||||
item.state = "Gebucht"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user