Redirect to invoice after create, not booking

This commit is contained in:
jordi fita mas 2024-04-28 22:50:56 +02:00
parent 90d8247c0f
commit f71ad2cc65
1 changed files with 0 additions and 2 deletions

View File

@ -639,8 +639,6 @@ func addInvoice(w http.ResponseWriter, r *http.Request, user *auth.User, company
}
}
tx.MustCommit(r.Context())
httplib.Redirect(w, r, "/admin/bookings", http.StatusSeeOther)
httplib.Redirect(w, r, "/admin/invoices/"+slug, http.StatusSeeOther)
}