Redirect to invoice after create, not booking
This commit is contained in:
parent
90d8247c0f
commit
f71ad2cc65
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue